/*
Theme Name: Victor
Theme URI: https://amedi.com.br
Author: Amedi
Author URI: https://amedi.com.br
Description: Tema institucional para Dr. Victor Varela — Cirurgião Plástico. 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: victor
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Cores */
    --navy:          #1B3A5C;
    --navy-dark:     #0F2540;
    --navy-light:    #2A5280;
    --navy-subtle:   #EBF0F7;
    --white:         #FFFFFF;
    --gray-50:       #F8F9FA;
    --gray-100:      #F1F3F5;
    --gray-200:      #E9ECEF;
    --gray-300:      #DEE2E6;
    --gray-400:      #ADB5BD;
    --gray-500:      #868E96;
    --gray-600:      #495057;
    --gray-800:      #343A40;
    --gray-900:      #212529;
    --text:          #1A1A2E;
    --text-muted:    #5C6370;
    --border:        #E2E8F0;
    --whatsapp:      #25D366;

    /* Tipografia */
    --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif:    'Playfair Display', 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,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow:     0 4px 16px rgba(0,0,0,.08), 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,.06);
    --shadow-navy:0 8px 32px rgba(27,58,92,.18);

    /* Transições */
    --transition: 200ms ease;
    --transition-slow: 350ms 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.7;
    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; }

.text-muted   { color: var(--text-muted); }
.text-navy    { color: var(--navy); }
.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--navy   { background: var(--navy); color: var(--white); }
.section--subtle { background: var(--navy-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(--navy);
    background: var(--navy-subtle);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}

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

.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);
    white-space: nowrap;
}

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

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

.btn--primary:hover {
    background: var(--navy-dark);
    box-shadow: 0 12px 40px rgba(27,58,92,.28);
}

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

.btn--outline:hover {
    background: var(--navy);
    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--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);
}

.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(--navy);
}

.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);
}

.navbar__nav a:hover,
.navbar__nav a.current-menu-item {
    color: var(--navy);
    background: var(--navy-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); }

/* Mobile menu drawer */
.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(--navy); }
.navbar__drawer a.current-menu-item { background: var(--navy-subtle); color: var(--navy); }

.navbar__drawer .btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-block: var(--space-16) var(--space-20);
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 110%, rgba(42,82,128,.5) 0%, transparent 70%),
        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.025'%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::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/wp-content/themes/victor/assets/images/doctor-examining-womans-face-cosmetic-treatment.webp') center/cover no-repeat;
    opacity: .18;
    transform: scaleX(-1);
    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,.7);
    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);
}

.hero__title em {
    font-style: normal;
    color: rgba(255,255,255,.75);
}

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

.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,.75);
}

.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 {
    width: 100%;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--gray-400);
    padding: var(--space-12) var(--space-6);
    border: 2px dashed var(--gray-300);
    font-size: var(--text-sm);
    text-align: center;
    aspect-ratio: 3/4;
}

.img-placeholder--wide  { aspect-ratio: 16/9; }
.img-placeholder--square{ aspect-ratio: 1/1; }
.img-placeholder--card  { aspect-ratio: 4/3; }

.img-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: .4;
}

.img-placeholder span { font-weight: 500; }

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

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.card__image { aspect-ratio: 4/3; overflow: hidden; }
.card__image .img-placeholder { border-radius: 0; border: none; height: 100%; aspect-ratio: auto; }

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

.card__eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: var(--space-2);
}

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

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

.card__footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

.icon-card__icon svg { width: 26px; height: 26px; color: var(--navy); }

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

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

/* Procedure cards */
.proc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.proc-card__image { aspect-ratio: 3/2; position: relative; overflow: hidden; }
.proc-card__image .img-placeholder { border-radius: 0; border: none; height: 100%; aspect-ratio: auto; }

.proc-card__body { padding: var(--space-6); flex: 1; }

.proc-card__tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy-subtle);
    padding: 2px var(--space-2);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}

.proc-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

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

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}

.accordion__item {
    border-bottom: 1px solid var(--border);
}

.accordion__item:last-child { border-bottom: none; }

.accordion__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: none;
    transition: background var(--transition), color var(--transition);
}

.accordion__trigger:hover {
    background: var(--gray-50);
    color: var(--navy);
}

.accordion__trigger.is-active {
    color: var(--navy);
    background: var(--navy-subtle);
}

.accordion__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}

.accordion__trigger.is-active .accordion__icon {
    background: var(--navy);
    transform: rotate(45deg);
}

.accordion__icon svg { width: 10px; height: 10px; }
.accordion__trigger:hover .accordion__icon { background: var(--navy); }
.accordion__trigger:hover .accordion__icon svg { color: var(--white); }
.accordion__trigger.is-active .accordion__icon svg { color: var(--white); }

.accordion__body {
    display: none;
    padding: var(--space-2) var(--space-6) var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion__body p { margin-bottom: var(--space-3); }
.accordion__body p:last-child { margin-bottom: 0; }

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

/* ============================================================
   CHECK LIST / FEATURE 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-sm);
    line-height: 1.6;
}

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

.check-list__icon svg { width: 10px; height: 10px; color: var(--white); }

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

/* ============================================================
   CREDENTIAL / STAT ITEM
   ============================================================ */
.cred-grid {
    display: grid;
    gap: var(--space-4);
}

.cred-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

.cred-item__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy);
    margin-top: var(--space-2);
}

.cred-item__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-1);
}

.cred-item__sub {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

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

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

.stat-item__label {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.65);
    letter-spacing: .04em;
}

/* ============================================================
   CONTACT / INFO
   ============================================================ */
.contact-grid {
    display: grid;
    gap: var(--space-5);
}

.contact-card {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition);
}

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

.contact-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--navy-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__icon svg { width: 22px; height: 22px; color: var(--navy); }

.contact-card__label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.contact-card__value {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-1);
}

.contact-card__note {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Map placeholder */
.map-placeholder {
    width: 100%;
    height: 320px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.map-placeholder svg { width: 40px; height: 40px; opacity: .4; }

/* ============================================================
   STEP / PROCESS
   ============================================================ */
.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    position: relative;
}

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

.step__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    margin-top: 2px;
}

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

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

/* ============================================================
   RECOVERY TABLE
   ============================================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.timeline__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-bottom: 1px solid var(--border);
}

.timeline__item:last-child { border-bottom: none; }

.timeline__period {
    padding: var(--space-4) var(--space-5);
    background: var(--navy-subtle);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border);
}

.timeline__desc {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    align-items: center;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    padding-block: var(--space-16);
    text-align: center;
}

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

.cta-band__text {
    color: rgba(255,255,255,.75);
    margin-bottom: var(--space-8);
    max-width: 48ch;
    margin-inline: auto;
}

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

/* ============================================================
   ALERT / NOTICE
   ============================================================ */
.notice {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius);
    border-left: 4px solid var(--navy);
    background: var(--navy-subtle);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
}

.notice strong { color: var(--navy); }

/* ============================================================
   LEGAL / PROSE PAGES
   ============================================================ */
.prose {
    max-width: 72ch;
}

.prose h2 {
    font-size: var(--text-xl);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
    color: var(--navy);
}

.prose h2:first-of-type {
    margin-top: var(--space-6);
    padding-top: 0;
    border-top: none;
}

.prose h3 {
    font-size: var(--text-base);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    font-family: var(--font-sans);
}

.prose p {
    margin-bottom: var(--space-4);
    color: var(--text-muted);
    font-size: var(--text-base);
}

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

.prose ul li {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    line-height: 1.65;
}

.prose strong { color: var(--text); }

.legal-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--border);
    padding-block: var(--space-12);
}

.legal-header__meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-3);
}

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

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

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

.footer-brand__specialty {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.5);
    margin-bottom: var(--space-5);
}

.footer-brand__crm {
    font-size: var(--text-xs);
    color: rgba(255,255,255,.4);
    font-family: monospace;
    letter-spacing: .05em;
}

.footer-nav__title {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    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,.55);
    transition: color var(--transition);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-block: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: rgba(255,255,255,.35);
}

.footer-bottom a {
    color: rgba(255,255,255,.45);
    transition: color var(--transition);
}

.footer-bottom a:hover { color: rgba(255,255,255,.75); }

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

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-5);
    z-index: 200;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    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);
}

.wa-float svg { width: 28px; height: 28px; color: var(--white); }

/* ============================================================
   CONTENT HEADER (page inner hero)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    padding-block: var(--space-16);
}

.page-hero__eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: var(--space-3);
}

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

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

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

.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child  { order: 1; }

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    background: var(--navy-subtle);
    color: var(--navy);
    border: 1px solid rgba(27,58,92,.15);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
    height: 1px;
    background: var(--border);
    margin-block: var(--space-12);
}

/* ============================================================
   RESPONSIVE — TABLET (≥ 640px)
   ============================================================ */
@media (min-width: 640px) {
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }

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

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

    .timeline__item { grid-template-columns: 160px 1fr; }

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

/* ============================================================
   RESPONSIVE — DESKTOP (≥ 960px)
   ============================================================ */
@media (min-width: 960px) {
    h1 { font-size: var(--text-5xl); }

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

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

    /* Navbar desktop */
    .navbar__nav  { display: flex; }
    .navbar__cta  { display: flex; }
    .navbar__toggle { display: none; }

    /* Hero */
    .hero { padding-block: var(--space-20) var(--space-24); }
    .hero__inner { grid-template-columns: 1fr 420px; gap: var(--space-16); }
    .hero__image { display: block; }

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

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

    /* Split */
    .split { grid-template-columns: 1fr 1fr; }
    .split--60-40 { grid-template-columns: 3fr 2fr; }
    .split--40-60 { grid-template-columns: 2fr 3fr; }
    .split--reverse > :first-child { order: 0; }
    .split--reverse > :last-child  { order: 0; }

    /* Footer */
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
