/* ============================================================
   Clínica Aline Gebara — Stylesheet
   Design: Navy + Gold | Playfair Display + DM Sans
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === VARIABLES === */
:root {
    --navy:       #0d1e36;
    --navy-700:   #162d4f;
    --navy-500:   #1e3f6e;
    --gold:       #c4973a;
    --gold-200:   #e8c97a;
    --gold-100:   #f5edd6;
    --white:      #ffffff;
    --bg:         #faf9f7;
    --bg-2:       #f0ede8;
    --text:       #1a1a1a;
    --text-2:     #555555;
    --text-3:     #888888;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm:  0 2px 8px  rgba(13,30,54,.07);
    --shadow-md:  0 8px 28px rgba(13,30,54,.11);
    --shadow-lg:  0 20px 60px rgba(13,30,54,.17);

    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 40px;
}

/* === UTILITIES === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.section { padding: clamp(5rem, 10vw, 8rem) 0; }

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.0625rem;
    color: var(--text-2);
    line-height: 1.75;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1;
}
.btn svg { flex-shrink: 0; }

.btn--gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn--gold:hover {
    background: #b08530;
    border-color: #b08530;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,151,58,.38);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.55);
}
.btn--outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}

.btn--outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--xl { padding: 1.125rem 2.75rem; font-size: 1.0625rem; }

/* === HEADER / NAV === */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.375rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled,
.header--solid {
    background: rgba(13,30,54,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 40px rgba(0,0,0,.28);
    padding: 0.75rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav__logo img {
    height: 60px;
    width: auto;
    transition: opacity var(--transition);
}
.nav__logo:hover img { opacity: 0.85; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,.82);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
    padding-bottom: 2px;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width var(--transition);
    border-radius: 2px;
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { font-size: 0.875rem; padding: 0.6rem 1.5rem; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav__links { text-align: center; }
.mobile-nav__links li { margin-bottom: 2rem; }
.mobile-nav__links a {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--white);
    font-weight: 700;
    transition: color var(--transition);
}
.mobile-nav__links a:hover { color: var(--gold-200); }

/* === HERO === */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
}
.hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    will-change: transform;
    transform-origin: center;
    will-change: transform;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(13,30,54,.92) 0%, rgba(13,30,54,.6) 52%, rgba(13,30,54,.12) 100%),
        linear-gradient(to top,   rgba(13,30,54,.88) 0%, transparent 38%);
}

/* Content */
.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: calc(clamp(5rem, 10vw, 8rem) + 80px);
    padding-bottom: clamp(5rem, 10vw, 8rem);
    padding-left: calc(max(0px, (100vw - 1280px) / 2) + clamp(1.25rem, 4vw, 4rem));
    padding-right: clamp(1.25rem, 4vw, 4rem);
}

.hero__left {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    min-width: 0;
}

.hero__right {
    display: none;
}

.hero__right .stat__value { justify-content: flex-start; }
.hero__stat-item + .hero__stat-item {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 2rem;
}


.hero__eyebrow {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-200);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.3s var(--ease) forwards;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.5s var(--ease) forwards;
}
.hero__title em {
    font-style: italic;
    color: var(--gold-200);
}

.hero__desc {
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    color: rgba(255,255,255,.78);
    line-height: 1.8;
    max-width: none;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.7s var(--ease) forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.9s var(--ease) forwards;
}

.hero__scroll {
    display: none;
}
.hero__scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
    animation: scrollLine 1.8s 1.5s ease-in-out infinite;
}

/* Stats bar */
.hero__stats {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    background: rgba(13,30,54,.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(196,151,58,.18);
    opacity: 0;
    animation: fadeUp 0.7s 1.1s var(--ease) forwards;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0.5rem 2rem;
    position: relative;
}
.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0; top: 10%; height: 80%;
    width: 1px;
    background: rgba(196,151,58,.25);
}

.stat__value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.stat__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gold-200);
    line-height: 1;
}
.stat__suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-200);
    line-height: 1;
    margin-top: 0.15rem;
}
.stat__label {
    font-size: 0.78rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.35rem;
}

/* === SOBRE === */
.sobre { background: var(--bg); }

.sobre__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.sobre__image-wrap {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}
.sobre__image-wrap img {
    width: 100%;
    border-radius: var(--r-lg);
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.sobre__image-wrap::before {
    content: '';
    position: absolute;
    top: -1.5rem; right: -0.5rem;
    width: 55%; height: 55%;
    border: 2px solid rgba(196,151,58,.25);
    border-radius: var(--r-lg);
    z-index: 0;
}
.sobre__badge {
    position: absolute;
    bottom: 0; right: 0;
    background: var(--gold);
    color: var(--white);
    padding: 1.25rem 1.75rem;
    border-radius: var(--r-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.sobre__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}
.sobre__badge span { font-size: 0.8rem; opacity: 0.9; }

.sobre__content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.sobre__content .subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.sobre__content p {
    font-size: 1.0625rem;
    color: var(--text-2);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.sobre__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.75rem 0 2rem;
}
.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gold-100);
    color: var(--navy);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(196,151,58,.22);
    letter-spacing: 0.01em;
}

/* === SERVIÇOS === */
.servicos { background: var(--bg-2); }

.servicos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    border: 1px solid rgba(0,0,0,.04);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.service-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.service-card:hover .service-card__img img { transform: scale(1.06); }

.service-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,30,54,.55), transparent 60%);
}

.service-card__body {
    padding: 1.5rem 1.75rem 2rem;
}
.service-card__icon {
    width: 44px; height: 44px;
    background: var(--gold-100);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center; justify-content: center;
    margin-bottom: 1rem;
    color: var(--gold);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.625rem;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.service-card__list li {
    font-size: 0.85rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-card__list li::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.375rem;
    padding: 0.65rem 1rem;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-card__btn:hover {
    background: #b08530;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198,156,68,.35);
}
.service-card__btn svg { flex-shrink: 0; }

/* === A CLÍNICA === */
.clinica { background: var(--navy); }

.clinica__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.clinica .eyebrow { color: var(--gold-200); }
.clinica__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.clinica__content p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.68);
    line-height: 1.85;
    margin-bottom: 2rem;
}

.clinica__features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}
.clinica__feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.9375rem;
    color: rgba(255,255,255,.78);
}
.clinica__feature::before {
    content: '';
    width: 9px; height: 9px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.clinica__image-wrap { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.clinica__image-wrap img {
    width: 100%;
    border-radius: var(--r-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}
.clinica__image-wrap img:last-child { object-position: center 25%; }
.clinica__image-wrap::after {
    content: '';
    position: absolute;
    bottom: -1.5rem; left: -1.5rem;
    width: 55%; height: 55%;
    border: 2px solid rgba(196,151,58,.2);
    border-radius: var(--r-lg);
    z-index: -1;
}

/* === CONTATO === */
.contato { background: var(--bg); }

.contato__cta {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 5rem;
}
.contato__cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.contato__cta h2 em { font-style: italic; color: var(--gold); }
.contato__cta p {
    font-size: 1.125rem;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.contato__nota {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-100);
    color: var(--navy);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.5rem;
    border: 1px solid rgba(196,151,58,.25);
}

.contato__info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.info-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.05);
    transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.info-card__icon {
    width: 52px; height: 52px;
    background: var(--gold-100);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    color: var(--gold);
}
.info-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.info-card p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.65;
}

/* === FOOTER === */
.footer {
    background: #09162a;
    color: rgba(255,255,255,.65);
    padding: 3.5rem 0 2rem;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 1.75rem;
}

.footer__logo img {
    height: 60px;
    margin-bottom: 1rem;
}
.footer__logo p {
    font-size: 0.875rem;
    color: var(--white);
    line-height: 1.75;
    max-width: 280px;
}

.footer__nav h5,
.footer__contact h5,
.footer__hours h5 {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gold-200);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-transform: none;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__nav a {
    font-size: 0.875rem;
    color: var(--white);
    transition: color var(--transition);
}
.footer__nav a:hover { color: var(--gold-200); }

.footer__contact p {
    font-size: 0.875rem;
    color: var(--white);
    line-height: 1.75;
    margin-bottom: 0.5rem;
}
.footer__contact a {
    color: var(--white);
    transition: opacity var(--transition);
}
.footer__contact a:hover { color: var(--gold-200); opacity: 1; }

.footer__hours p {
    font-size: 0.875rem;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--white);
}
.footer__bottom a { color: var(--white); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--gold-200); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 900;
    background: #25d366;
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 6px 28px rgba(37,211,102,.42);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 40px rgba(37,211,102,.55);
    animation: none;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scrollLine {
    0%   { transform: scaleY(1);   opacity: 1; }
    50%  { transform: scaleY(0.4); opacity: 0.4; }
    100% { transform: scaleY(1);   opacity: 1; }
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,.42); }
    50%       { box-shadow: 0 6px 48px rgba(37,211,102,.7); }
}

/* Scroll-trigger animations */
.anim {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim.anim--left  { transform: translateX(-32px); }
.anim.anim--right { transform: translateX(32px); }
.anim.anim--scale { transform: scale(0.94); }
.anim.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* === DEPOIMENTOS === */
.depoimentos {
    background: #f8f7f4;
}

.dep-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.dep-overall__score {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
}

.dep-overall__stars {
    color: #FBBC04;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.dep-overall__sep {
    color: #bbb;
}

.dep-overall__label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.depoimentos__wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.depoimentos__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0.25rem 1rem;
    flex: 1;
}

.depoimentos__track::-webkit-scrollbar { display: none; }

.dep-card {
    flex: 0 0 calc(33.333% - 0.84rem);
    scroll-snap-align: start;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dep-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dep-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--av, #1A73E8);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.dep-card__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.dep-card__name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dep-card__stars {
    color: #FBBC04;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.dep-card__glogo {
    flex-shrink: 0;
}

.dep-card__text {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.dep-nav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.dep-nav:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.dep-nav:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}


@media (max-width: 1024px) {
    .dep-card { flex: 0 0 calc(50% - 0.625rem); }
}

@media (max-width: 768px) {
    .depoimentos__wrap {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
    }

    .depoimentos__track {
        order: 0;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .dep-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .dep-nav {
        display: flex;
        position: static;
        transform: none;
        order: 1;
        margin-top: 1.25rem;
    }
}

/* === TOUCH / TAP IMPROVEMENTS === */
a, button, .btn, .service-card, .info-card, .nav__links a {
    -webkit-tap-highlight-color: transparent;
}
.btn { touch-action: manipulation; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .servicos__grid { grid-template-columns: repeat(2, 1fr); }
    .contato__info-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* Substitui translateX por translateY para evitar overflow horizontal */
    .anim.anim--left,
    .anim.anim--right { transform: translateY(24px); }

    /* ----- Nav ----- */
    .nav__links, .nav__cta { display: none; }
    .hamburger { display: flex; }

    .header {
        background: rgba(13,30,54,.9);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 0.9rem 0;
    }

    /* ----- Hero mobile ----- */
    .hero {
        min-height: calc(100svh + 80px);
        background: var(--navy);
    }

    /* Imagem cobre a tela toda, rosto visível no centro-direita */
    .hero__media img {
        object-position: 65% center;
        transform: none;
    }

    /* Overlay: escuro na esquerda (stats) + escuro embaixo (texto), claro no centro p/ rosto */
    .hero__overlay {
        background:
            linear-gradient(to right,  rgba(13,30,54,.82) 0%, rgba(13,30,54,.0) 48%),
            linear-gradient(to top,    rgba(13,30,54,.96) 0%, rgba(13,30,54,.5) 38%, rgba(13,30,54,.0) 58%);
    }

    .hero__content {
        position: absolute;
        bottom: 80px;
        left: 0;
        right: 0;
        z-index: 3;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0 clamp(1.25rem, 4vw, 2rem) 1.75rem;
    }

    .hero__left { max-width: 100%; min-width: 0; }

    .hero__eyebrow { margin-bottom: 0.375rem; }
    .hero__title {
        font-size: clamp(1.875rem, 7.5vw, 2.5rem);
        margin-bottom: 0.625rem;
    }
    .hero__desc {
        font-size: 1.35rem;
        line-height: 1.65;
        margin-bottom: 0;
    }
    .hero__scroll { display: none; }

    /* Botões empilhados full width */
    .hero__actions { flex-direction: column; align-items: stretch; gap: 0.5rem; margin-top: 0.75rem; }
    .hero__actions .btn { justify-content: center; }

    .hero__right { display: none; }

    /* Stats: faixa vertical na esquerda */
    .hero__stats {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        padding: 1.25rem 0;
        background: rgba(13,30,54,.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(196,151,58,.18);
        opacity: 1;
        animation: none;
    }
    .stats-grid { flex-direction: row; flex-wrap: nowrap; gap: 0; }
    .stat { flex: 1; min-width: 0; padding: 0.25rem 0.5rem; }
    .stat + .stat { border-top: none; padding-top: 0; }
    .stat + .stat::before { display: block; }
    .stat__number { font-size: clamp(1.3rem, 5vw, 1.75rem); }
    .stat__suffix { font-size: 0.8rem; }
    .stat__label  { font-size: 0.55rem; letter-spacing: 0.07em; }

    /* ----- Seções ----- */
    .sobre__grid,
    .clinica__grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .sobre__image-wrap { padding-right: 0; padding-bottom: 3rem; }
    .sobre__image-wrap::before { display: none; }
    .sobre__badge { right: 0.5rem; }

    .clinica__image-wrap { order: -1; }
    .clinica__image-wrap::after { display: none; }

    .servicos__grid { grid-template-columns: 1fr; }
    .contato__info-grid { grid-template-columns: repeat(2, 1fr); }

    /* ----- Footer mobile: centralizado e organizado ----- */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer__logo { grid-column: auto; }
    .footer__logo img { margin: 0 auto 1rem; }
    .footer__logo p { margin: 0 auto; max-width: 280px; }

    .footer__nav h5 { margin-bottom: 0.75rem; }
    .footer__nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem 1.25rem;
    }

    .footer__contact h5 { margin-bottom: 0.75rem; }
    .footer__contact p { text-align: center; }

    .footer__bottom { flex-direction: column; text-align: center; gap: 0.375rem; }

    /* ----- WhatsApp float redondo ----- */
    .whatsapp-float { padding: 1rem; border-radius: 50%; bottom: 1.5rem; right: 1.25rem; }
    .whatsapp-float span { display: none; }
}

@media (max-width: 480px) {
    .contato__info-grid { grid-template-columns: 1fr; }
    .sobre__tags { gap: 0.375rem; }
    .tag { font-size: 0.75rem; padding: 0.35rem 0.875rem; }
    .section { padding: clamp(3.5rem, 8vw, 5rem) 0; }
}

/* Smooth scrolling no iOS */
@supports (-webkit-overflow-scrolling: touch) {
    html { -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */

/* ── Shared buttons ── */
.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.cookie-btn--primary  { background: var(--gold); color: var(--navy); }
.cookie-btn--primary:hover { background: var(--gold-200); }
.cookie-btn--outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.cookie-btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.cookie-btn--ghost    { background: transparent; color: rgba(255,255,255,0.6); }
.cookie-btn--ghost:hover { color: var(--white); }

/* ── Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--navy);
    border-top: 2px solid var(--gold);
    padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner--visible { transform: translateY(0); }

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 200px; }
.cookie-banner__text strong { color: var(--white); font-size: 0.95rem; display: block; margin-bottom: 0.3rem; }
.cookie-banner__text p { color: rgba(255,255,255,0.7); font-size: 0.82rem; line-height: 1.5; margin: 0; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* ── Manage button in footer ── */
.cookie-manage-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 0;
    transition: color 0.2s;
}
.cookie-manage-btn:hover { color: var(--gold); }

/* ── Modal ── */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.cookie-modal--visible { opacity: 1; pointer-events: auto; }

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.cookie-modal__box {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    width: min(560px, calc(100vw - 2rem));
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.cookie-modal__close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--bg-2);
    border: none;
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-2);
    transition: background 0.2s;
}
.cookie-modal__close:hover { background: var(--bg-3, #ddd); }

.cookie-modal__box h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    padding-right: 2.5rem;
}
.cookie-modal__intro {
    font-size: 0.875rem;
    color: var(--text-2);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.cookie-modal__items { display: flex; flex-direction: column; gap: 0; }
.cookie-modal__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-2);
}
.cookie-modal__item:last-child { border-bottom: none; }
.cookie-modal__item-info { flex: 1; }
.cookie-modal__item-info strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.cookie-modal__item-info span   { font-size: 0.8rem; color: var(--text-3); line-height: 1.5; }

/* Always-on badge */
.cookie-toggle--locked .cookie-toggle__label {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
}

/* Toggle switch */
.cookie-toggle__switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}
.cookie-toggle__switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle__track {
    width: 44px; height: 24px;
    background: var(--bg-2);
    border-radius: 12px;
    transition: background 0.2s;
    position: relative;
}
.cookie-toggle__thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.cookie-toggle__switch input:checked ~ .cookie-toggle__track { background: var(--gold); }
.cookie-toggle__switch input:checked ~ .cookie-toggle__track .cookie-toggle__thumb { transform: translateX(20px); }

.cookie-modal__footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-2);
    margin-top: 0.5rem;
}
.cookie-modal__footer .cookie-btn--ghost    { color: var(--text-2); }
.cookie-modal__footer .cookie-btn--ghost:hover { color: var(--navy); }
.cookie-modal__footer .cookie-btn--outline  { color: var(--navy); border-color: var(--bg-2); }
.cookie-modal__footer .cookie-btn--outline:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 600px) {
    .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__actions .cookie-btn { flex: 1; }
    .cookie-modal__footer { justify-content: stretch; }
    .cookie-modal__footer .cookie-btn { flex: 1; }
}
