@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* Paleta da marca (ver assets/img/brand/ e MARCA_COR_* no settings.py):
   petróleo #10889d do wordmark + laranja #10889d do símbolo. Os tons abaixo são
   derivados desses dois — nada de cor solta fora da família. */
:root {
    --brand: #10889d;
    --brand-light: #3fb5c9;
    --brand-deep: #09364c;

    --primary: #09364c;
    --secondary: #2c4e60;
    --accent: #10889d;
    --accent-hover: #0d7285;
    --accent-soft: #4fbbce;
    --accent-glow: rgba(16, 136, 157, 0.25);
    --gold: #f59e0b;
    --text-main: #0e3345;
    --text-muted: #5c7885;
    --bg-light: #f5fafb;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.78);
    --glass-dark: rgba(4, 38, 47, 0.6);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius: 20px;
    --radius-lg: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary);
}

h1 { line-height: 1.05; }
h2 {
    font-size: clamp(1.95rem, 1.25rem + 2.6vw, 2.85rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #4FC3DA 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: clamp(60px, 7vw, 96px) 0;
}

/* Foco visível: o anel acompanha a marca e sobrevive a fundo claro e escuro. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-soft);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--glass);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.header-scrolled {
    height: 65px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent);
}

.cta-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.cta-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.cta-btn.accent {
    background-color: var(--accent);
}

.cta-btn.accent:hover {
    background-color: var(--accent-hover);
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #09364c 0%, #0e3345 60%, #09364c 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 136, 157, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    gap: 4rem;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    z-index: 2;
}

.hero-content {
    flex: 1.1;
    min-width: 350px;
    z-index: 20;
}

.hero-content h1 {
    font-size: 3.75rem;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content .text-gradient {
    background: linear-gradient(135deg, #4FC3DA 0%, #9BE6F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image-wrapper {
    flex: 0.9;
    min-width: 350px;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-mosaic {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    z-index: 1;
    opacity: 0.4;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Mosaico no Hero */
.hero-mosaic {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    z-index: -1;
    opacity: 0.6;
}

.mosaic-item {
    width: 140px;
    height: 90px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transform: rotate(-10deg);
}

.mosaic-item:nth-child(2) { transform: rotate(15deg) translateY(20px); }
.mosaic-item:nth-child(3) { transform: rotate(-5deg) translateX(-10px); }
.mosaic-item:nth-child(4) { transform: rotate(5deg) translateY(-10px); }

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 10;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s;
}

.hero-image:hover img {
    transform: translateY(-5px);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 136, 157, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 60px 60px 0 0;
}

.pricing h2, .pricing .section-tag {
    color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: scale(1.05);
}

.price-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

/* Só o sufixo do período encolhe. Este seletor já foi `.price span`, e quando o
   valor passou a ser um <span> ele encolheu junto: o preço caiu de 3rem para
   1rem e ficou MENOR que o "de" riscado ao lado. */
.price .price-periodo {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.6;
}

.price-features {
    list-style: none;
    margin-bottom: 3rem;
}

.price-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-features li i {
    color: var(--accent);
}

.price-card .cta-btn {
    margin-top: auto;
    text-align: center;
}

/* Footer */
footer {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-links a {
    color: var(--secondary);
    font-size: 1.25rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent);
}

/* Steps / How it Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    position: relative;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(16, 136, 157, 0.3);
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
}
.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 136, 157, 0.1);
    color: var(--accent);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* 3D Circular Carousel */
.carousel-3d-container {
    padding: 120px 0;
    perspective: 2000px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.carousel-3d {
    width: 320px;
    height: 220px;
    position: relative;
    margin: 100px auto;
    transform-style: preserve-3d;
    animation: rotateCarousel 30s linear infinite;
}

@keyframes rotateCarousel {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.carousel-item {
    position: absolute;
    width: 320px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s, filter 0.5s;
    backface-visibility: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item:nth-child(1) { transform: rotateY(0deg) translateZ(450px); }
.carousel-item:nth-child(2) { transform: rotateY(72deg) translateZ(450px); }
.carousel-item:nth-child(3) { transform: rotateY(144deg) translateZ(450px); }
.carousel-item:nth-child(4) { transform: rotateY(216deg) translateZ(450px); }
.carousel-item:nth-child(5) { transform: rotateY(288deg) translateZ(450px); }

.carousel-3d:hover {
    animation-play-state: paused;
}

.carousel-item:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-image {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* Horizontal Premium Slider (Novo) */
.slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    align-items: center;
}

/* Os prints são 1600x1000 (16:10). O card era 600x400 (3:2) com object-fit:
   cover, então cortava as laterais de toda tela. Agora o card assume a mesma
   proporção da imagem e nada é cortado. */
.slider-card {
    min-width: 600px;
    aspect-ratio: 16 / 10;
    margin: 0 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--white);
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.6s ease;
    cursor: pointer;
}

.slider-card.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: var(--accent);
}

.slider-card img {
    width: 100%;
    height: 100%;
    /* contain garante a tela inteira mesmo se algum print vier com outra
       proporção; o fundo claro preenche a sobra sem destoar do card. */
    object-fit: contain;
    background: var(--white);
    display: block;
}

/* Lightbox Premium Zoom/Pan */
.lightbox {
    position: fixed !important; /* Força o modal a ficar fixo na tela */
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.lightbox.active {
    display: flex;
}

/* Lightbox Controls (Zoom/Pan) */
.lightbox-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 100000;
}

.zoom-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 50%;
}

.zoom-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
    color: var(--accent);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 100001;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--accent);
}

/* Nav Buttons Positioning */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1000;
}

/* Nav Buttons Premium (Glassmorphism) */
.nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--primary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.nav-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 136, 157, 0.3);
}

/* Redução de bugs na navegação mobile */
@media (max-width: 968px) {
    .slider-card {
        min-width: 85%;
    }
    .hero-mosaic {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .carousel-3d {
        width: 280px;
        height: 180px;
    }
    .carousel-item {
        width: 280px;
        height: 180px;
    }
    .carousel-item:nth-child(1) { transform: rotateY(0deg) translateZ(300px); }
    .carousel-item:nth-child(2) { transform: rotateY(72deg) translateZ(300px); }
    .carousel-item:nth-child(3) { transform: rotateY(144deg) translateZ(300px); }
    .carousel-item:nth-child(4) { transform: rotateY(216deg) translateZ(300px); }
    .carousel-item:nth-child(5) { transform: rotateY(288deg) translateZ(300px); }
}

/* ═══════════════════════════════════════════════════
   MOBILE NAVIGATION
   ═══════════════════════════════════════════════════ */

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    background: rgba(16, 136, 157, 0.05);
    border: 1px solid rgba(16, 136, 157, 0.1);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger:hover {
    background: rgba(16, 136, 157, 0.12);
    transform: scale(1.05);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

/* Animated X when open */
.hamburger.open {
    background: rgba(16, 136, 157, 0.1);
    border-color: var(--accent);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--accent);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--accent);
}

/* Mobile slide-in nav drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100dvh;
    background: var(--white);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 3rem;
    gap: 0;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 1.5rem;
}

.mobile-nav-close:hover {
    background: rgba(16, 136, 157, 0.12);
    color: var(--accent);
    transform: rotate(90deg);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    margin-top: 1rem;
}

.mobile-nav ul li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-nav.open ul li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for menu items */
.mobile-nav.open ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open ul li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open ul li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open ul li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open ul li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.open ul li:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav ul li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s;
}

.mobile-nav ul li a i {
    width: 24px;
    font-size: 1.2rem;
    color: var(--accent);
    opacity: 0.8;
}

.mobile-nav ul li:last-child a {
    border-bottom: none;
}

.mobile-nav ul li a:hover {
    color: var(--accent);
    padding-left: 1rem;
    background: rgba(16, 136, 157, 0.04);
    border-radius: 12px;
}

.mobile-nav-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.mobile-nav-login {
    display: block;
    text-align: center;
    padding: 0.85rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-login:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-nav-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem;
    background: #25D366;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.mobile-nav-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.mobile-nav-whatsapp i {
    font-size: 1.4rem;
}

/* Backdrop */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Show hamburger, hide desktop nav on mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .hamburger {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .desktop-only {
        display: none;
    }

    /* Header adjustments on mobile */
    header {
        height: 64px;
        background: rgba(255, 255, 255, 0.9);
    }

    .logo {
        font-size: 1.25rem;
    }

    /* Hero adjustments */
    .hero {
        padding: 60px 0 40px;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 2rem;
        display: flex;
    }
    
    .hero-content, .hero-image-wrapper {
        min-width: 100%;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
        letter-spacing: -0.03em;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-btns .cta-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .hero-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        justify-content: center;
    }

    .hero-image img {
        max-width: 90%;
        margin: 0 auto;
        border-radius: 16px;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
/* Infinite Logo Carousel */
.logos-slider {
    overflow: hidden;
    padding: 40px 0;
    background: white;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logos-slider:before, .logos-slider:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos-slider:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos-slider:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide .integration-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 40px;
    vertical-align: middle;
}

.logos-slide img {
    height: 35px;
    object-fit: contain;
}

.logos-slide i {
    font-size: 35px;
}

#btn_calc_public {
    width: 100%;
    margin-top: 2rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.calc-form-grid.premium {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .calc-form-grid.premium {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════
   SITE MODELS SHOWCASE SECTION
   ═══════════════════════════════════════════════════ */
.site-models-section {
    background: linear-gradient(135deg, #f5fafb 0%, #daecf0 50%, #ebf5f7 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.site-models-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(circle, rgba(16, 136, 157, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.model-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.model-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.model-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.model-card:nth-child(1) .model-card-icon {
    background: linear-gradient(135deg, #10889d, #3fb5c9);
}

.model-card:nth-child(2) .model-card-icon {
    background: linear-gradient(135deg, #10889d, #0d7285);
}

.model-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.model-badge.classic {
    background: rgba(16, 136, 157, 0.1);
    color: #10889d;
}

.model-badge.modern {
    background: rgba(16, 136, 157, 0.1);
    color: #10889d;
}

.model-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.model-card .model-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.model-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.model-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.model-features li:last-child {
    border-bottom: none;
}

.model-features li i {
    color: var(--accent);
    font-size: 0.85rem;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════
   PRICING SECTION REDESIGN
   ═══════════════════════════════════════════════════ */

/* Seletor Mensal/Anual. Duas abas em vez de um interruptor: o corretor precisa
   ler as duas palavras para comparar, e um switch não diz qual lado está
   valendo. Fica sobre a foto escura da seção, daí o vidro translúcido. */
.billing-toggle {
    display: inline-flex;
    gap: 0.25rem;
    margin: 2.5rem auto 0;
    padding: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.billing-toggle__opcao {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.billing-toggle__opcao:hover {
    color: #fff;
}

.billing-toggle__opcao.is-ativa {
    background: #fff;
    color: #09364c;
}

.billing-toggle__selo {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 480px) {
    /* Em tela estreita "economize 10%" empurra o botão para fora do seletor. */
    .billing-toggle__opcao {
        padding: 0.5rem 0.9rem;
        font-size: 0.875rem;
    }

    .billing-toggle__selo {
        font-size: 0.625rem;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s, border-color 0.4s;
    /* O mínimo automático de uma coluna `1fr` é o conteúdo. Como o preço é
       `nowrap`, sem isto ele empurra a coluna e joga a grade para fora da
       tela — o cartão Completo ficava cortado na direita. */
    min-width: 0;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.popular {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(16, 136, 157, 0.15);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    width: fit-content;
}

.plan-badge.starter {
    background: rgba(148, 163, 184, 0.2);
    color: #8FA6AB;
}

.plan-badge.pro {
    background: rgba(16, 136, 157, 0.2);
    color: #10889d;
}

.plan-badge.enterprise {
    background: rgba(0, 135, 158, 0.18);
    color: #3fb5c9;
}

.price-features-detailed {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.price-features-detailed li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-features-detailed li:last-child {
    border-bottom: none;
}

.price-features-detailed li .feat-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 2px;
}

.price-features-detailed li .feat-icon.yes {
    background: rgba(16, 136, 157, 0.2);
    color: #10889d;
}

.price-features-detailed li .feat-icon.no {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.price-features-detailed li .feat-text {
    flex: 1;
}

.price-features-detailed li .feat-text .feat-detail {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1px;
}

.price-features-detailed li.disabled {
    opacity: 0.5;
}

@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .price-card.popular {
        transform: none;
    }
    .price-card.popular:hover {
        transform: translateY(-8px);
    }
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animation */
.reveal-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Todo filho aparece — a regra não pode depender da quantidade de itens.
   Antes existia um :nth-child por posição até 12; o 13º card entrou na grade de
   recursos e ficou preso em opacity:0, deixando um buraco branco na seção. */
.reveal-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* O escalonamento é só enfeite: vale para os primeiros e satura depois. */
.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-children.visible > *:nth-child(n+7) { transition-delay: 0.35s; }

/* Quem prefere menos movimento vê tudo parado, sem depender do observer. */
@media (prefers-reduced-motion: reduce) {
    .reveal-children > * { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════
   CALCULATOR SECTION ENHANCEMENTS
   ═══════════════════════════════════════════════════ */
.calc-section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.calc-section-subtitle i {
    color: var(--accent);
}

.calc-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.calc-stat {
    text-align: center;
}

.calc-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.calc-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════ */
.trust-bar {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.trust-bar-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    text-align: center;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.trust-item .trust-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.trust-item .trust-number span {
    color: var(--accent);
}
.trust-item .trust-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   AI SECTION — Central de Inteligência
   ═══════════════════════════════════════════════════ */
.ai-section {
    background: linear-gradient(180deg, #f5fafb 0%, #daecf0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.ai-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 50%;
    height: 160%;
    background: radial-gradient(circle, rgba(16, 136, 157, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.ai-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    text-align: center;
}
.ai-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #7fd9e8);
    opacity: 0;
    transition: opacity 0.3s;
}
.ai-card:hover::before { opacity: 1; }
.ai-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem auto;
    color: #fff;
}
.ai-card-icon.chatbot { background: linear-gradient(135deg, #3fb5c9, #10889d); }
.ai-card-icon.site-chat { background: linear-gradient(135deg, #10889d, #0d7285); }
.ai-card-icon.newsletter { background: linear-gradient(135deg, #0f8296, #0e3345); }
.ai-card-icon.social { background: linear-gradient(135deg, #4fbbce, #10889d); }
.ai-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.ai-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    margin-top: 1rem;
}
.ai-badge.auto {
    background: rgba(16, 136, 157, 0.1);
    color: var(--accent);
}
.ai-badge.new {
    background: rgba(0, 135, 158, 0.12);
    color: #3fb5c9;
}
.ai-badge.premium {
    background: rgba(11, 58, 70, 0.1);
    color: #0e3345;
}

@media (max-width: 768px) {
    .ai-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════ */
.testimonials-section {
    background: var(--white);
    padding: 100px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.testimonial-stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7fd9e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.testimonial-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
}
.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════ */
.faq-section {
    background: var(--bg-light);
    padding: 100px 0;
}
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-item:hover {
    box-shadow: var(--shadow);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.faq-question i {
    color: var(--accent);
    transition: transform 0.3s;
    font-size: 0.9rem;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.93rem;
}

/* ═══════════════════════════════════════════════════
   LOGOTIPO
   O SVG vem aparado no desenho (sem margem de artboard), então a altura aqui
   é a altura real da marca — por isso valores maiores que os de um PNG com
   sobra em volta.
   ═══════════════════════════════════════════════════ */
.logo-img {
    height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: height 0.3s ease;
}

header.header-scrolled .logo-img {
    height: 36px;
}

@media (max-width: 768px) {
    .logo-img { height: 38px; }
    header.header-scrolled .logo-img { height: 32px; }
}

/* Sobre o fundo azul-profundo, a cor da marca fica escura demais: aqui o texto
   vai num tom claro derivado dela. */
.hero .section-tag {
    background: rgba(79, 195, 218, 0.16);
    color: #8FE0EF;
    border: 1px solid rgba(79, 195, 218, 0.28);
}

/* Floating badges in hero */
.hero-floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 30;
    animation: float 4s ease-in-out infinite;
}
.hero-floating-badge:nth-child(1) { animation-delay: 0s; }
.hero-floating-badge:nth-child(2) { animation-delay: 1s; }
.hero-floating-badge:nth-child(3) { animation-delay: 2s; }
.hero-floating-badge i { color: var(--accent); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Counter animation */
.counter-up {
    display: inline-block;
}

/* Section subtitle */
.section-subtitle {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* CTA Final Premium */
.cta-final {
    padding: 120px 0;
    background: linear-gradient(135deg, #09364c 0%, #0e3345 50%, #09364c 100%);
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 136, 157, 0.1) 0%, transparent 50%);
}
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,0.7); }

/* Footer Premium */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: var(--accent);
}
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-floating-badge { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .trust-bar-grid { gap: 2rem; }
    .trust-item .trust-number { font-size: 2rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 576px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 2.5rem;
    }
    .footer-col .logo { justify-content: center; }
    .social-links { justify-content: center; flex-wrap: wrap; }
    .footer-col p { margin-left: auto; margin-right: auto; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MÓDULOS — linhas alternadas de print + texto
   Padrão usado pelas seções de CRM, Locação e Atendimento. O print é real
   (assets/img/produto/, gerado do painel), então recebe uma moldura de janela
   para o leitor entender na hora que aquilo é o produto rodando.
   ═══════════════════════════════════════════════════════════════════════════ */
.modulo-secao { padding: 90px 0; }

.modulo-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

/* Linha invertida: o print vai para a esquerda sem mudar a ordem no HTML
   (leitor de tela e navegação por teclado continuam na ordem lógica). */
.modulo-row.invertida .modulo-visual { order: -1; }

@media (max-width: 900px) {
    .modulo-row { grid-template-columns: 1fr; gap: 2.5rem; }
    .modulo-row.invertida .modulo-visual { order: 0; }
    .modulo-secao { padding: 60px 0; }
}

.modulo-tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(16, 136, 157, .09);
    color: var(--brand);
    margin-bottom: 1.1rem;
}

.modulo-secao.escura .modulo-tag {
    background: rgba(16, 136, 157, .16);
    color: var(--accent);
}

.modulo-conteudo h3 {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.modulo-conteudo > p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.modulo-secao.escura .modulo-conteudo h3 { color: #fff; }
.modulo-secao.escura .modulo-conteudo > p { color: rgba(255, 255, 255, .72); }

.modulo-lista { list-style: none; display: grid; gap: 1rem; }

.modulo-lista li {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    font-size: .96rem;
    line-height: 1.5;
    color: var(--text-main);
}

.modulo-secao.escura .modulo-lista li { color: rgba(255, 255, 255, .9); }

.modulo-lista i {
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 9px;
    font-size: .9rem;
    background: rgba(16, 136, 157, .1);
    color: var(--brand);
}

.modulo-secao.escura .modulo-lista i {
    background: rgba(16, 136, 157, .18);
    color: var(--accent);
}

.modulo-lista strong { display: block; font-weight: 700; margin-bottom: .1rem; }
.modulo-lista span { color: var(--text-muted); font-size: .9rem; }
.modulo-secao.escura .modulo-lista span { color: rgba(255, 255, 255, .6); }

/* ── Moldura de janela para os prints ───────────────────────────────────── */
.janela {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 60px -28px rgba(4, 38, 47, .45),
                0 0 0 1px rgba(4, 38, 47, .07);
}

.janela__barra {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #eff7f8;
    border-bottom: 1px solid rgba(4, 38, 47, .07);
}

.janela__barra span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfdadd;
}

.janela img { display: block; width: 100%; height: auto; }

.modulo-secao.escura .janela {
    box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .6),
                0 0 0 1px rgba(255, 255, 255, .08);
}

/* ── Canais do atendimento (disponível × em breve) ──────────────────────── */
/* Duas colunas fixas: com auto-fit os chips encolhiam até o selo "em breve"
   estourar a caixa. Aqui a largura é previsível e o selo sempre cabe. */
.canal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.75rem;
}

@media (max-width: 480px) {
    .canal-grid { grid-template-columns: 1fr; }
}

.canal-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
    padding: .7rem .85rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
}

.canal-item i { flex: none; font-size: 1.05rem; color: var(--accent); }

/* min-width:0 deixa o nome encolher em vez de empurrar o selo para fora. */
.canal-nome {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.canal-item.breve { opacity: .62; }
.canal-item.breve i { color: rgba(255, 255, 255, .55); }

.canal-item small {
    flex: none;
    margin-left: auto;
    padding: .15rem .45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, .8);
}

/* ── Barra de provas (substitui os números de vitrine) ──────────────────── */
.prova-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 820px) {
    .prova-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

.prova-item { text-align: center; }

.prova-numero {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1;
    color: var(--brand);
    margin-bottom: .4rem;
}

.prova-numero span { color: var(--accent); }
.prova-titulo { font-weight: 700; font-size: .95rem; margin-bottom: .15rem; }
.prova-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.4; }

/* ── Integradores ───────────────────────────────────────────────────────── */
/* Colunas fixas para os 8 itens fecharem 4+4. Com auto-fit dava 6+2 e sobrava
   um vazio grande na segunda linha. */
.integra-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: 720px;
    margin: 2.5rem auto 0;
}

@media (max-width: 620px) {
    .integra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 380px; }
}

.integra-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
    padding: 1.4rem .8rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(4, 38, 47, .08);
    transition: transform .25s, box-shadow .25s;
}

.integra-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -18px rgba(4, 38, 47, .4);
}

.integra-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Chip de texto para o portal sem ícone disponível — ocupa o mesmo espaço do
   <img>, então a grade não desalinha. */
.integra-sigla {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.integra-nome {
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    line-height: 1.3;
}

/* ── Modelos de site com print real ─────────────────────────────────────── */
/* São 5 modelos: a grade tem 6 colunas e cada cartão ocupa 2 — assim cabem 3
   na primeira linha e os 2 restantes ficam CENTRALIZADOS na segunda, em vez de
   encostarem à esquerda deixando um buraco à direita. */
.modelos-grid-print {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
    text-align: left;
}
.modelos-grid-print > .modelo-print { grid-column: span 2; }
.modelos-grid-print > .modelo-print:nth-child(4) { grid-column: 2 / span 2; }
.modelos-grid-print > .modelo-print:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 1200px) {
    .modelos-grid-print { grid-template-columns: repeat(4, 1fr); }
    .modelos-grid-print > .modelo-print,
    .modelos-grid-print > .modelo-print:nth-child(4),
    .modelos-grid-print > .modelo-print:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 980px) {
    .modelos-grid-print { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .modelos-grid-print > .modelo-print,
    .modelos-grid-print > .modelo-print:nth-child(4),
    .modelos-grid-print > .modelo-print:nth-child(5) { grid-column: auto; }
}

.modelo-print {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(4, 38, 47, .08);
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}

.modelo-print:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Recorta o print no topo do site (o "acima da dobra"), que é o que o corretor
   quer ver ao escolher um modelo. */
.modelo-print__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-light);
}

.modelo-print__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.modelo-print__corpo { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.modelo-print__corpo h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.modelo-print__corpo p { color: var(--text-muted); font-size: .9rem; line-height: 1.55; margin-bottom: 1rem; }
.modelo-print__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }

.modelo-print__tags span {
    font-size: .72rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(16, 136, 157, .08);
    color: var(--brand);
}

/* A janela do hero fica sobre fundo escuro: só a sombra muda. */
.hero-image .janela {
    max-width: 640px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65),
                0 0 0 1px rgba(255, 255, 255, .07);
}

.hero-image .janela img { border-radius: 0; box-shadow: none; max-width: none; }

/* O chip do CRECI tem duas linhas ("CRECI/BA"), então precisa de entrelinha
   apertada para caber no mesmo quadrado dos ícones dos outros portais. */
.integra-sigla {
    line-height: 1.05;
    text-align: center;
}

/* ── "Ver o site inteiro" nos cartões de modelo ─────────────────────────── */
.modelo-print__ver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    margin-bottom: 1rem;
    padding: .6rem .9rem;
    border: 1px solid var(--brand);
    border-radius: 10px;
    background: transparent;
    color: var(--brand);
    font-family: inherit;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.modelo-print__ver:hover { background: var(--brand); color: #fff; }

.modelo-print__ver:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 136, 157, .28);
}

/* ── Lightbox no modo "página inteira" ──────────────────────────────────── */
/* O print de um site completo tem ~5 mil px de altura. Encaixá-lo em 85vh
   deixaria a página do tamanho de um selo, então aqui ele vai na largura de
   leitura e o modal rola. */
.lightbox--pagina { align-items: flex-start; }

.lightbox--pagina .lightbox-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 72px 1rem 2rem;
    display: flex;
    justify-content: center;
    /* flex-start é obrigatório: com o `stretch` padrão a imagem é espremida na
       altura do modal e o print de 5 mil px vira uma faixa de 800. */
    align-items: flex-start;
    -webkit-overflow-scrolling: touch;
}

.lightbox--pagina .lightbox-img {
    max-width: min(1100px, 94vw) !important;
    max-height: none !important;
    width: 100%;
    height: auto !important;
    border-radius: 10px;
    transform: none !important;
    align-self: flex-start;
    flex: none;
    object-fit: fill !important;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
}

/* Zoom/pan não fazem sentido rolando uma página inteira. */
.lightbox--pagina .lightbox-controls { display: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   REDESENHO VISUAL — 2026-08
   O material de trabalho do corretor é a fotografia do imóvel. Por isso a foto
   é o chão da página e a interface do produto flutua por cima dela, em vidro.
   O gesto se repete em três pontos e só neles: hero, Atendimento e fechamento.
   As fotos vivem em assets/img/landing/ (recortadas de assets/site_1/, os
   mesmos bancos que abastecem os sites de demonstração).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Camada de fotografia ────────────────────────────────────────────────── */
/* Um <div> vazio e não um background do <section>: assim o véu de cor mora no
   ::after da própria camada e não disputa os pseudo-elementos da seção, que já
   carregam os brilhos radiais. */
.hero-foto,
.secao-foto {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-foto::after,
.secao-foto::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* Hero: casa ao anoitecer. O véu é mais denso à esquerda, onde mora o texto, e
   abre à direita para a arquitetura aparecer atrás do print do painel. */
.hero-foto {
    background-image: url("../img/landing/hero-casa-mobile.0844ca1b2192.webp");
    background-position: center 58%;
}

/* Dois véus sobrepostos multiplicam a opacidade e apagam a foto: o horizontal
   protege a coluna de texto, e o vertical só fecha as bordas de cima e de
   baixo, deixando o miolo da direita respirar. */
.hero-foto::after {
    background:
        linear-gradient(100deg,
            rgba(9, 54, 76, .96) 0%,
            rgba(9, 54, 76, .90) 32%,
            rgba(9, 54, 76, .56) 54%,
            rgba(9, 54, 76, .38) 78%,
            rgba(9, 54, 76, .58) 100%),
        linear-gradient(180deg,
            rgba(9, 54, 76, .55) 0%,
            rgba(9, 54, 76, 0) 24%,
            rgba(9, 54, 76, 0) 58%,
            rgba(9, 54, 76, .9) 100%);
}

/* Trama fina por cima da foto: dá a textura de "tela" sem virar enfeite. */
.hero-foto::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}

@media (min-width: 769px) {
    .hero-foto { background-image: url("../img/landing/hero-casa.5f116aa3447c.webp"); }
}

/* Empilhamento explícito do hero: foto → brilhos radiais → conteúdo. */
.hero { isolation: isolate; }
.hero::before,
.hero::after { z-index: 1; }
.hero-container { z-index: 3; }

/* Atendimento: sala iluminada ao fundo — o calor humano que a seção descreve. */
.modulo-secao.escura {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, var(--primary) 0%, #0e3345 100%);
}

.modulo-secao.escura > .container { position: relative; z-index: 2; }

.secao-foto--sala {
    background-image: url("../img/landing/banda-sala-mobile.4deaf97ae143.webp");
    background-position: center 40%;
}

.secao-foto--sala::after {
    background:
        linear-gradient(105deg,
            rgba(9, 54, 76, .97) 0%,
            rgba(9, 54, 76, .93) 42%,
            rgba(14, 51, 69, .78) 72%,
            rgba(14, 51, 69, .88) 100%);
}

/* Fechamento: a sala de estar — a casa já entregue. */
.secao-foto--fechamento {
    background-image: url("../img/landing/cta-sala-mobile.0c666bdf7987.webp");
    background-position: center 55%;
}

/* Cortina: fecha no miolo, onde fica o texto centralizado, e abre nas duas
   pontas para a sala aparecer. */
.secao-foto--fechamento::after {
    background: linear-gradient(90deg,
        rgba(9, 54, 76, .58) 0%,
        rgba(9, 54, 76, .88) 26%,
        rgba(9, 54, 76, .92) 74%,
        rgba(9, 54, 76, .58) 100%);
}

/* No celular o texto ocupa a largura toda: o véu volta a ser parelho. */
@media (max-width: 768px) {
    .secao-foto--fechamento::after { background: rgba(9, 54, 76, .88); }
}

@media (min-width: 769px) {
    .secao-foto--sala { background-image: url("../img/landing/banda-sala.e75f861603e6.webp"); }
    .secao-foto--fechamento { background-image: url("../img/landing/cta-sala.b396424c6134.webp"); }
}


/* ── Hero: composição ────────────────────────────────────────────────────── */
.hero {
    padding: clamp(64px, 8vw, 108px) 0 clamp(120px, 12vw, 168px);
}

.hero-content h1 {
    font-size: clamp(2.35rem, 1.2rem + 3.6vw, 4rem);
    text-wrap: balance;
}

.hero-content p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 2rem;
}

.hero-btns { flex-wrap: wrap; }

/* Botão fantasma sobre fundo escuro (era estilo solto no HTML). */
.cta-btn--fantasma {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(6px);
}

.cta-btn--fantasma:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .45);
}

.cta-btn--grande {
    font-size: 1.05rem;
    padding: 1rem 2rem;
}

.cta-btn.accent {
    box-shadow: 0 14px 30px -12px rgba(16, 136, 157, .75);
}

.hero-garantias {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.4rem;
    margin-top: 1.75rem;
    font-size: .87rem;
    color: rgba(255, 255, 255, .62);
}

.hero-garantias li {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.hero-garantias i { color: var(--accent-soft); font-size: .8rem; }

/* Bloco, não flex: como item flexível a janela encolhia para 300px em vez de
   ocupar a coluna, porque a largura da <img> é percentual e a base flexível
   não tinha de onde sair. */
.hero-image {
    display: block;
    position: relative;
    width: 100%;
}

.hero-image .janela {
    width: 100%;
    margin-left: auto;
}

/* Brilho da marca atrás da janela: separa o print da fotografia. */
.hero-image::before {
    content: '';
    position: absolute;
    inset: -12% -8% -18% -8%;
    background: radial-gradient(ellipse at center, rgba(16, 136, 157, .38) 0%, transparent 68%);
    filter: blur(28px);
    z-index: -1;
}

/* O cartão do lead: a promessa do título ("o contato vira card no funil")
   acontecendo em cima do próprio print. É o único elemento flutuante. */
/* ── Barra de provas: cartão apoiado sobre a borda do hero ───────────────── */
/* Costura a fotografia com o corpo claro da página: sem isso o corte do azul
   para o branco fica seco no meio da tela. */
.trust-bar {
    position: relative;
    z-index: 4;
    margin-top: clamp(-96px, -9vw, -64px);
    padding: 0 0 clamp(40px, 5vw, 64px);
    border-bottom: none;
    background: linear-gradient(180deg, transparent 0 96px, var(--white) 96px);
}

.prova-grid {
    background: var(--white);
    border-radius: 24px;
    padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2.5vw, 2rem);
    box-shadow: 0 34px 64px -34px rgba(4, 38, 47, .55),
                0 0 0 1px rgba(4, 38, 47, .06);
}

/* Divisórias entre as provas — no celular a grade é 2×2 e elas atrapalham. */
@media (min-width: 821px) {
    .prova-item + .prova-item {
        border-left: 1px solid rgba(4, 38, 47, .08);
        padding-left: 1.5rem;
    }
    .prova-grid { gap: 0; }
    .prova-item { padding-inline: .75rem; }
}


/* ── Eyebrow das seções ──────────────────────────────────────────────────── */
/* Antes eram emojis literais no HTML; em máquina sem fonte de emoji viravam um
   quadrado vazio. Agora usam o Font Awesome que a página já carrega. */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    background: rgba(16, 136, 157, .08);
    border: 1px solid rgba(16, 136, 157, .18);
    color: var(--brand);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.section-tag i { font-size: .9em; }

/* Sobre os fundos escuros a mesma pílula troca de família de cor. */
.hero .section-tag,
.pricing .section-tag,
.ai-calc-section .section-tag {
    background: rgba(79, 195, 218, .14);
    border-color: rgba(79, 195, 218, .3);
    color: #8FE0EF;
}

.section-subtitle { text-wrap: pretty; }


/* ── Cartões de recurso e de IA ──────────────────────────────────────────── */
/* Treze cartões centralizados viravam uma parede de caixas iguais. Alinhados à
   esquerda e mais compactos, a leitura passa a ser em varredura. */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
    text-align: left;
}

.feature-card,
.ai-card {
    align-items: flex-start;
    text-align: left;
    padding: 1.75rem;
    border-radius: 18px;
    border: 1px solid rgba(4, 38, 47, .08);
    box-shadow: 0 1px 2px rgba(4, 38, 47, .04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.feature-card:hover,
.ai-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 136, 157, .35);
    box-shadow: 0 22px 38px -24px rgba(4, 38, 47, .5);
}

.feature-icon,
.ai-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    margin: 0 0 1.15rem;
    font-size: 1.1rem;
    background: linear-gradient(140deg, var(--brand-light), var(--brand));
    color: #fff;
    box-shadow: 0 10px 20px -12px rgba(16, 136, 157, .9);
}

.feature-card h3 {
    font-size: 1.06rem;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .91rem;
    line-height: 1.6;
}

/* Cartão de conversão que fecha a grade: a última linha sobrava um buraco de
   três colunas, e um convite cabe melhor ali do que um vazio. */
.recurso-cta {
    grid-column: span 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding: 1.9rem 2rem;
    border-radius: 18px;
    background: linear-gradient(120deg, var(--primary) 0%, #12556e 100%);
    color: #fff;
    text-align: left;
}

.recurso-cta h3 { color: #fff; font-size: 1.15rem; margin-bottom: .3rem; }
.recurso-cta p  { color: rgba(255, 255, 255, .72); font-size: .92rem; max-width: 46ch; }
.recurso-cta .cta-btn { flex: none; }

@media (max-width: 1150px) { .recurso-cta { grid-column: span 2; } }
@media (max-width: 800px)  { .recurso-cta { grid-column: 1 / -1; } }

.ai-grid { text-align: left; }
.ai-card { background: var(--white); }
.ai-card h3 { font-size: 1.12rem; }
.ai-badge { margin-top: 1.1rem; }


/* ── Depoimentos ─────────────────────────────────────────────────────────── */
.testimonials-grid { text-align: left; }

.testimonial-card {
    position: relative;
    padding: 2.25rem 2rem 2rem;
    background: var(--white);
    border: 1px solid rgba(4, 38, 47, .08);
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: .35rem;
    right: 1.25rem;
    font-family: 'Outfit', serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(16, 136, 157, .12);
    pointer-events: none;
}

.testimonial-text {
    font-style: normal;
    font-size: 1rem;
    flex: 1;
}

/* O bloco do autor herdava o text-align:center da seção e o nome subia por
   cima do avatar quando o cargo tinha duas linhas. */
/* flex-start: com o cargo em duas linhas o nome subia e desalinhava do nome
   dos cartões vizinhos. */
.testimonial-author {
    align-items: flex-start;
    text-align: left;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(4, 38, 47, .07);
}

.testimonial-info strong { margin-bottom: .1rem; }

.testimonial-info { min-width: 0; }
.testimonial-avatar { flex: none; }


/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-question {
    padding: 1.15rem 1.35rem;
    gap: 1rem;
    font-size: 1.02rem;
    min-height: 56px;
}

.faq-question i { flex: none; }

.faq-item.active {
    border-color: rgba(16, 136, 157, .35);
    box-shadow: 0 18px 34px -26px rgba(4, 38, 47, .5);
}

/* 300px cortava a resposta mais longa (integração com portais). */
.faq-item.active .faq-answer { max-height: 600px; }


/* ── Como funciona: a numeração marca uma sequência real ─────────────────── */
.steps-grid {
    position: relative;
    gap: 2.5rem;
}

@media (min-width: 861px) {
    /* Fio ligando os três passos, atrás dos números. */
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 16%;
        right: 16%;
        height: 2px;
        background: linear-gradient(90deg,
            rgba(16, 136, 157, .08),
            rgba(16, 136, 157, .35),
            rgba(16, 136, 157, .08));
    }
}

.step-card { position: relative; }

.step-number {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    background: var(--white);
    color: var(--brand);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 8px var(--white), 0 12px 24px -14px rgba(16, 136, 157, .8);
}


/* ── Fechamento ──────────────────────────────────────────────────────────── */
.cta-final {
    position: relative;
    isolation: isolate;
    padding: clamp(88px, 11vw, 132px) 0;
    background: var(--primary);
}

.cta-final::before { z-index: 1; }
.cta-final__conteudo { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.1rem); text-wrap: balance; }

.cta-final__linha {
    font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem);
    margin: 1.25rem auto 2.25rem;
    max-width: 46ch;
}

.cta-final__botoes {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    justify-content: center;
}

.cta-final__rodape {
    margin-top: 1.75rem;
    font-size: .87rem;
    color: rgba(255, 255, 255, .55);
}


/* ── Barra de ação fixa (celular) ────────────────────────────────────────── */
/* A página é longa e o botão do topo desaparece na primeira rolagem. */
.barra-acao {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: none;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(4, 38, 47, .1);
    box-shadow: 0 -8px 28px -14px rgba(4, 38, 47, .35);
    transform: translateY(110%);
    transition: transform .35s cubic-bezier(.23, 1, .32, 1);
}

.barra-acao.aparece { transform: translateY(0); }

.barra-acao__cta {
    flex: 1;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.barra-acao__zap {
    flex: none;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.35rem;
    text-decoration: none;
}

@media (max-width: 768px) {
    .barra-acao { display: flex; }
    body.tem-barra-acao { padding-bottom: 78px; }
    /* O balão do chat mora no mesmo canto: sobe para não cobrir a barra. */
    body.tem-barra-acao .chatbot-widget-btn { bottom: 92px; }
}


/* ── Carrosséis no celular ───────────────────────────────────────────────── */
/* Cinco modelos e três depoimentos empilhados viram uma rolagem enorme no
   telefone. Em faixa horizontal com encaixe, cada cartão ocupa a tela e o
   próximo aparece pela borda, mostrando que há mais. */
@media (max-width: 760px) {
    .modelos-grid-print,
    .testimonials-grid {
        display: flex;
        max-width: none;
        margin-inline: calc(-1 * var(--sangria, 1.25rem));
        padding: .5rem var(--sangria, 1.25rem) 1.25rem;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--sangria, 1.25rem);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .modelos-grid-print::-webkit-scrollbar,
    .testimonials-grid::-webkit-scrollbar { display: none; }

    .modelos-grid-print > .modelo-print,
    .testimonials-grid > .testimonial-card {
        flex: 0 0 84%;
        scroll-snap-align: start;
        grid-column: auto;
    }

    /* O translateY do reveal briga com a rolagem horizontal: aqui só o fade. */
    .modelos-grid-print > *,
    .testimonials-grid > * { transform: none !important; }

    .dica-arraste { display: flex; }
}

.dica-arraste {
    display: none;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 1.5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.dica-arraste i { color: var(--accent); }


/* ── Planos: lista de recursos recolhível no celular ─────────────────────── */
/* Cada plano lista até 18 linhas; empilhados davam quase cinco mil pixels de
   rolagem antes do botão. O botão é criado pelo JS só quando faz falta. */
.plano-ver-tudo {
    width: 100%;
    margin: -.75rem 0 1.75rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
}

.plano-ver-tudo:hover { background: rgba(255, 255, 255, .08); }

.price-features-detailed.encolhida {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}


/* ── Ajustes finos de celular ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero { padding: 48px 0 96px; }

    .hero-content { padding-top: 0; }

    .hero-garantias {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: .45rem;
    }

    .hero-image img { max-width: 100%; }

    .hero-image .janela { max-width: 100%; }

    .trust-bar { margin-top: -56px; background: linear-gradient(180deg, transparent 0 56px, var(--white) 56px); }

    .prova-grid { border-radius: 20px; }

    .feature-card, .ai-card { padding: 1.5rem 1.35rem; }

    .recurso-cta { flex-direction: column; align-items: flex-start; text-align: left; }
    .recurso-cta .cta-btn { width: 100%; text-align: center; }

    .cta-final__botoes { flex-direction: column; }
    .cta-final__botoes .cta-btn { width: 100%; text-align: center; }

    .faq-question { font-size: .98rem; }

    /* Alvos de toque: nada abaixo de 44px de altura. */
    .cta-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
    .social-links a { width: 44px; height: 44px; display: inline-grid; place-items: center; }
}


/* ── Movimento reduzido ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .text-gradient,
    .logos-slide { animation: none !important; }

    .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }

    * { scroll-behavior: auto !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ESTILOS QUE MORAVAM NUM <style> DENTRO DO landing_page.html
   Estavam depois do <link>, então venciam qualquer regra deste arquivo por
   ordem de cascata — uma armadilha silenciosa para quem editasse só o CSS.
   ═══════════════════════════════════════════════════════════════════════════ */
.integrations-section {
    background: #fff;
    padding: clamp(60px, 7vw, 96px) 0;
    border-top: 1px solid #E7EEEF;
}

.ai-calc-section {
    background: linear-gradient(135deg, #09364c 0%, #0e3345 100%);
    padding: clamp(72px, 8vw, 104px) 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ai-calc-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 136, 157, .05) 0%, transparent 70%);
}

.ai-calc-section h2 { color: #fff; }

.calc-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}

.calc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.calc-field { display: flex; flex-direction: column; gap: .4rem; text-align: left; }
.calc-field label { font-size: .82rem; color: rgba(255, 255, 255, .65); font-weight: 600; }

.calc-field input,
.calc-field select {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    padding: .8rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    min-height: 48px;
    outline: none;
    transition: border-color .2s, background-color .2s;
}

.calc-field select option { background: #fff; color: #0e3345; }
.calc-field input:focus,
.calc-field select:focus { border-color: var(--accent-soft); background: rgba(255, 255, 255, .1); }
.calc-field input::placeholder { color: rgba(255, 255, 255, .38); }

.calc-counter { margin-top: 1.25rem; font-size: .85rem; color: var(--accent-soft); font-weight: 700; }

.calc-result-card {
    margin-top: 2rem;
    background: rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 2rem;
    display: none;
    animation: fadeInCalc .5s;
}

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

.calc-result-price {
    font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-soft);
    margin-bottom: .5rem;
}


/* ── Cabeçalho transparente sobre o hero ─────────────────────────────────── */
/* A foto sobe até o alto da tela: o cabeçalho só ganha fundo depois que a
   página rola. A margem negativa puxa o hero para trás da barra fixa — sem
   ela o sticky ocupa espaço no fluxo e empurra a foto para baixo. */
header {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.hero {
    margin-top: -80px;
    padding-top: calc(80px + clamp(56px, 7vw, 96px));
}

header .logo-img--escuro { display: none; }

header.header-scrolled {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(0, 0, 0, .06);
}

header.header-scrolled .logo-img--claro { display: none; }
header.header-scrolled .logo-img--escuro { display: block; }

/* Sobre a foto escura, a navegação vai em branco. */
.link-entrar {
    margin-right: 1.5rem;
    text-decoration: none;
    font-weight: 600;
}

header .desktop-nav a,
header .link-entrar {
    color: rgba(255, 255, 255, .88);
}

header .desktop-nav a:hover,
header .link-entrar:hover { color: #fff; }

header.header-scrolled .desktop-nav a,
header.header-scrolled .link-entrar { color: var(--secondary); }

header.header-scrolled .desktop-nav a:hover { color: var(--accent); }

.hamburger {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
}

.hamburger span { background: #fff; }

header.header-scrolled .hamburger {
    background: rgba(16, 136, 157, .06);
    border-color: rgba(16, 136, 157, .14);
}

header.header-scrolled .hamburger span { background: var(--primary); }

@media (max-width: 768px) {
    .hero {
        margin-top: -64px;
        padding-top: calc(64px + 40px);
    }
}


/* ── Bloco do preço ──────────────────────────────────────────────────────────
   O preço é o que a pessoa veio ver, e era o texto mais discreto do cartão —
   o "de" riscado saía maior que ele. Aqui o número vira a âncora do cartão:
   reais enormes, centavos elevados como numa etiqueta, e todo o resto (o "de",
   a economia, o equivalente mensal) subordinado abaixo.

   As três alturas mínimas existem para os preços dos três cartões pousarem na
   MESMA linha e não pularem ao alternar Mensal/Anual — no anual aparecem duas
   linhas que não existem no mensal. */
.price-plate {
    margin-bottom: 1.5rem;
}

/* Uma única medida comanda o bloco: os filhos são todos em `em`, então mudar
   o `font-size` daqui reescala moeda, centavos e período juntos, sem
   descasar. O teto (3.4rem) é o que o valor mais largo do anual —
   "R$ 4.319,00/ano" — cabe na coluna sem estourar o cartão. */
.price {
    display: flex;
    /* Baseline em vez de flex-end: o sufixo "/ano" pousa exatamente na base
       dos dígitos sem número mágico. Com flex-end ele encostava no fundo da
       caixa, abaixo da base, e parecia ter escorregado para outra linha.
       Moeda e centavos saem dessa regra com `align-self` abaixo. */
    align-items: baseline;
    justify-content: center;
    gap: 0.06em;
    margin: 0;
    white-space: nowrap;
    font-size: clamp(2.15rem, 1.35rem + 2.6vw, 3.4rem);
    font-weight: 800;
    /* Tabular: sem isso os dígitos têm larguras diferentes e o número dança
       ao alternar Mensal/Anual. */
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing: -0.025em;
    line-height: 1;
}

.price-moeda {
    align-self: flex-start;
    margin-top: 0.34em;
    font-size: 0.32em;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.6;
}

.price-valor {
    font-size: 1em;
    line-height: 1;
    color: var(--white);
}

/* Centavos elevados e menores: o olho lê "809" e o ",00" vira detalhe — é como
   preço se lê fora da tela também. */
.price-centavos {
    align-self: flex-start;
    margin-top: 0.16em;
    font-size: 0.44em;
    font-weight: 700;
    letter-spacing: 0;
    opacity: 0.8;
}

.price .price-periodo {
    margin-left: 0.1em;
    font-size: 0.29em;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0.5;
}

/* Linha subordinada: preço cheio riscado + quanto se economiza. */
.price-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 1.6rem;
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
}

.price-de {
    color: rgba(255, 255, 255, 0.42);
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.price-de:empty { display: none; }

.price-economia {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.32);
    color: #4ade80;
    font-size: 0.78rem;
    font-weight: 700;
}

.price-economia:empty { display: none; }

.price-equivalente {
    min-height: 1.35rem;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 600;
}

/* A promessa de teste grátis vive logo abaixo do preço e some no anual; sem
   altura reservada, os três cartões desalinham quando um tem a linha e o
   outro não. */
.price-card .so-mensal {
    min-height: 1.35rem;
}

/* "em breve" estava colado ("EMBREVE") depois do uppercase. */
.canal-item small { letter-spacing: .06em; }

/* Treze recursos empilhados passam de 3.800px no telefone. Com o ícone ao lado
   do texto, em vez de acima, a mesma lista encolhe cerca de um terço. */
@media (max-width: 560px) {
    .feature-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: .95rem;
        align-items: start;
        padding: 1.2rem 1.15rem;
    }

    .feature-icon {
        grid-row: span 2;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .feature-card h3 { align-self: center; margin-bottom: .35rem; }
    .feature-card p  { font-size: .89rem; }
}

/* A sala é clara: sobre ela o texto secundário a 70% ficava fraco. */
.secao-foto--fechamento::after {
    background: linear-gradient(90deg,
        rgba(9, 54, 76, .60) 0%,
        rgba(9, 54, 76, .93) 24%,
        rgba(9, 54, 76, .95) 76%,
        rgba(9, 54, 76, .60) 100%);
}

.cta-final p { color: rgba(255, 255, 255, .86); }
.cta-final__rodape { color: rgba(255, 255, 255, .7); }

/* A lista dos planos herdava o text-center da seção: o texto ficava centralizado
   e o ícone à esquerda, cada linha começando num ponto diferente. */
.price-features-detailed { text-align: left; }

/* ── Carrossel do painel no celular ──────────────────────────────────────── */
/* Em 390px as setas de 60px ficavam em cima da tela do produto, tapando
   justamente o que a seção quer mostrar. Aqui elas descem para baixo da
   faixa — o arraste com o dedo continua funcionando igual. */
@media (max-width: 768px) {
    .slider-container {
        display: flex;
        flex-direction: column;
        padding: 24px 0 0;
    }

    .slider-track { order: 1; }

    .carousel-nav {
        order: 2;
        position: static;
        transform: none;
        justify-content: center;
        gap: 1.25rem;
        padding: 0;
        margin-top: 1.5rem;
    }

    .nav-btn {
        width: 48px;
        height: 48px;
        background: var(--white);
        border-color: rgba(4, 38, 47, .1);
    }

    .carousel-3d-container { padding: 60px 0 !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   AJUSTES PEDIDOS — 2026-08-13
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Simulador: o formulário estourava a caixa de vidro ──────────────────── */
/* Item de grade tem `min-width: auto`, ou seja, não encolhe abaixo do tamanho
   natural do <input>. Com a fonte em 1rem esse mínimo passou a somar mais que a
   largura da caixa e a terceira coluna vazava para fora da borda. */
.calc-field { min-width: 0; }

.calc-field input,
.calc-field select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

/* ── Planos: a cidade como horizonte, bem discreta ───────────────────────── */
/* Faixa baixa, dessaturada e a 16%: dá profundidade ao bloco azul sem competir
   com os preços, que são o que a seção precisa que se leia. */
.pricing {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.pricing > .container { position: relative; z-index: 2; }

.secao-foto--planos {
    top: auto;
    bottom: 0;
    height: 62%;
    opacity: .11;
    background-image: url("../img/landing/planos-skyline-mobile.a03514539f4e.webp");
    background-position: center bottom;
    /* Dissolve no topo para não virar uma faixa colada no meio da seção. */
    mask-image: linear-gradient(180deg, transparent 0%, #000 62%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 62%);
}

/* Aqui o véu é a própria opacidade; o ::after padrão só escureceria de novo. */
.secao-foto--planos::after { content: none; }

@media (min-width: 769px) {
    .secao-foto--planos { background-image: url("../img/landing/planos-skyline.12e614cdefaa.webp"); }
}

/* ── Publicação nos portais: respiro no topo ─────────────────────────────── */
/* A tarja subia colada na seção anterior: o espaçamento vinha de um
   `margin-top` solto no HTML, que saiu junto com o emoji da tarja. */
.integrations-section { padding-top: clamp(60px, 7vw, 96px); }
