/* =========================================
   VARIÁVEIS DE CORES E RESET
   ========================================= */
   :root {
    --primary-color: #d63384; 
    --secondary-color: #fae1ec; 
    --text-color: #2c2c2c; 
    --text-light: #666; 
    --bg-white: #ffffff;
    --gradient-bg: linear-gradient(180deg, #fff0f5 0%, #ffffff 100%);
    --font-main: 'Poppins', sans-serif;
    --shadow-card: 0 10px 30px rgba(214, 51, 132, 0.1); 
    --glass: rgba(255, 255, 255, 0.4);
    --tech-gradient: linear-gradient(135deg, #d63384 0%, #6610f2 100%); /* Rosa para Roxo Tech */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background: var(--bg-white);
    text-rendering: optimizeLegibility; /* Melhorar leitura */
}

img {
    max-width: 100%;
    height: auto; /* Mantém proporção mesmo com width/height fixos no HTML */
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   COMPONENTES
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.6);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0f172a; 
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    background: var(--gradient-bg);
    padding: 80px 0;
    min-height: 90vh; 
    display: flex;
    align-items: center;
}



.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text, .hero-img {
    flex: 1;
}

.text-gradient {
    background: linear-gradient(90deg, #d63384, #ff85b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* =========================================
   MOCKUPS
   ========================================= */
.mockup-wrapper {
    position: relative; 
    width: 100%;
    max-width: 700px; 
    margin: 0 auto; 
    padding: 20px; 
}

.mockup-desktop, .mockup-mobile {
    border-radius: 15px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform; /* Performance Boost */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.mockup-desktop {
    animation: float 6s ease-in-out infinite;
}

.mockup-mobile {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s; /* Desencontro das animações para parecer natural */
}

.mockup-desktop {
    width: 85%; 
    position: relative;
    z-index: 1; 
}

.mockup-mobile {
    position: absolute; 
    width: 30%; 
    bottom: -20px; 
    right: 0px;  
    z-index: 2; 
    border: 3px solid #fff; 
}

.hero-container:hover .mockup-desktop {
    transform: translateX(-5px);
}
.hero-container:hover .mockup-mobile {
    transform: translateY(-10px) translateX(5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
    .mockup-wrapper {
        max-width: 100%; 
        padding: 10px 0 40px 0; 
    }
    .mockup-desktop {
        width: 90%; 
    }
    .mockup-mobile {
        width: 35%; 
        bottom: 0px; 
        right: -10px;
    }
}

.badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-text p {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* =========================================
   PAIN POINTS
   ========================================= */
.pain-points {
    padding: 80px 0;
    background: #fff;
    content-visibility: auto; /* Otimização de renderização */
}

.card-pain {
    background: #fffdfd; 
    border: 1px solid #ffeef5;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-card);
    will-change: transform;
}

.card-pain:hover {
    transform: translateY(-10px);
}

.card-pain .icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-pain h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card-pain p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.section-title{
    font-size: 2em;
}

/* =========================================
   SOBRE
   ========================================= */
.about {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(214, 51, 132, 0.03) 0%, transparent 40%);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Efeito da Imagem "Tech-Layered" */
.about-img-wrapper {
    position: relative;
    z-index: 1;
}

.glass-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    top: 20px;
    left: -20px;
    z-index: -1;
}

.about-perfil {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-img-wrapper:hover .about-perfil {
    transform: scale(1.02) rotate(-1deg);
}

/* Badge Flutuante <dev /> */
.tech-badge-float {
    position: absolute;
    bottom: 30px;
    right: -10px;
    background: #1a1a1a;
    color: #00f2ff; /* Ciano para contraste tech */
    padding: 10px 20px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-left: 3px solid var(--primary-color);
}

/* Texto e Tags */
.tag-modern {
    background: rgba(214, 51, 132, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block; /* Fundamental para que a margem funcione */
    margin-bottom: 1.5rem; /* Cria o espaço entre a tag e o h2 */
}

/* Card AIDA Modernizado */
.highlight-card-modern {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(214, 51, 132, 0.05);
    border: 1px solid #fceef5;
}

.card-icon {
    min-width: 50px;
    height: 50px;
    background: var(--tech-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.final-quote {
    color: var(--text-light);
    border-left: 2px solid var(--secondary-color);
    padding-left: 15px;
}

/* Mobile First - Ajustes */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .glass-bg { left: 0; top: 15px; }
    .highlight-card-modern { flex-direction: column; text-align: center; }
}

/* =========================================
   BENEFÍCIOS (VERSÃO PREMIUM)
   ========================================= */
.benefits {
    padding: 100px 0;
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas para desktop */
    gap: 25px;
    margin-bottom: 60px;
}

.benefit-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(214, 51, 132, 0.08);
    border-color: var(--secondary-color);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.benefit-card p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

/* INVESTMENT BOX REFINADA */
.investment-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.investment-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8266d 100%);
    color: white;
    padding: 50px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(214, 51, 132, 0.25);
}

.investment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.investment-content {
    flex: 2;
    text-align: left;
}

.investment-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.investment-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.investment-icon-side {
    flex: 1;
    font-size: 5rem;
    opacity: 0.2;
    display: flex;
    justify-content: center;
}

/* Ajuste de Responsividade */
@media screen and (max-width: 992px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; }
    
    .investment-box {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }
    
    .investment-content { text-align: center; }
    
    .investment-icon-side { display: none; }
}
/* =========================================
   PÚBLICO ALVO
   ========================================= */
.target-audience {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff0f5 100%);
    content-visibility: auto;
}

.card-target {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    will-change: transform;
}

.card-target:hover {
    transform: scale(1.05);
}

.icon-target {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: var(--secondary-color);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: inline-block; /* Correção para centralização */
}

/* =========================================
   PORTFOLIO
   ========================================= */
.portfolio {
    padding-top: 120px; 
    padding-bottom: 80px;
    background-color: #fff;
    content-visibility: auto;
}

.portfolio-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    transition: transform 0.3s ease;
    will-change: transform;
}

.portfolio-card:hover {
    transform: translateY(-5px); 
}

.portfolio-thumb {
    position: relative; 
    height: 200px;
    overflow: hidden; 
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(214, 51, 132, 0.85); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.btn-project {
    background: #fff;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transform: translateY(20px); 
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-project:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.portfolio-card:hover .btn-project {
    transform: translateY(0);
}

.portfolio-info {
    padding: 25px;
    border-top: 1px solid #f0f0f0;
}

.portfolio-cat {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 4px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0f172a;
    line-height: 1.3;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* =========================================
   TIMELINE (Processo)
   ========================================= */
.process {
    padding: 80px 0;
    background: #fff;
    position: relative;
    content-visibility: auto;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #ffd6e6; 
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.left { left: 0; }
.right { left: 50%; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 3px #ffd6e6; 
}

.right::after {
    left: -8px;
}

.timeline-content {
    padding: 30px;
    background-color: #fff0f5; 
    position: relative;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.right .timeline-content {
    background-color: #fff;
    border: 1px solid #fff0f5;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.step-num {
    font-size: 2rem;
    font-weight: 700;
    color: #eecfe0; 
}

.step-icon {
    /* 1. Definição do tamanho da caixa rosa */
    width: 50px !important;
    height: 50px !important;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    
    /* 2. O SEGREDO DA CENTRALIZAÇÃO (Flexbox Forçado) */
    display: flex !important;
    align-items: center !important;      /* Centraliza Verticalmente */
    justify-content: center !important;  /* Centraliza Horizontalmente */
    
    /* 3. Ajuste do tamanho do ícone (o desenho) */
    font-size: 1.4rem !important;        
    
    /* 4. Mata qualquer herança de texto que empurre o ícone */
    line-height: 1 !important;           
    margin: 0 !important;
    padding: 0 !important;
    
    /* 5. Mantém o alinhamento à direita no container pai */
    margin-left: auto !important;
    
    /* Opcional: Sombra suave para ficar mais bonito */
    box-shadow: 0 4px 10px rgba(214, 51, 132, 0.2);
}

/* Garante que o pseudo-elemento do ícone não tenha margens estranhas */
.step-icon::before {
    vertical-align: middle;
}

.time-tag {
    display: inline-block;
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.deadline-banner {
    background: linear-gradient(90deg, #d63384 0%, #e91e63 100%);
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
}

/* =========================================
   BRIEFING / FORM
   ========================================= */
.briefing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff0f5 0%, #ffeef8 100%);
}

.briefing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.briefing-text, .briefing-form-card {
    flex: 1;
}

.briefing-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #0f172a;
    line-height: 1.2;
}

.briefing-list {
    margin-top: 30px;
}

.briefing-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.briefing-list li i {
    color: var(--primary-color);
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.briefing-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(214, 51, 132, 0.15); 
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background-color: #fcfcfc;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(214, 51, 132, 0.1);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background-color: #1a1a1a; 
    color: #ccc;
    padding: 70px 0 20px 0;
    font-size: 0.95rem;
    content-visibility: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}
.footer-col h3 { font-size: 1.5rem; }
.footer-col h4 { font-size: 1.1rem; }

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ccc;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px; 
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    background: var(--primary-color);
    padding-left: 0; 
    transform: translateY(-3px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* =========================================
   CTA INTERMEDIA
   ========================================= */
.cta-intermedia {
    padding: 60px 0;
    background-color: var(--secondary-color);
    margin-bottom: 0;
    content-visibility: auto;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(214, 51, 132, 0.15);
    border: 1px solid #fff0f5;
}

.cta-text h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.btn-cta {
    white-space: nowrap; 
    padding: 15px 35px;
    font-size: 1rem;
}

/* =========================================
   RESPONSIVIDADE (Mobile)
   ========================================= */
@media screen and (max-width: 768px) {
    .hero-container, .about-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr; 
    }

    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 23px; }
    .left::after, .right::after { left: 23px; }
    .right { left: 0%; }

    .briefing-content { flex-direction: column; }
    .briefing-text { text-align: center; }
    .briefing-list li { justify-content: center; }
    .briefing-form-card { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .social-links, .contact-list li { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .cta-box { flex-direction: column; text-align: center; padding: 30px; }
    .btn-cta { width: 100%; }
}

/* =========================================
   FAQ
   ========================================= */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid #fff0f5;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background-color: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 20px 25px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Estado Ativo */
.faq-item.active .faq-answer {
    max-height: 300px; /* Altura suficiente para o texto */
    padding-top: 10px;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

:root {
    --primary: #d63384; 
    --secondary: #fae1ec; 
    --text: #2c2c2c; 
    --light: #666; 
    --white: #ffffff;
    --font: 'Poppins', sans-serif;
    --glass: rgba(250, 225, 236, 0.6);
}

/* RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--text); overflow-x: hidden; }

/* COMPONENTES MODERNOS */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

.text-gradient {
    background: linear-gradient(90deg, var(--primary), #ff85b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 51, 132, 0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* HERO - MOBILE DEFAULT */
.hero { padding: 60px 0; text-align: center; background: radial-gradient(circle at top right, rgba(214, 51, 132, 0.05), transparent); }

.hero-text h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 1rem; }

.mockup-wrapper { 
    position: relative; 
    margin-top: 3rem; 
    padding: 20px;
}

.mockup-desktop { 
    width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.mockup-mobile {
    position: absolute;
    width: 35%;
    bottom: -10px;
    right: 0;
    border: 3px solid var(--white);
    border-radius: 10px;
    animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -15px, 0); }
}

/* FAQ COM GRID (BOA PRÁTICA) */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    overflow: hidden;
}

.faq-item.active .faq-answer { grid-template-rows: 1fr; }

.faq-content { min-height: 0; padding: 0 20px 20px; }

/* MEDIA QUERIES - DESKTOP */
@media (min-width: 768px) {
    .hero { text-align: left; padding: 100px 0; }
    .hero-container { display: flex; align-items: center; gap: 50px; }
    .hero-text, .hero-img { flex: 1; }
    .hero-text h1 { font-size: 3rem; }
    
    .mockup-wrapper { perspective: 1000px; }
    .mockup-desktop { transform: rotateY(-5deg); }
}

/* =========================================
   REVISÃO MOBILE (Foco em UX e Estética)
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* Ajuste Geral dos Containers */
    .hero-container, .about-container, .briefing-content {
        display: grid;
        grid-template-columns: 1fr; /* Força o empilhamento correto */
        text-align: center;
        gap: 30px;
    }

    /* Seção Sobre (About) */
    .about-img-wrapper {
        order: -1; /* Garante que sua foto venha antes do texto no mobile */
        margin-bottom: 20px;
    }

    .glass-bg {
        left: 0; 
        top: 15px; 
        width: 100%;
    }

    .highlight-card-modern {
        flex-direction: column; /* Aqui o flex funciona pois o card interno é flex */
        padding: 20px;
        gap: 15px;
    }

    .card-icon {
        margin: 0 auto; /* Centraliza o ícone de código */
    }

    /* Seção CTA Intermediária (O card branco) */
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .cta-text h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .btn-cta {
        width: 100%; /* Botão largo é melhor para o polegar no mobile */
        display: block;
        margin-top: 20px;
        font-size: 0.95rem;
    }

    /* Timeline de Processo */
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 20px; text-align: left; }
    .timeline-item::after { left: 23px; }
    .left::after, .right::after { left: 23px; }
    .right { left: 0%; }
}
