/* =========================================================
   Harmonia Massagens — style.css
   Framework: WebFusion Digital — Documento Único v3.9
   ========================================================= */

/* ===== VARIÁVEIS E RESET ===== */
:root {
    --bg-color: #F8F9FA;
    --text-main: #2D3748;
    --text-light: #4A5568;
    --primary: #4A90A4;
    --primary-hover: #3A788A;
    --accent: #D4A373;
    --accent-hover: #C39262;
    --white: #FFFFFF;
    --accent-rgb: 212, 163, 115;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Skip link — acessibilidade (Módulo 9.2) */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(74, 144, 164, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
}

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-main);
}

.nav-cta {
    color: var(--white) !important;
}

.btn-outline-dark {
    color: #0F2B4D;
    border-color: #0F2B4D;
}

.btn-outline-dark:hover {
    background-color: #0F2B4D;
    color: var(--white);
}

/* ===== SEÇÕES ===== */
section {
    padding: 100px 0;
    scroll-margin-top: 96px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2rem;
    color: #0F2B4D;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ===== 1. HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.header.scrolled .nav-links a {
    color: var(--text-main);
}

.header.scrolled .nav-links a:hover {
    color: var(--primary);
}

.header.scrolled .mobile-toggle span {
    background-color: var(--text-main);
}

/* Header sólido para páginas auxiliares sem hero escuro (obrigado/404/manutenção) */
.header.header-solid {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.header.header-solid .nav-links a {
    color: var(--text-main);
}

.header.header-solid .nav-links a:hover {
    color: var(--primary);
}

.header.header-solid .mobile-toggle span {
    background-color: var(--text-main);
}

.header.header-solid .logo-clara {
    display: none;
}

.header.header-solid .logo-escura {
    display: block;
}

@media (max-width: 768px) {
    .header.header-solid {
        background: rgba(255, 255, 255, 0.97);
    }

    .header.header-solid .mobile-toggle span {
        background-color: var(--text-main);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
}

/* ---- Logo completo (header + footer) ---- */
@keyframes lotus-icon-breathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(74,144,164,0)); }
    50%       { transform: scale(1.04); filter: drop-shadow(0 0 8px rgba(74,144,164,0.3)); }
}

.logo-completo {
    height: 72px;
    width: auto;
    flex-shrink: 0;
    display: block;
    animation: lotus-icon-breathe 4s ease-in-out infinite;
    transform-origin: left center;
}

.brand-logo:hover .logo-completo {
    animation-play-state: paused;
}

.logo-completo-footer {
    height: 60px;
    animation-duration: 5s;
}

/* FIX v1.1: o logo é um <img src="...svg">, por isso o texto interno do SVG
   não pode ser recolorido via CSS/JS a partir do documento pai (o conteúdo de
   um <img> não integra o DOM da página). A versão anterior tentava mudar a
   cor do texto do SVG no scroll via `header.querySelectorAll('.logo-completo text')`,
   o que nunca funcionava — o logo claro ficava ilegível sobre o header branco.
   Correção aplicada conforme Módulo 2.9 do framework: usar duas versões do logo
   (clara e escura) e alternar via CSS, nunca duas imagens visíveis ao mesmo tempo. */
.logo-clara,
.logo-escura {
    position: relative;
}

.logo-escura {
    display: none;
}

.header.scrolled .logo-clara {
    display: none;
}

.header.scrolled .logo-escura {
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #E9DFC9;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== 2. HERO ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('../images/hero/hero-harmoniamassagens.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(20, 30, 40, 0.82) 0%, rgba(20, 30, 40, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: #F8F4EA;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(248, 244, 234, 0.92);
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ===== 3. SOBRE ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
}

/* ===== 3.5 ESPECIALISTA ===== */
.specialist {
    background-color: var(--white);
}

.specialist-header {
    text-align: center;
    margin-bottom: 60px;
}

.specialist-header h2 {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.8rem;
    font-weight: 300;
    color: #444;
}

.specialist-wrapper {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.specialist-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 580px;
}

.specialist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.specialist-image:hover img {
    transform: scale(1.03);
}

.specialist-content h3 {
    font-size: 2.2rem;
    color: #0F2B4D;
    margin-bottom: 28px;
}

.specialist-content {
    max-width: 580px;
}

.specialist-content p {
    color: #555;
    margin-bottom: 22px;
    font-size: 1.08rem;
    line-height: 1.9;
}

.specialist-content strong {
    color: #222;
}

/* ===== 4. SERVIÇOS ===== */
.services {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200, 169, 107, 0.15);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(15, 43, 77, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-media {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 28px 30px 32px;
}

.service-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(74, 144, 164, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: #0F2B4D;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== 4.5 COMO FUNCIONA ===== */
.how-it-works {
    background: linear-gradient(180deg, #FFFDF8 0%, #F7F3EB 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
}

.step-item {
    text-align: left;
    padding: 34px 26px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 169, 107, 0.15);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.step-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 43, 77, 0.10);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.step-item h4 {
    color: #0F2B4D;
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ===== 5. BENEFÍCIOS ===== */
.benefits {
    background: #F7F3EB;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: #FFFDF8;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 169, 107, 0.12);
    box-shadow: 0 10px 30px rgba(15, 43, 77, 0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 43, 77, 0.10);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(200, 169, 107, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.benefit-item h4 {
    color: #0F2B4D;
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 14px;
}

.benefit-item p {
    color: #5E6673;
    font-size: 1rem;
    line-height: 1.9;
}

/* ===== 6. AUTORIDADE ===== */
.authority {
    background-color: var(--text-main);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.authority h2 {
    color: var(--white);
}

.authority-subtitle {
    color: #CBD5E0;
    max-width: 600px;
    margin: 15px auto 0;
}

.authority-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.authority-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
}

.authority-item svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 15px;
}

.authority-item h4 {
    color: var(--white);
    font-size: 1rem;
    text-align: center;
}

/* ===== 7. EXPERIÊNCIA DE ATENDIMENTO ===== */
.testimonials {
    background-color: var(--bg-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
}

.trust-card {
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
}

.trust-card::before {
    content: '';
}

.trust-card h3 {
    color: #0F2B4D;
    font-size: 1.22rem;
    margin: 12px 0 10px;
}

.trust-card .testi-text {
    font-style: normal;
    margin-bottom: 0;
}

.trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 164, 0.1);
    color: var(--primary);
    font-size: 1.35rem;
}

.testi-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 30px;
}

.testi-grid::-webkit-scrollbar {
    height: 8px;
}

.testi-grid::-webkit-scrollbar-track {
    background: #E2E8F0;
    border-radius: 4px;
}

.testi-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #C8A96B, #B89458);
    border-radius: 4px;
}

.testi-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(15, 43, 77, 0.06);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(200, 169, 107, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 320px;
    max-width: 380px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.testi-card::before {
    content: "\201C";
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    color: rgba(212, 163, 115, 0.15);
    font-family: serif;
    line-height: 1;
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 43, 77, 0.12);
}

.stars {
    color: #F6E05E;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testi-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testi-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 16px;
}

/* Avatar por iniciais — sem foto de banco associada a nome/condição (Módulo 3.6 / 30.7) */
.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #2F5F6D);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--text-main);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.more-testimonials {
    text-align: center;
    margin-top: 40px;
}

.extra-testimonials {
    margin-top: 30px;
    animation: fadeTestimonials 0.5s ease;
}

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

.testi-disclaimer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-top: 28px;
}

/* ===== CORPORATIVO ===== */
.corporate {
    background-color: var(--white);
    overflow-x: hidden;
}

.corporate-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.corporate-content h3 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #0F2B4D;
}

.corporate-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.corporate-list {
    margin-top: 30px;
}

.corporate-list li {
    margin-bottom: 14px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.98rem;
    line-height: 1.7;
}

.corporate-cta {
    margin-top: 32px;
    display: inline-flex;
}

.corporate-image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.corporate-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 8. FAQ ===== */
.faq {
    background: #F7F3EB;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(15, 43, 77, 0.12);
    padding: 6px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    font-family: 'Playfair Display', serif;
    color: #0F2B4D;
    padding: 26px 0;
    line-height: 1.5;
    gap: 16px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.faq-question:hover {
    color: #C8A96B;
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.faq-toggle {
    color: #C8A96B;
    font-size: 1.5rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #4B5563;
    line-height: 1.9;
    font-size: 1rem;
}

.faq-answer p {
    padding-bottom: 24px;
}

.faq-item.active .faq-answer {
    max-height: 320px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq .section-title h2 {
    color: #0F2B4D;
}

.faq .section-title p {
    color: #5E6673;
}

/* ===== 9. CONTATO ===== */
.contact {
    background-color: var(--bg-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 43, 77, 0.10);
    border: 1px solid rgba(200, 169, 107, 0.15);
}

.contact-info {
    background: linear-gradient(135deg, #0F2B4D, #15385F);
    color: var(--white);
    padding: 60px;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-intro {
    margin-bottom: 40px;
    color: rgba(248,244,234,0.9);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 4px;
}

.info-item p {
    color: rgba(248, 244, 234, 0.85);
}

.contact-phone-link {
    color: inherit;
}

.contact-phone-link:hover {
    color: var(--accent);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-form-container {
    padding: 60px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.3s;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.contact-form-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0F2B4D;
}

.privacy-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-consent-checkbox {
    margin-top: 5px;
}

.privacy-consent-label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.88rem;
}

.privacy-link {
    font-size: inherit;
}

.form-submit-full {
    width: 100%;
}

.form-note {
    text-align: center;
    margin-top: 10px;
    font-size: 0.82rem;
    color: #718096;
}

/* Honeypot anti-spam — campo oculto (Módulo 6.7 / 21.5) */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-privacy-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 4px 0 18px;
    line-height: 1.6;
}

.form-privacy-note a,
.form-privacy-note button {
    color: var(--primary);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

/* ===== 10. FOOTER ===== */
.footer {
    background: #0F2B4D;
    color: rgba(248, 244, 234, 0.85);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.footer-brand-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-block p {
    margin-top: 16px;
    line-height: 1.8;
    max-width: 300px;
    color: rgba(248, 244, 234, 0.85);
}

.footer h4 {
    color: #F8F4EA;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
    color: rgba(248, 244, 234, 0.85);
}

.footer-links a {
    transition: color 0.3s;
    color: rgba(248, 244, 234, 0.85);
}

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

/* Coluna Informações Legais — mesmo padrão visual da Navegação (Módulo 2.4) */
.footer-legal button,
.footer-col .lgpd-link {
    display: block;
    width: auto;
    padding: 0;
    margin: 0 0 12px;
    background: none;
    border: 0;
    box-shadow: none;
    font: inherit;
    font-size: 1rem;
    color: rgba(248, 244, 234, 0.85);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.footer-legal button:hover {
    color: var(--accent);
    text-decoration: none;
}

.footer-legal button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: .25rem;
}

/* Redes sociais no rodapé (Anexo H) */
.social-row {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(248, 244, 234, 0.75);
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.social-btn svg {
    width: 17px;
    height: 17px;
}

.social-btn:hover {
    color: #F8F4EA;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
    transform: translateY(-2px);
}

.social-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Bloco inferior — padrão v3.9: copyright e aviso à esquerda, separador, crédito centralizado */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.88rem;
    color: rgba(248, 244, 234, 0.6);
}

.footer-bottom-left {
    text-align: left;
}

.footer-bottom-left p {
    margin-bottom: 4px;
}

.footer-bottom-credit {
    border-top: 1px solid rgba(var(--accent-rgb), .28);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    text-align: center;
}

.footer-bottom-credit a {
    color: #D4B06A;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-bottom-credit a:hover {
    color: #E8C49A;
}

/* ===== BOTÕES FLUTUANTES ===== */
.float-actions {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.back-to-top {
    background-color: var(--white);
    color: var(--primary);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15,43,77,0.08);
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.back-to-top.visivel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--primary);
    color: var(--white);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.whatsapp-float {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    animation: wa-pulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    animation-play-state: paused;
}

.whatsapp-float:focus-visible {
    outline: 3px solid #0F2B4D;
    outline-offset: 3px;
}

@keyframes wa-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .45);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* ===== ANIMAÇÕES ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOVIMENTO REDUZIDO (Módulo 9.4) ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== RESPONSIVO - TABLET (992px) ===== */
@media (max-width: 992px) {
    .about-wrapper,
    .corporate-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .corporate-content { order: 2; }
    .corporate-image   { order: 1; max-width: 100%; }

    .corporate-content h3 { font-size: 1.7rem; }
    .corporate-content p  { font-size: 1rem; line-height: 1.8; }

    .hero-content h1 { font-size: 3rem; }

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

    .specialist-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .specialist-image {
        height: auto;
        max-height: 480px;
    }

    .specialist-content {
        max-width: 100%;
    }

    .specialist-header {
        margin-bottom: 40px;
    }

    .specialist-content h3 { font-size: 1.8rem; }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 0.88rem;
    }
}

/* ===== RESPONSIVO - MOBILE (768px) ===== */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
        min-height: 72px;
        background: rgba(15, 43, 77, 0.95);
    }

    .nav-links {
        position: fixed;
        top: 72px;
        right: -100%;
        width: min(84%, 340px);
        height: calc(100vh - 72px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        padding: 30px 26px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-main);
        font-size: 1rem;
        line-height: 1.35;
        width: 100%;
        padding: 8px 0;
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 6px;
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-toggle span {
        background-color: var(--white);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .brand-logo {
        max-width: calc(100% - 60px);
        overflow: hidden;
    }

    .logo-completo {
        height: 52px;
    }

    /* Hero mobile */
    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.6rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-btns {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Contato */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-container {
        padding: 40px 24px;
    }

    /* Benefícios */
    .benefit-item h4 { font-size: 1.15rem; }
    .benefit-item p  { font-size: 0.96rem; line-height: 1.8; }

    /* FAQ */
    .faq-question {
        font-size: 0.96rem;
        padding-right: 8px;
        line-height: 1.5;
    }

    .faq-answer { font-size: 0.95rem; }

    /* Corporativo */
    .corporate-content h3 { font-size: 1.5rem; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom-left {
        text-align: left;
    }

    .float-actions {
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
    }

    section { padding: 70px 0; }
}

/* ===== RESPONSIVO - MOBILE PEQUENO (480px) ===== */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .about-content h2 { font-size: 2rem; }
    .specialist-content h3 { font-size: 1.6rem; }
    .about-stats { gap: 24px; }
}

/* ===== AJUSTES DA SEÇÃO DE EXPERIÊNCIA (MOBILE) ===== */
@media (max-width: 768px) {
    .testi-scroll-hint {
        display: block;
        text-align: center;
        font-size: 0.85rem;
        color: var(--text-light);
        margin-bottom: 16px;
        opacity: 0.8;
    }

    .testi-grid {
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 20px;
        padding-bottom: 0;
    }

    .testi-card {
        min-width: 100%;
        max-width: 100%;
        scroll-snap-align: none;
    }


    .more-testimonials {
        display: none;
    }

    .testi-scroll-hint {
        display: none;
    }
}

/* ===== BANNER DE COOKIES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0F2B4D;
    color: rgba(248, 244, 234, 0.92);
    z-index: 9000;
    padding: 18px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visivel {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 260px;
}

.cookie-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(248, 244, 234, 0.88);
}

.cookie-link {
    color: #D4A373;
    text-decoration: underline;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.cookie-link:hover { color: #E8C49A; }

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie-recusar,
.btn-cookie-preferencias {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(248,244,234,0.4);
    background: transparent;
    color: rgba(248,244,234,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie-recusar:hover,
.btn-cookie-preferencias:hover {
    border-color: rgba(248,244,234,0.8);
    color: #F8F4EA;
}

.btn-cookie-aceitar {
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    background: #D4A373;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie-aceitar:hover {
    background: #C39262;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .cookie-content { flex-direction: column; gap: 16px; }
    .cookie-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
}

/* ===== MODAIS ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 43, 77, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    padding: 20px;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.modal-overlay.aberto {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    animation: modalEntrar 0.3s ease;
    margin: auto;
}

@keyframes modalEntrar {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover { background: #f0f0f0; color: #333; }

.modal-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.modal-body {
    padding: 48px 48px 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h2 { font-size: 1.8rem; color: #0F2B4D; margin-bottom: 6px; }
.modal-updated { font-size: 0.82rem; color: #999; margin-bottom: 32px; }

.modal-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F2B4D;
    margin: 28px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.modal-body p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.modal-body ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 14px;
}

.modal-body ul li {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

.modal-body a { color: #4A90A4; text-decoration: underline; }

.modal-note {
    margin-top: 20px;
}

.modal-footer {
    padding: 20px 48px 32px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #E2E8F0;
    flex-shrink: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-modal-fechar {
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    background: #0F2B4D;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal-fechar:hover {
    background: #15385F;
    transform: translateY(-1px);
}

/* Preferências de cookies — categorias (Módulo 22.4) */
.cookie-pref-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #EDF2F7;
}

.cookie-pref-item:last-child { border-bottom: none; }

.cookie-pref-info h3 {
    margin: 0 0 6px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
}

.cookie-pref-info p {
    margin-bottom: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #CBD5E0;
    border-radius: 34px;
    transition: .3s;
}

.switch-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}

.switch input:checked + .switch-slider {
    background-color: var(--primary);
}

.switch input:checked + .switch-slider::before {
    transform: translateX(20px);
}

.switch input:disabled + .switch-slider {
    background-color: var(--primary);
    opacity: .6;
    cursor: not-allowed;
}

.switch input:focus-visible + .switch-slider {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .modal-body   { padding: 40px 24px 20px; }
    .modal-footer { padding: 16px 24px 24px; }
    .modal-body h2 { font-size: 1.5rem; }
}

/* ===== PÁGINAS AUXILIARES (obrigado / 404 / manutenção) ===== */
.aux-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 24px 100px;
    background: linear-gradient(180deg, #F8F9FA 0%, #F7F3EB 100%);
    text-align: center;
}

.aux-page-box {
    max-width: 620px;
}

.aux-page-icon {
    font-size: 3.4rem;
    margin-bottom: 24px;
}

.aux-page-box h1 {
    font-size: 2.4rem;
    color: #0F2B4D;
    margin-bottom: 20px;
}

.aux-page-box p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.aux-page-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .trust-grid {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        padding-bottom: 0;
    }

    .trust-card {
        min-width: 0;
        max-width: none;
    }
}
