/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
    --navy-950: #081a36;
    --navy-900: #0b2347;
    --navy-800: #0f2d5c;
    --blue-700: #15478f;
    --blue-600: #1d5bb8;
    --blue-500: #2f74d8;
    --blue-200: #c4d8f5;
    --blue-100: #dde9f9;
    --blue-50: #eef4fc;

    --surface: #ffffff;
    --surface-muted: #f5f8fc;
    --border: #e2e8f1;
    --text: #0f1c2e;
    --text-muted: #56657a;

    --whatsapp: #107c41;
    --whatsapp-hover: #0c6a37;
    --whatsapp-brand: #25d366;

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 2px rgba(15, 45, 92, 0.05), 0 2px 6px rgba(15, 45, 92, 0.05);
    --shadow: 0 16px 36px -16px rgba(15, 45, 92, 0.22);
    --shadow-lg: 0 36px 70px -24px rgba(15, 45, 92, 0.35);

    --header-h: 76px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    line-height: 1.15;
    color: var(--navy-800);
    text-wrap: balance;
}

.nowrap {
    white-space: nowrap;
}

:focus-visible {
    outline: 3px solid var(--blue-500);
    outline-offset: 3px;
}

::selection {
    background: var(--blue-100);
    color: var(--navy-900);
}

section[id] {
    scroll-margin-top: var(--header-h);
}

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

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 200;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--navy-800);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* ==========================================================================
   Elementos reutilizáveis
   ========================================================================== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-600);
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.eyebrow--pill {
    padding: 8px 16px 8px 12px;
    border: 1px solid var(--blue-100);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.eyebrow--pill::before {
    display: none;
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s ease-out infinite;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: 600 0.95rem/1.2 var(--font-sans);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.btn .icon {
    width: 1.2em;
    height: 1.2em;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 17px 30px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--navy-800);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(15, 45, 92, 0.7);
}

.btn-primary:hover {
    background: var(--blue-700);
    box-shadow: 0 16px 30px -12px rgba(15, 45, 92, 0.55);
}

.btn-outline {
    background: #fff;
    border-color: var(--border);
    color: var(--navy-800);
}

.btn-outline:hover {
    border-color: var(--blue-200);
    color: var(--blue-600);
    box-shadow: var(--shadow);
}

.btn-outline .icon {
    transition: transform 0.25s var(--ease);
}

.btn-outline:hover .icon {
    transform: translateX(3px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(15, 45, 92, 0.45);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue-600);
    text-decoration: none;
}

.link-arrow .icon {
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
    color: var(--navy-800);
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 42px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.topbar-links {
    display: flex;
    gap: 28px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-item .icon {
    color: #8fb6f0;
}

a.topbar-item:hover {
    color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--border);
    box-shadow: 0 10px 30px -20px rgba(15, 45, 92, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--blue-700), var(--navy-800));
    color: #fff;
    box-shadow: 0 8px 16px -8px rgba(15, 45, 92, 0.7);
}

.brand-mark .icon {
    width: 13px;
    height: 13px;
    margin-bottom: 1px;
}

.brand-mark span {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-800);
}

.brand-text span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
    color: var(--blue-600);
    background: var(--blue-50);
}

.nav-link.is-active {
    color: var(--navy-800);
    background: var(--blue-50);
    font-weight: 600;
}

.nav-cta {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy-800);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(8, 26, 54, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 128px);
    background:
        radial-gradient(900px 520px at 88% 8%, var(--blue-100), transparent 65%),
        radial-gradient(600px 400px at 0% 100%, var(--blue-50), transparent 70%),
        linear-gradient(180deg, #f7faff 0%, #fff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 45, 92, 0.09) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
    mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(48px, 6vw, 88px);
    align-items: center;
}

.hero-content h1 {
    margin: 24px 0 20px;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 3.6vw + 1.2rem, 4.4rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--blue-600);
}

.lead {
    max-width: 520px;
    font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust .icon {
    width: 18px;
    height: 18px;
    color: var(--blue-600);
}

.hero-media {
    position: relative;
    justify-self: center;
    width: min(100%, 440px);
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: 6% -7% -5% 12%;
    border-radius: var(--radius-xl);
    background: linear-gradient(150deg, var(--blue-500), var(--navy-800));
    transform: rotate(4deg);
}

.hero-photo {
    position: relative;
    aspect-ratio: 540 / 730;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid rgba(226, 232, 241, 0.8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.float-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy-800);
}

.float-card small {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.float-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue-50);
    color: var(--blue-600);
}

.float-card-icon .icon {
    width: 22px;
    height: 22px;
}

.float-card--doctor {
    left: -14%;
    bottom: 12%;
}

.float-card--today {
    top: 10%;
    right: -12%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    animation-delay: -3s;
}

.float-card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
}

.float-card--today strong {
    font-variant-numeric: tabular-nums;
}

.float-card--today strong span {
    display: block;
}

/* ==========================================================================
   Seções
   ========================================================================== */
.section {
    padding: clamp(80px, 10vw, 128px) 0;
}

.section--muted {
    background: var(--surface-muted);
}

.section-head {
    max-width: 660px;
    margin: 0 auto clamp(44px, 6vw, 64px);
    text-align: center;
}

.section-head h2,
.location-card h2,
.faq-intro h2,
.cta-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 2vw + 1.2rem, 2.9rem);
    font-weight: 500;
    letter-spacing: -0.015em;
}

.section-head h2 {
    margin: 14px 0 16px;
}

.section-head p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Corpo clínico */
.doctor-card,
.location-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.doctor-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.doctor-card:hover {
    border-color: var(--blue-100);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.doctor-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.doctor-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 0 0 4px var(--blue-50);
}

.doctor-avatar--initials {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--blue-500), var(--navy-800));
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff;
}

.doctor-specialty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
}

.doctor-head h3 {
    margin-top: 4px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.25;
}

.doctor-registry {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.doctor-registry li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--navy-800);
}

.doctor-registry .icon {
    color: var(--blue-600);
}

.doctor-place {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.doctor-place .icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.doctor-place--clinic {
    background: #ecfdf3;
    color: #05603a;
}

.doctor-place--external {
    background: #fff8eb;
    color: #7a4a00;
}

.schedule h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.schedule dl {
    display: grid;
    gap: 4px;
}

.schedule-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-muted);
    font-size: 0.92rem;
}

.schedule-row dt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--navy-800);
}

.schedule-row dd {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.schedule-row--closed dd {
    color: var(--text-muted);
}

.schedule-row.is-today {
    background: var(--blue-50);
    box-shadow: inset 3px 0 0 var(--blue-600);
}

.today-tag {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--blue-600);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.schedule-note {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.doctor-cta {
    width: 100%;
    margin-top: auto;
}

/* Alinha os blocos (cabeçalho, registros, local, horários) entre os cards */
@supports (grid-template-rows: subgrid) {
    .doctor-card {
        display: grid;
        grid-row: span 5;
        grid-template-rows: subgrid;
        row-gap: 20px;
    }

    .doctor-cta {
        align-self: end;
    }
}

/* Como agendar */
.section--navy {
    position: relative;
    overflow: hidden;
    background-color: var(--navy-800);
    background-image:
        radial-gradient(700px 400px at 100% 0%, rgba(47, 116, 216, 0.35), transparent 65%),
        radial-gradient(600px 400px at 0% 100%, rgba(47, 116, 216, 0.2), transparent 70%);
    color: #fff;
}

.section--navy .eyebrow {
    color: #8fb6f0;
}

.section--navy .section-head h2 {
    color: #fff;
}

.section--navy .section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.tracks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.track {
    padding: clamp(28px, 4vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

.track-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.track-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(143, 182, 240, 0.15);
    color: #b9d3fa;
}

.track-icon .icon {
    width: 24px;
    height: 24px;
}

.track-head h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.track-head p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
}

.steps {
    list-style: none;
}

.steps li {
    position: relative;
    display: flex;
    gap: 18px;
    padding-bottom: 28px;
}

.steps li:last-child {
    padding-bottom: 0;
}

.steps li:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 46px;
    bottom: 6px;
    left: 19px;
    width: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.step-num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
    color: #fff;
}

.steps h4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0 4px;
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
}

.steps p {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.72);
}

.steps .is-highlight .step-num {
    border-color: transparent;
    background: #fbbf24;
    color: var(--navy-900);
}

.step-tag {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.16);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fcd34d;
}

/* Dúvidas frequentes */
.faq-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}

.faq-intro h2 {
    margin: 14px 0 16px;
}

.faq-intro p {
    margin-bottom: 28px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
    border-color: var(--blue-100);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 600;
    color: var(--navy-800);
    list-style: none;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--blue-600);
}

.faq-item summary .icon {
    width: 20px;
    height: 20px;
    color: var(--blue-600);
    transition: transform 0.3s var(--ease);
}

.faq-item[open] summary .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 22px;
    color: var(--text-muted);
}

.faq-answer a {
    font-weight: 600;
    color: var(--blue-600);
}

/* Localização */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 24px;
    align-items: stretch;
}

.location-card {
    padding: clamp(32px, 4vw, 48px);
}

.location-card h2 {
    margin: 14px 0 12px;
}

.location-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-list {
    display: grid;
    gap: 22px;
    margin: 32px 0 36px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--blue-50);
    color: var(--blue-600);
}

.contact-icon .icon {
    width: 21px;
    height: 21px;
}

.contact-list strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-list a {
    font-weight: 600;
    color: var(--navy-800);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-list a:hover {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.map-frame {
    min-height: 460px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--blue-50);
    box-shadow: var(--shadow);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
}

/* Chamada final */
.cta {
    padding-bottom: clamp(80px, 10vw, 128px);
}

.cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    padding: clamp(40px, 5vw, 64px);
    border-radius: var(--radius-xl);
    background-color: var(--navy-900);
    background-image:
        radial-gradient(520px 320px at 100% 0%, rgba(47, 116, 216, 0.55), transparent 65%),
        linear-gradient(135deg, var(--navy-800), var(--navy-950));
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-box::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-text {
    max-width: 560px;
}

.cta-text h2 {
    color: #fff;
}

.cta-text p {
    margin-top: 12px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.cta-phone:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer {
    padding-top: 80px;
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.5fr 1.2fr;
    gap: 48px;
    padding-bottom: 64px;
}

.brand--light .brand-text strong {
    color: #fff;
}

.brand--light .brand-text span {
    color: rgba(255, 255, 255, 0.6);
}

.brand--light .brand-mark {
    background: linear-gradient(145deg, var(--blue-600), var(--blue-700));
}

.footer-brand p {
    max-width: 300px;
    margin-top: 20px;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social .icon {
    width: 19px;
    height: 19px;
}

.site-footer h3 {
    margin-bottom: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-doctors {
    gap: 16px;
}

.footer-doctors small {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact .icon {
    width: 17px;
    height: 17px;
    margin-top: 4px;
    color: #8fb6f0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.footer-legal {
    display: grid;
    gap: 4px;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 0.2s;
}

.back-to-top:hover {
    color: #fff;
}

/* ==========================================================================
   Botão flutuante do WhatsApp
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp-brand);
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(18, 140, 74, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.whatsapp-float:hover {
    transform: scale(1.07);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: pulse 2.4s ease-out infinite;
}

.whatsapp-float .icon {
    width: 30px;
    height: 30px;
}

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes reveal {
    from { opacity: 0; translate: 0 28px; }
    to { opacity: 1; translate: none; }
}

.js .reveal {
    opacity: 0;
}

.js .reveal.is-visible {
    animation: reveal 0.8s var(--ease) var(--delay, 0s) both;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
    }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
    .topbar-hours {
        display: none;
    }

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

    .float-card--doctor {
        left: -6%;
    }

    .float-card--today {
        right: -6%;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 68px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 12px 24px 24px;
        border-bottom: 1px solid var(--border);
        background: #fff;
        box-shadow: 0 24px 40px -24px rgba(15, 45, 92, 0.4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }

    .nav-list {
        flex-direction: column;
        gap: 2px;
    }

    .nav-link {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .nav-cta {
        display: flex;
    }

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

    .hero-media {
        width: min(100%, 400px);
        margin-top: 8px;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .tracks,
    .faq-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .faq-intro {
        position: static;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 380px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .topbar {
        display: none;
    }
}

@media (max-width: 560px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-text span {
        display: none;
    }

    .header-cta {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .header-cta .icon {
        width: 22px;
        height: 22px;
    }

    .header-cta-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
    }

    .float-card {
        padding: 10px 14px;
    }

    .float-card--doctor {
        left: -8px;
        bottom: 8%;
    }

    .float-card--today {
        top: 38%;
        right: -8px;
    }

    .doctor-card,
    .track,
    .location-card {
        padding: 24px;
    }

    .doctor-avatar {
        width: 60px;
        height: 60px;
    }

    .doctor-avatar--initials {
        font-size: 1.2rem;
    }

    .faq-item summary {
        padding: 18px 20px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .contact-list li {
        font-size: 0.95rem;
    }

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

    .cta-actions,
    .cta-actions .btn {
        width: 100%;
    }

    .cta-actions {
        align-items: center;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }
}
