/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: hsl(197, 100%, 11%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(25, 100%, 50%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --success: hsl(142, 71%, 45%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --foreground: hsl(197, 100%, 11%);
    --background: hsl(0, 0%, 100%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(197, 100%, 11%);
    --border: hsl(214.3, 31.8%, 91.4%);

    /* Shadows */
    --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-card-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-button: 0 2px 4px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: #fff;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary);
}

/* Mobile Menu Button - CORRIGIDO */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--foreground);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Estados do menu hamburguer - CORRIGIDO */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu - CORRIGIDO */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.nav-mobile .nav-link {
    padding: 0.75rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.nav-mobile .nav-link:hover {
    background: var(--muted);
    color: var(--secondary);
}

/* Header Actions - CORRIGIDO */
.header-actions {
    display: none;
    align-items: center;
}

.header-actions .btn {
    margin-left: 1rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .header-actions {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .header-content {
        position: relative;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-lg {
    height: 56px;
    padding: 0 2.5rem;
    font-size: 1rem;
}

.btn-default {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-button);
}

.btn-default:hover {
    background: hsl(197, 100%, 15%);
}

.btn-hero {
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 4px 12px rgba(254, 106, 0, 0.3);
}

.btn-hero:hover {
    background: hsl(25, 100%, 45%);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.icon {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, hsl(197, 100%, 11%) 0%, hsl(197, 80%, 20%) 100%);
    color: var(--primary-foreground);
    padding: 120px 1rem 120px;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.text-secondary {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badge {
    display: inline-block;
    background: rgba(3, 51, 66, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(254, 106, 0, 0.3);
}

.trust-badge .bold {
    font-weight: 700;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Sections */
.section {
    padding: 40px 1rem;
}

.bg-muted {
    background-color: var(--muted);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 768px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

.grid-2-lg {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2-lg {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease;
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.card-center {
    text-align: center;
}

.card-icon-wrapper {
    display: flex;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.bg-destructive {
    background: hsla(0, 84.2%, 60.2%, 0.1);
    color: var(--destructive);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
    color: var(--card-foreground);
}

.card-description {
    color: var(--muted-foreground);
}

/* Solution Icons */
.solution-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s;
}

.card:hover .solution-icon {
    transform: scale(1.1);
}

.solution-icon.bg-blue {
    background: rgba(59, 130, 246, 0.1);
    color: rgb(59, 130, 246);
}

.solution-icon.bg-purple {
    background: rgba(168, 85, 247, 0.1);
    color: rgb(168, 85, 247);
}

.solution-icon.bg-green {
    background: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
}

.solution-icon.bg-orange {
    background: rgba(254, 106, 0, 0.1);
    color: var(--secondary);
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.benefit-item p {
    font-size: 1.125rem;
}

/* Video Container */
.video-container {
    position: relative;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, hsl(197, 100%, 11%) 0%, hsl(197, 80%, 20%) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: var(--shadow-card-hover);
    border: 4px solid rgba(254, 106, 0, 0.2);
    color: white;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(254, 106, 0, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg {
    width: 40px;
    height: 40px;
    color: var(--secondary);
}

.video-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.video-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.decorative-top {
    width: 96px;
    height: 96px;
    background: rgba(254, 106, 0, 0.1);
    top: -1rem;
    right: -1rem;
}

.decorative-bottom {
    width: 128px;
    height: 128px;
    background: rgba(3, 51, 66, 0.1);
    bottom: -1rem;
    left: -1rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: scale(1.05);
}

.pricing-featured {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(254, 106, 0, 0.3);
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
}

.price-period {
    color: var(--muted-foreground);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-check svg {
    width: 14px;
    height: 14px;
}

.feature-item span {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Section */
/* Accordion */
.faq-container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  overflow: hidden; /* evita “estalos” na animação */
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  color: var(--card-foreground);
}

.accordion-trigger:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

.chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s; }
.accordion-item.active .chevron { transform: rotate(180deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  will-change: max-height;
}

.accordion-inner {
  padding: 0 1.5rem 1.5rem; /* garante espaçamento mesmo se não for <p> */
  color: var(--muted-foreground);
  line-height: 1.6;
}

:root { --acc-gutter: 1.35rem; }

.accordion-content > * {
  padding-inline-start: var(--acc-gutter);
  padding-inline-end: var(--acc-gutter);
}

.accordion-content > p {
  padding-block-end: 1.25rem; /* espaço inferior */
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 1rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: auto;
    width: 150px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-item p {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white;
}

.social-link:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
}

.footer-tagline {
    opacity: 0.6;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Button no mobile */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    /* Garantir que o menu mobile fique acima de tudo */
    .mobile-menu {
        z-index: 1002;
    }
}

/* Header - CORREÇÕES ESPECÍFICAS */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

/* Mobile Menu Button - CORREÇÃO CRÍTICA */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--foreground);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Estados do menu hamburguer - CORRETO */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header Actions - CORREÇÃO DO BOTÃO */
.header-actions {
    display: none;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

/* ==========================
   CORREÇÕES RESPONSIVAS - APENAS O NECESSÁRIO
========================== */

/* Desktop */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .header-actions {
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex !important;
    }

    .header-actions {
        display: none;
    }

    .nav-desktop {
        display: none;
    }

    /* Garantir que o botão CTA no header seja escondido no mobile */
    .header-content .btn.btn-hero.btn-lg {
        display: none;
    }
}

/* Botão no Hero - CORREÇÃO ESPECÍFICA */
.btn-hero {
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 4px 12px rgba(254, 106, 0, 0.3);
    white-space: normal;
    text-align: center;
}

.btn-lg {
    height: auto;
    min-height: 56px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Ajuste para o botão no hero em mobile */
@media (max-width: 767px) {
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* CORREÇÃO DIRETA DO BOTÃO NO HEADER */
.header-content .btn.btn-hero.btn-lg {
    display: inline-flex !important;
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 4px 12px rgba(254, 106, 0, 0.3);
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    height: 44px;
    align-items: center;
}

/* Desktop */
@media (min-width: 768px) {
    .header-content .btn.btn-hero.btn-lg {
        display: inline-flex !important;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .header-content .btn.btn-hero.btn-lg {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }
}

/* Header Actions - CORREÇÃO DO BOTÃO NO HEADER */
.header-actions {
    display: none;
}

/* Botão CTA no Header - CORREÇÃO CRÍTICA */
.header .btn.btn-hero.btn-lg {
    display: inline-flex;
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 4px 12px rgba(254, 106, 0, 0.3);
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    height: auto;
}

/* ==========================
   CORREÇÕES RESPONSIVAS - BOTÃO NO HEADER
========================== */

/* Desktop - MOSTRAR botão no header */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    /* MOSTRAR o botão no header no desktop */
    .header .btn.btn-hero.btn-lg {
        display: inline-flex !important;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* Mobile - ESCONDER botão no header */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex !important;
    }

    /* ESCONDER o botão no header no mobile */
    .header .btn.btn-hero.btn-lg {
        display: none !important;
    }

    .nav-desktop {
        display: none;
    }
}

/* Header Actions - CORREÇÃO DO BOTÃO NO HEADER */
.header-actions {
    display: none;
}

/* Botão CTA no Header - CORREÇÃO CRÍTICA */
.header .btn.btn-hero.btn-lg {
    display: inline-flex;
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 4px 12px rgba(254, 106, 0, 0.3);
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    height: auto;
}

/* ==========================
   CORREÇÕES RESPONSIVAS - BOTÃO NO HEADER
========================== */

/* Desktop - MOSTRAR botão no header */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    /* MOSTRAR o botão no header no desktop */
    .header .btn.btn-hero.btn-lg {
        display: inline-flex !important;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* Mobile - ESCONDER botão no header */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex !important;
    }

    /* ESCONDER o botão no header no mobile */
    .header .btn.btn-hero.btn-lg {
        display: none !important;
    }

    .nav-desktop {
        display: none;
    }
}

/* === FORÇA O CTA DO HEADER NO MOBILE A APARECER === */
@media (max-width: 767px) {
  .header .btn.btn-hero.btn-lg {
    display: inline-flex !important;   /* sobrescreve os "display:none" anteriores */
    height: 40px;
    padding: 0 0.9rem;
    font-size: 0.85rem;
    border-radius: 0.6rem;
    align-items: center;
    white-space: nowrap;
  }

  /* pequeno ajuste de layout para não colidir com o hambúrguer */
  .header-content { gap: .5rem; }
  .logo img { height: 42px; } /* opcional: deixa o header respirar melhor no mobile */
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    z-index: 1000;
    border: none;
    outline: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse-whatsapp 2s infinite;
    overflow: hidden;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    animation: none; /* Para a animação ao passar o mouse */
}

/* Imagem do WhatsApp */
.whatsapp-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1); /* Torna o ícone branco */
    transition: transform 0.3s;
}

.floating-btn:hover .whatsapp-icon {
    transform: scale(1.1);
}

/* Efeito de piscar com cores do WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
}

.tooltip {
    position: absolute;
    bottom: 85px;
    right: 0;
    background: #128C7E;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    width: 180px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    font-weight: 500;
}

.tooltip:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #128C7E transparent transparent;
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Versão alternativa com SVG incorporado */
.floating-btn.alternative {
    background: #25D366;
}

.whatsapp-svg {
    width: 40px;
    height: 40px;
    fill: white;
}

/* Para dispositivos móveis */
@media (max-width: 768px) {
    .floating-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 35px;
        height: 35px;
    }

    .tooltip {
        bottom: 75px;
        width: 160px;
        font-size: 13px;
    }
}