/*
Theme Name: Ana Lucia
Theme URI: https://amedi.com.br
Author: Amedi
Author URI: https://amedi.com.br
Description: Tema institucional para Dra. Ana Lucia Carvalho — Neurocirurgiã. Desenvolvido por Amedi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: ana-lucia
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* — Cores primárias — */
    --teal:           #0B6E70;
    --teal-dark:      #074E50;
    --teal-light:     #158587;
    --teal-subtle:    #E6F3F3;

    /* — Destaque de título (cor especial para meio de títulos) — */
    --accent:         #C8923A;   /* âmbar/dourado quente */
    --accent-light:   #E8B06A;

    /* — Neutros — */
    --white:          #FFFFFF;
    --gray-50:        #F7F9F9;
    --gray-100:       #EFF3F3;
    --gray-200:       #E2EAEA;
    --gray-300:       #C9D8D8;
    --gray-400:       #9AB4B4;
    --gray-500:       #6B9090;
    --gray-600:       #4A6666;
    --gray-800:       #2D3F3F;
    --gray-900:       #1A2626;
    --text:           #1A2626;
    --text-muted:     #5A7070;
    --border:         #D8E8E8;
    --whatsapp:       #25D366;

    /* — Tipografia — */
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Lora', Georgia, serif;

    /* — Escala tipográfica — */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;

    /* — Espaçamento — */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* — Layout — */
    --container:    1140px;
    --container-sm: 720px;
    --radius-sm:    4px;
    --radius:       8px;
    --radius-lg:    16px;
    --radius-xl:    24px;

    /* — Sombras — */
    --shadow-sm:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow:      0 4px 16px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
    --shadow-teal: 0 8px 32px rgba(11,110,112,.22);

    /* — Transições — */
    --transition:      200ms ease;
    --transition-slow: 400ms ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* Destaque dourado em títulos — uso: <em>palavra</em> dentro de <h1>/<h2> */
h1 em, h2 em, h3 em {
    font-style: normal;
    color: var(--accent);
}

.text-muted  { color: var(--text-muted); }
.text-teal   { color: var(--teal); }
.text-accent { color: var(--accent); }
.text-small  { font-size: var(--text-sm); }
.text-center { text-align: center; }

/* ============================================================
   LAYOUT / CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-5);
}

.container--sm { max-width: var(--container-sm); }

section { padding-block: var(--space-16); }

.section--gray   { background: var(--gray-50); }
.section--teal   { background: var(--teal); color: var(--white); }
.section--subtle { background: var(--teal-subtle); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: var(--space-12); }
.section-header--center { text-align: center; }

.section-eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-subtle);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}

.section--teal .section-eyebrow {
    color: var(--white);
    background: rgba(255,255,255,.18);
}

.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 56ch;
}

.section-header--center .section-subtitle { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
    white-space: nowrap;
}

.btn:active { transform: scale(.98); }

.btn--primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: var(--shadow-teal);
}

.btn--primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 12px 40px rgba(11,110,112,.32);
}

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

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

.btn--ghost {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.35);
}

.btn--ghost:hover { background: rgba(255,255,255,.22); }

.btn--accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 28px rgba(200,146,58,.28);
}

.btn--accent:hover {
    background: #b07c28;
    box-shadow: 0 12px 36px rgba(200,146,58,.38);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(37,211,102,.28);
}

.btn--whatsapp:hover {
    background: #1ebe5d;
    box-shadow: 0 12px 40px rgba(37,211,102,.36);
}

.btn--lg {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-slow);
}

.site-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(11,110,112,.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: var(--space-6);
}

.navbar__brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex-shrink: 0;
}

.navbar__name {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--teal);
}

.navbar__specialty {
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: .04em;
}

.navbar__nav { display: none; }

.navbar__nav ul {
    display: flex;
    gap: var(--space-1);
}

.navbar__nav a {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.navbar__nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: var(--space-3);
    right: var(--space-3);
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.navbar__nav a:hover::after,
.navbar__nav a.current-menu-item::after { transform: scaleX(1); }

.navbar__nav a:hover,
.navbar__nav a.current-menu-item {
    color: var(--teal);
    background: var(--teal-subtle);
}

.navbar__cta { display: none; }

.navbar__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: var(--space-1);
}

.navbar__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.navbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-active span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__drawer {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    z-index: 99;
    padding: var(--space-6) var(--space-5);
    border-top: 1px solid var(--border);
    overflow-y: auto;
}

.navbar__drawer.is-open { display: block; }

.navbar__drawer ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
}

.navbar__drawer a {
    display: block;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-800);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}

.navbar__drawer a:hover { background: var(--gray-50); color: var(--teal); }
.navbar__drawer a.current-menu-item { background: var(--teal-subtle); color: var(--teal); }
.navbar__drawer .btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-block: var(--space-16) var(--space-20);
    background: linear-gradient(140deg, var(--teal-dark) 0%, var(--teal) 50%, #0D8080 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 80% 120%, rgba(200,146,58,.18) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at -10% 50%, rgba(255,255,255,.05) 0%, transparent 60%);
    pointer-events: none;
    animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0%   { opacity: .7; }
    100% { opacity: 1; }
}

/* Subtle grid pattern */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--space-10);
    align-items: center;
}

.hero__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.25);
    padding: var(--space-1) var(--space-3);
    border-radius: 100px;
    margin-bottom: var(--space-4);
}

.hero__title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--space-5);
}

/* Destaque dourado dentro do hero title */
.hero__title em {
    font-style: normal;
    color: var(--accent-light);
}

.hero__lead {
    font-size: var(--text-base);
    color: rgba(255,255,255,.82);
    margin-bottom: var(--space-8);
    max-width: 50ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,.15);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255,255,255,.78);
}

.trust-item__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .85;
}

.hero__image { display: none; }

.hero__photo-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    min-height: 320px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    color: var(--gray-400);
    font-size: var(--text-sm);
    text-align: center;
    padding: var(--space-8);
}

.img-placeholder svg { width: 48px; height: 48px; opacity: .5; }
.img-placeholder--card { min-height: 200px; border-radius: var(--radius) var(--radius) 0 0; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms ease, transform 600ms ease;
}

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

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

.reveal--left {
    transform: translateX(-28px);
}

.reveal--left.is-visible {
    transform: translateX(0);
}

.reveal--right {
    transform: translateX(28px);
}

.reveal--right.is-visible {
    transform: translateX(0);
}

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

.split--40-60 { }
.split--60-40 { }

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */

/* ============================================================
   CHECK LIST
   ============================================================ */
.check-list { display: flex; flex-direction: column; gap: var(--space-3); }

.check-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--text);
}

.check-list__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--teal-subtle);
    border-radius: 50%;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.check-list--light .check-list__item { color: rgba(255,255,255,.85); }
.check-list--light .check-list__icon { background: rgba(255,255,255,.18); color: var(--white); }

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--teal);
    background: var(--teal-subtle);
    border: 1px solid var(--gray-200);
    padding: var(--space-1) var(--space-3);
    border-radius: 100px;
    letter-spacing: .03em;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
    display: grid;
    gap: var(--space-6);
}

.cards-grid--2 { }
.cards-grid--3 { }
.cards-grid--4 { }

/* ============================================================
   ICON CARD
   ============================================================ */
.icon-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.icon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-subtle);
}

.icon-card__icon {
    width: 52px;
    height: 52px;
    background: var(--teal-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: var(--space-5);
    transition: background var(--transition), color var(--transition);
}

.icon-card:hover .icon-card__icon {
    background: var(--teal);
    color: var(--white);
}

.icon-card__icon svg { width: 26px; height: 26px; }

.icon-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.icon-card__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   PROC CARD (Procedimentos)
   ============================================================ */
.proc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

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

.proc-card__body { padding: var(--space-5); }

.proc-card__tag {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-2);
}

.proc-card__title {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
}

.proc-card__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   STATS GRID
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.stat-item {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: background var(--transition);
}

.stat-item:hover { background: rgba(255,255,255,.16); }

.stat-item__number {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-item__label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.72);
    line-height: 1.4;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    padding-block: var(--space-16);
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #0D8888 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 50% 120%, rgba(200,146,58,.20) 0%, transparent 65%);
    pointer-events: none;
    animation: cta-pulse 6s ease-in-out infinite alternate;
}

@keyframes cta-pulse {
    0%   { opacity: .5; transform: scale(.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

.cta-band .section-eyebrow { margin-bottom: var(--space-3); }

.cta-band__title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-band__text {
    font-size: var(--text-lg);
    color: rgba(255,255,255,.8);
    margin-bottom: var(--space-8);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.is-open { border-color: var(--teal); }

.faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    text-align: left;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    transition: background var(--transition), color var(--transition);
}

.faq-item__trigger:hover { background: var(--teal-subtle); color: var(--teal); }
.faq-item.is-open .faq-item__trigger { background: var(--teal-subtle); color: var(--teal); }

.faq-item__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(45deg);
    border-color: var(--teal);
    background: var(--teal);
    color: var(--white);
}

.faq-item__body {
    display: none;
    padding: 0 var(--space-6) var(--space-5);
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.is-open .faq-item__body { display: block; }

/* ============================================================
   STEPS (Como funciona)
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: var(--space-8); }

.step {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
}

.step__number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(11,110,112,.25);
    transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover .step__number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(11,110,112,.35);
}

.step__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-2);
    font-family: var(--font-serif);
}

.step__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* ============================================================
   CONTACT CARD
   ============================================================ */
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: box-shadow var(--transition-slow);
}

.contact-card:hover { box-shadow: var(--shadow-lg); }

.contact-card__icon {
    width: 48px;
    height: 48px;
    background: var(--teal-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: var(--space-4);
}

.contact-card__icon svg { width: 24px; height: 24px; }

.contact-card__title {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.contact-card__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
    background: var(--teal-subtle);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--space-5) var(--space-6);
    font-size: var(--text-sm);
    color: var(--gray-800);
}

.info-box--accent {
    background: #FDF5E8;
    border-color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,.75);
}

.footer-top {
    display: grid;
    gap: var(--space-10);
    padding-block: var(--space-16);
}

.footer-brand__name {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-1);
}

.footer-brand__specialty {
    font-size: var(--text-sm);
    color: var(--accent-light);
    margin-bottom: var(--space-1);
}

.footer-brand__crm {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.45);
    letter-spacing: .04em;
}

.footer-nav__title {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.45);
    margin-bottom: var(--space-4);
}

.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }

.footer-nav a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.65);
    transition: color var(--transition);
}

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

.footer-contact { display: flex; flex-direction: column; gap: var(--space-4); }

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,.65);
}

.footer-contact__item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; opacity: .6; }

.footer-contact__item a { transition: color var(--transition); }
.footer-contact__item a:hover { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-block: var(--space-6);
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
}

.footer-bottom span { font-size: var(--text-sm); color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent-light); }

.footer-bottom__links {
    display: flex;
    gap: var(--space-5);
}

.footer-bottom__links a { font-size: var(--text-xs); }

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 200;
    animation: wa-bounce 3s ease-in-out infinite;
    transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,.55);
    animation: none;
}

.wa-float svg { width: 28px; height: 28px; }

@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* ============================================================
   PAGE HERO (páginas internas)
   ============================================================ */
.page-hero {
    padding-block: var(--space-16) var(--space-12);
    background: linear-gradient(140deg, var(--teal-dark) 0%, var(--teal) 60%, #0D8080 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 110%, rgba(200,146,58,.15) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.25);
    padding: var(--space-1) var(--space-3);
    border-radius: 100px;
    margin-bottom: var(--space-4);
}

.page-hero__title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.page-hero__title em { font-style: normal; color: var(--accent-light); }

.page-hero__lead {
    font-size: var(--text-lg);
    color: rgba(255,255,255,.8);
    max-width: 60ch;
}

/* ============================================================
   PROSE (texto corrido)
   ============================================================ */
.prose { max-width: 72ch; }

.prose h2 {
    font-size: var(--text-2xl);
    color: var(--teal);
    margin-top: var(--space-12);
    margin-bottom: var(--space-4);
}

.prose h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.prose p {
    margin-bottom: var(--space-5);
    color: var(--text);
}

.prose ul, .prose ol {
    list-style: disc;
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
}

.prose li { margin-bottom: var(--space-2); }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-block: var(--space-24);
}

.not-found__code {
    font-family: var(--font-serif);
    font-size: 8rem;
    font-weight: 700;
    color: var(--teal-subtle);
    line-height: 1;
    margin-bottom: var(--space-4);
}

/* ============================================================
   RESPONSIVE — md (768px)
   ============================================================ */
@media (min-width: 768px) {

    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    .section-title { font-size: var(--text-4xl); }
    .page-hero__title { font-size: var(--text-4xl); }
    .hero__title { font-size: var(--text-4xl); }
    .cta-band__title { font-size: var(--text-4xl); }

    .split--40-60 { grid-template-columns: 2fr 3fr; }
    .split--60-40 { grid-template-columns: 3fr 2fr; }

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

    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom .container { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   RESPONSIVE — lg (1024px)
   ============================================================ */
@media (min-width: 1024px) {

    h1, .hero__title { font-size: var(--text-5xl); }
    .page-hero__title { font-size: var(--text-4xl); }

    .navbar__nav { display: block; flex: 1; }
    .navbar__cta { display: inline-flex; }
    .navbar__toggle { display: none; }

    .hero__inner { grid-template-columns: 1fr 1fr; }
    .hero__image { display: block; }

    .split { grid-template-columns: 1fr 1fr; }
    .split--40-60 { grid-template-columns: 2fr 3fr; }
    .split--60-40 { grid-template-columns: 3fr 2fr; }

    .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

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