/* Dra. Gabriela Alves — shared static styles */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
    --bg: #ffffff;
    --surface: #f9f8f6;
    --gold: #d4af37;
    --gold-hover: #c5a028;
    --gold-soft: #f2e8d5;
    --ink: #1a1a1a;
    --ink-soft: #6b6b6b;
    --line: #e5e5e5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.font-display { font-family: "Cormorant Garamond", serif; font-weight: 500; letter-spacing: -0.01em; }
.font-body { font-family: "Manrope", sans-serif; }

.eyebrow {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.container-x {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (min-width: 768px) {
    .container-x { padding-left: 3rem; padding-right: 3rem; }
}

.section { padding: 6rem 0; }
@media (min-width: 768px) {
    .section { padding: 8rem 0; }
}

.gold-mark { width: 40px; height: 1px; background: var(--gold); display: inline-block; }

/* Buttons */
.btn-gold,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.75rem;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.35s ease;
    cursor: pointer;
    border: 1px solid;
}
.btn-gold {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Gold underline link */
.gold-link {
    position: relative;
    display: inline-block;
    color: var(--ink);
    transition: color 0.3s ease;
}
.gold-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.gold-link:hover { color: var(--gold-hover); }
.gold-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Image hover container */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 1.2s ease; }
.img-zoom:hover img { transform: scale(1.06); }

/* Step number */
.step-number {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.55;
}

/* Animations */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; }
.fade-up.in-view { animation: fade-up 0.9s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

/* Marquee */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee { animation: marquee 40s linear infinite; }

/* WhatsApp pulse */
@keyframes pulse-ring {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}
.wa-pulse { position: relative; }
.wa-pulse::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #25d366;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: -1;
}

/* Navbar */
.nav-shell {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 40;
    background: transparent;
    transition: all 0.5s ease;
}
.nav-shell.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger {
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
}
@media (min-width: 1024px) {
    .faq-trigger { font-size: 1.75rem; }
}
.faq-trigger:hover { color: var(--gold); }
.faq-trigger .chev { transition: transform 0.35s ease; color: var(--gold); }
.faq-item.open .faq-trigger .chev { transform: rotate(180deg); }
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    color: var(--ink-soft);
    line-height: 1.7;
    font-size: 1rem;
    padding-right: 2rem;
}
.faq-item.open .faq-content { padding-bottom: 1.5rem; }

/* Before/After slider */
.ba-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--surface);
    user-select: none;
}
.ba-after-wrap {
    position: absolute; inset: 0;
    overflow: hidden;
    width: 50%;
}
.ba-after-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.ba-divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    pointer-events: none;
}
.ba-handle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.ba-range {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

/* Lead popup */
.popup-shell {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem 1rem 6rem;
}
@media (min-width: 640px) {
    .popup-shell { align-items: center; padding-bottom: 1rem; }
}
.popup-shell.open { display: flex; animation: fade-up 0.5s ease-out both; }
.popup-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.popup-card {
    position: relative;
    background: #fff;
    max-width: 32rem; width: 100%;
    border: 1px solid var(--gold);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    z-index: 50;
    display: inline-flex;
}
.wa-float-button {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 9999px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.wa-float-button:hover { transform: scale(1.1); }
.wa-tooltip {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: none;
}
@media (min-width: 768px) {
    .wa-tooltip { display: block; }
    .wa-float:hover .wa-tooltip { opacity: 1; }
}

/* Beforeafter dark section overrides */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: rgba(255, 255, 255, 0.7); }

/* Service grid */
.service-card {
    background: #fff;
    padding: 2rem;
    transition: background 0.5s ease;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .service-card { padding: 2.5rem; }
}
.service-card:hover { background: var(--surface); }

/* Testimonial card */
.testi-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.5s ease;
}
.testi-card:hover { border-color: var(--gold); }

/* Mobile menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 1.5rem;
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) {
    .mobile-menu { display: none !important; }
}
