:root {
    --bg: #f1eeea;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: #f7f5f2;
    --ink: #2f2b29;
    --ink-soft: #6a655f;
    --line: rgba(73, 67, 62, 0.14);
    --accent: #ccaf77;
    --accent-deep: #a48b5c;
    --accent-soft: #e6d7bb;
    --leaf: #5f5a55;
    --leaf-soft: #ddd7d1;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(52, 45, 40, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --content-max: 1120px;
    --content-reading: 920px;
    --content-gutter: 24px;
}

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

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

body {
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 22%),
        radial-gradient(circle at 88% 6%, rgba(204,175,119,0.12) 0%, rgba(204,175,119,0) 18%),
        radial-gradient(circle at 42% 24%, rgba(120,112,105,0.08) 0%, rgba(120,112,105,0) 28%),
        linear-gradient(180deg, #7a746d 0%, #6d6761 12%, #f1eeea 12.5%, #f1eeea 100%);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-gutter);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    border: 1px solid transparent;
}

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

.btn-lg {
    min-height: 56px;
    padding: 16px 30px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(156, 111, 82, 0.24);
}

.btn-primary:hover {
    background: var(--accent-deep);
    box-shadow: 0 18px 34px rgba(125, 86, 62, 0.28);
}

.btn-secondary {
    background: rgba(255,255,255,0.58);
    border-color: var(--line);
    color: var(--ink);
}

.btn-light {
    background: var(--white);
    color: var(--accent-deep);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(241, 238, 234, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow .18s ease, background .18s ease;
}

.header-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.site-brand-logo {
    display: inline-flex;
    align-items: center;
}

.site-logo-image {
    width: auto;
    height: 60px;
    max-width: min(100%, 360px);
    object-fit: contain;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(135deg, #b98768 0%, #8b624a 100%);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 22px rgba(139, 98, 74, 0.22);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 18px;
    line-height: 1;
}

.brand-text small {
    color: var(--ink-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero {
    padding: 52px 0 36px;
}

.hero-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
    margin: 0 auto;
}

.hero-panel,
.hero-card,
.feature-card,
.check-card,
.step-card,
.doctor-card,
.testimonial-card,
.faq-item,
.cta-panel {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.hero-panel {
    border-radius: 40px;
    padding: 34px 38px 34px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(204,175,119,0.18) 0%, rgba(204,175,119,0) 36%),
        linear-gradient(145deg, rgba(255,255,255,0.88) 0%, rgba(235,232,228,0.78) 100%);
}

.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(280px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.hero-copy {
    padding: 18px 6px 8px;
}

.hero-visual {
    min-height: 360px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0) 24%),
        radial-gradient(circle at 75% 16%, rgba(204,175,119,0.16) 0%, rgba(204,175,119,0) 28%),
        linear-gradient(145deg, rgba(246,243,239,0.78) 0%, rgba(231,227,222,0.42) 100%);
    border: 1px solid rgba(73, 67, 62, 0.08);
}

.hero-visual-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 50%, rgba(204,175,119,0.18) 0%, rgba(204,175,119,0) 26%),
        radial-gradient(circle at 38% 58%, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0) 30%);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--leaf);
}

.eyebrow::before,
.section-kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.doctor-copy h2,
.cta-panel h2,
.legal-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: .97;
    text-wrap: balance;
}

.hero h1 {
    font-size: clamp(36px, 4.8vw, 54px);
    line-height: 1.02;
    margin: 14px 0 16px;
}

.hero-sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 56ch;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding: 18px 12px 0;
    border-top: 1px solid rgba(73, 67, 62, 0.08);
}

.hero-trust span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.hero-card {
    border-radius: 30px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.hero-aside {
    background:
        linear-gradient(145deg, rgba(116, 109, 102, 0.94) 0%, rgba(94, 88, 83, 0.96) 100%);
    color: var(--white);
    border-color: rgba(255,255,255,0.08);
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 22px;
    align-items: stretch;
}

.hero-photo-placeholder {
    min-height: 250px;
    border-radius: 24px;
    border: 1px dashed rgba(255,255,255,0.24);
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 28%),
        linear-gradient(180deg, rgba(149,141,133,0.6) 0%, rgba(83,77,72,0.74) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    line-height: 1.5;
    position: relative;
}

.hero-photo-placeholder::after {
    content: '';
    width: 180px;
    height: 90px;
    opacity: .18;
    background: url("../images/logo-dra-aline-stocco.png") center/contain no-repeat;
    filter: brightness(1.35);
}

.hero-info-stack {
    display: grid;
    gap: 16px;
    align-content: center;
}

.hero-info-item {
    display: grid;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-info-item strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.66);
}

.hero-info-item span {
    color: rgba(255,255,255,0.92);
}

.hero-card-label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.hero-checklist {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-checklist li {
    padding-left: 26px;
    position: relative;
    color: var(--ink-soft);
}

.hero-checklist li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
}

.hero-highlight {
    border-radius: 22px;
    background: linear-gradient(135deg, #b99a64 0%, #8c7449 100%);
    color: var(--white);
    padding: 20px;
}

.hero-highlight strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.hero-highlight p {
    color: rgba(255,255,255,.82);
}

.proof-strip {
    padding: 0 0 24px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.proof-item {
    padding: 20px 22px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.6);
    text-align: center;
}

.proof-item strong {
    display: block;
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.proof-item span {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
}

.section {
    padding: 82px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(219, 214, 208, 0.5) 0%, rgba(241, 238, 234, 0) 100%);
}

.section-accent {
    background: linear-gradient(180deg, rgba(204, 175, 119, 0.16) 0%, rgba(241, 238, 234, 0) 100%);
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 42px;
}

.section-heading h2,
.split-copy h2,
.doctor-copy h2,
.cta-panel h2,
.legal-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
    margin: 14px 0 14px;
}

.split-copy h2 {
    max-width: 15ch;
}

.section-heading p,
.split-copy p,
.doctor-copy p,
.doctor-note,
.legal-hero p,
.legal-content p {
    color: var(--ink-soft);
    font-size: 17px;
}

.cards-grid {
    display: grid;
    gap: 22px;
}

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

.feature-card,
.testimonial-card,
.check-card,
.step-card {
    border-radius: 26px;
    padding: 28px;
}

.feature-card h3,
.check-card h3,
.step-card h3,
.faq-item summary {
    font-size: 20px;
    line-height: 1.2;
}

.feature-card p,
.check-card p,
.step-card p,
.testimonial-card p,
.faq-item p {
    color: var(--ink-soft);
    margin-top: 10px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

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

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

.step-card {
    position: relative;
    overflow: hidden;
}

.step-number {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(204, 175, 119, 0.18);
    color: var(--accent-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
}

.doctor-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: 28px;
    align-items: stretch;
}

.doctor-role {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.doctor-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.doctor-list li {
    position: relative;
    padding-left: 24px;
    color: var(--ink-soft);
}

.doctor-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.doctor-card {
    border-radius: 30px;
    padding: 24px;
}

.doctor-photo-placeholder {
    min-height: 380px;
    border-radius: 24px;
    border: 1px dashed rgba(73, 67, 62, 0.22);
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0) 22%),
        linear-gradient(145deg, rgba(127,119,112,0.76) 0%, rgba(98,92,87,0.94) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    text-align: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.doctor-photo-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 34%),
        url("../images/logo-dra-aline-stocco.png") center/220px auto no-repeat;
    opacity: .24;
}

.doctor-note {
    margin-top: 18px;
}

.testimonial-card strong {
    display: inline-block;
    margin-top: 18px;
}

.stars {
    color: #d2a34c;
    letter-spacing: 0.2em;
    font-size: 18px;
}

.faq-list {
    display: grid;
    gap: 16px;
    max-width: var(--content-reading);
    margin: 0 auto;
}

.faq-item {
    border-radius: 22px;
    padding: 22px 24px;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.faq-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(52, 45, 40, 0.1);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    position: relative;
    padding-right: 28px;
    transition: color .25s ease;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--accent);
    font-size: 24px;
    line-height: 1;
    transition: transform .25s ease, color .25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent-deep);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .3s ease, opacity .3s ease, margin-top .3s ease;
    margin-top: 0;
}

.faq-answer p {
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
    transform: translateY(-8px);
    transition: transform .3s ease;
}

.faq-item[open] {
    border-color: rgba(204, 175, 119, 0.34);
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(52, 45, 40, 0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(245,241,235,0.92) 100%);
}

.faq-item[open] summary {
    color: var(--accent-deep);
}

.faq-item[open] .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 14px;
}

.faq-item[open] .faq-answer p {
    transform: translateY(0);
}

.cta-section {
    padding: 0 0 90px;
}

.cta-panel {
    border-radius: 34px;
    padding: 52px;
    text-align: center;
    background: linear-gradient(135deg, #7c746d 0%, #59534e 100%);
    color: var(--white);
}

.section-kicker-light {
    color: rgba(255,255,255,.78);
}

.section-kicker-light::before {
    background: currentColor;
}

.cta-panel p {
    color: rgba(255,255,255,.82);
    max-width: 700px;
    margin: 0 auto 26px;
}

.site-footer {
    padding: 20px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 22px;
    padding: 30px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.68);
}

.site-brand-footer {
    margin-bottom: 16px;
}

.site-logo-image-footer {
    height: 92px;
    max-width: min(100%, 420px);
}

.footer-brand p,
.footer-block li,
.footer-block a,
.footer-bottom p,
.footer-dev {
    color: var(--ink-soft);
}

.footer-block h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    color: var(--accent-deep);
}

.footer-block ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
}

.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.46);
    border: 1px solid var(--line);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.footer-dev:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(52, 45, 40, 0.1);
    background: rgba(255,255,255,.74);
}

.footer-dev-copy {
    display: grid;
    gap: 2px;
}

.footer-dev-copy strong {
    font-size: 13px;
    line-height: 1.1;
}

.footer-dev-copy small {
    font-size: 11px;
    line-height: 1.35;
    color: var(--ink-soft);
}

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f8f5f;
    color: var(--white);
    box-shadow: 0 16px 30px rgba(31, 143, 95, 0.28);
    z-index: 120;
    animation: waPulse 2.6s ease-in-out infinite;
}

@keyframes waPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 16px 30px rgba(31, 143, 95, 0.28); }
    50% { transform: scale(1.06); box-shadow: 0 18px 38px rgba(31, 143, 95, 0.42); }
}

.legal-hero {
    padding: 74px 0 28px;
}

.legal-content {
    max-width: 840px;
    padding-bottom: 80px;
}

.legal-content h2 {
    margin: 28px 0 10px;
    font-size: 24px;
}

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-stack,
    .doctor-panel,
    .footer-grid,
    .cards-grid-3,
    .proof-grid,
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stack > :first-child,
    .doctor-panel > :first-child,
    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

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

    .split-section {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 680px) {
    .container {
        padding: 0 18px;
    }

    .header-inner {
        min-height: 80px;
        justify-content: center;
    }

    .header-cta {
        display: none;
    }

    .site-brand-logo {
        margin-inline: auto;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .site-logo-image {
        height: 52px;
        max-width: min(100%, 280px);
    }

    .site-logo-image-footer {
        height: 72px;
        max-width: min(100%, 320px);
    }

    .brand-text strong {
        font-size: 16px;
    }

    .hero {
        padding-top: 38px;
    }

    .hero-copy,
    .hero-card,
    .feature-card,
    .check-card,
    .step-card,
    .doctor-card,
    .testimonial-card,
    .faq-item,
    .cta-panel,
    .footer-grid {
        padding: 24px;
    }

    .hero-stack,
    .proof-grid,
    .cards-grid-3,
    .check-grid,
    .steps-grid,
    .doctor-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(34px, 11vw, 48px);
        max-width: 100%;
    }

    .hero-panel {
        padding: 24px;
    }

    .hero-copy {
        padding: 0;
    }

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

    .hero-visual {
        display: none;
    }

    .hero-photo-placeholder {
        min-height: 220px;
    }

    .section {
        padding: 60px 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-dev {
        width: 100%;
        justify-content: flex-start;
    }
}
