:root {
  --ink: #3d2b2d;
  --ink-soft: #705b5d;
  --wine: #8b4353;
  --wine-dark: #6d3040;
  --rose: #f5d9dc;
  --rose-soft: #fff0f0;
  --blush: #fff8f5;
  --ivory: #fffdf9;
  --gold: #c3912f;
  --gold-dark: #894e00;
  --line: #eadbdd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(93, 45, 56, .13);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(195, 145, 47, .45); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }
.eyebrow { margin: 0 0 14px; color: var(--wine); font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: #f5d7ba; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.2rem, 6vw, 6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.35rem); letter-spacing: -.04em; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1.25rem; color: var(--ink-soft); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid var(--wine); border-radius: 999px; background: var(--wine); color: #fff; font-size: .92rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--wine-dark); box-shadow: 0 12px 28px rgba(109, 48, 64, .2); }
.button-small { min-height: 45px; padding-inline: 20px; font-size: .83rem; }
.button-light { background: #fff; border-color: #fff; color: var(--wine-dark); }
.button-ghost { background: transparent; color: var(--wine-dark); }
.button-block { width: 100%; }
.button.button-ghost:hover, .button.button-ghost:focus-visible { background: var(--rose-soft); color: var(--wine-dark); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--wine); font-size: .92rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(139, 67, 83, .32); }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p:last-child { max-width: 600px; margin: 18px auto 0; }
.catalog-section { padding-top: 56px; }
.catalog-heading { max-width: 720px; margin: 0 0 38px; text-align: left; }
.catalog-heading h1 { margin: 4px 0 10px; font-size: clamp(2.2rem, 5vw, 4rem); }
.catalog-heading > p:last-child { max-width: 640px; margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 253, 249, .95); border-bottom: 1px solid rgba(139, 67, 83, .08); backdrop-filter: blur(14px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 30px; }
.header-login { gap: 8px; border: 1px solid rgba(139, 67, 83, .45); }
.button.button-ghost.header-login:hover, .button.button-ghost.header-login:focus-visible { background: var(--wine-dark); color: var(--white); }
.main-nav .nav-login { display: none; }
.header-login, .header-cta { white-space: nowrap; flex: 0 0 auto; }
@media (min-width: 821px) and (max-width: 1100px) { .header-inner { gap: 16px; } .main-nav { gap: 14px; } .header-login, .header-cta { padding-inline: 14px; } }
.brand { flex: 0 0 auto; }
.brand img { width: 260px; height: 71px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { color: #493a3c; font-size: .83rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: var(--wine); }
.header-cart { position: relative; }
.main-nav .header-cart-link { display: inline-flex; align-items: center; gap: 7px; color: var(--wine); }
.header-cart-count { display: inline-grid; min-width: 20px; height: 20px; padding: 0 5px; place-items: center; border-radius: 999px; background: var(--wine); color: var(--white); font-size: .68rem; line-height: 1; }
.header-cart-popover { position: absolute; z-index: 30; top: calc(100% + 18px); right: 0; width: min(330px, 82vw); padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 18px 45px rgba(67, 41, 48, .18); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.header-cart-popover::before { content: ''; position: absolute; top: -7px; right: 32px; width: 13px; height: 13px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); transform: rotate(45deg); }
.header-cart:hover .header-cart-popover, .header-cart:focus-within .header-cart-popover { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.header-cart-title { display: block; margin-bottom: 10px; color: var(--ink); font-size: .88rem; }
.header-cart-popover ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.header-cart-popover li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.header-cart-popover li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-cart-popover li strong { color: var(--wine); white-space: nowrap; }
.header-cart-popover small { display: block; padding: 5px 0 8px; color: var(--muted); }
.main-nav .header-cart-all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 11px 0 0; border-top: 1px solid var(--line); color: var(--wine); font-size: .78rem; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: var(--wine); font-weight: 700; }

.hero { overflow: hidden; background: var(--blush); border-bottom: 1px solid #f2e2e0; }
.hero-grid { min-height: 770px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 55px; padding-top: 42px; }
.hero-copy { position: relative; z-index: 2; padding: 55px 0 45px; }
.hero h1 { max-width: 720px; }
.hero h1 em { display: inline; color: var(--wine); font-weight: 400; }
.hero-lead { max-width: 590px; margin: 27px 0 32px; font-size: 1.12rem; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 58px 0 0; padding: 0; list-style: none; }
.trust-list li { display: flex; align-items: flex-start; gap: 10px; }
.trust-list i { color: var(--wine); font-size: 1.1rem; margin-top: 5px; }
.trust-list strong, .trust-list span { display: block; }
.trust-list strong { font-size: .78rem; line-height: 1.4; }
.trust-list span { color: var(--ink-soft); font-size: .68rem; line-height: 1.5; }
.hero-visual { position: relative; align-self: end; min-height: 700px; display: flex; align-items: end; justify-content: center; }
.hero-photo { position: relative; width: 100%; max-width: 530px; overflow: hidden; border-radius: 260px 260px 36px 36px; border: 10px solid rgba(255,255,255,.75); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: 50% 42%; }
.floating-card { position: absolute; left: -34px; bottom: 62px; display: flex; align-items: center; gap: 13px; max-width: 285px; padding: 17px 20px; border: 1px solid rgba(195,145,47,.35); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.floating-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: var(--rose-soft); color: var(--wine); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-family: var(--serif); font-size: 1.04rem; }
.floating-card small { color: var(--ink-soft); line-height: 1.35; }

@media (min-width: 821px) {
  .hero-grid {
    height: calc(100svh - 88px);
    min-height: 610px;
    padding-block: clamp(20px, 3.5vh, 36px);
  }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.5rem, 4.65vw, 5rem); }
  .hero-lead { margin-block: clamp(18px, 2.5vh, 27px) clamp(20px, 3vh, 30px); }
  .trust-list { margin-top: clamp(30px, 4.5vh, 48px); }
  .hero-visual { min-height: 0; height: 100%; align-self: stretch; align-items: center; }
  .hero-photo { width: min(100%, calc((100svh - 142px) * .82)); }
  .floating-card { bottom: clamp(38px, 7vh, 62px); }
}

@media (min-width: 821px) and (max-height: 720px) {
  .hero-grid { min-height: calc(100svh - 88px); gap: 42px; }
  .hero h1 { font-size: clamp(3.15rem, 4.3vw, 4.35rem); }
  .hero-lead { margin-block: 14px 18px; font-size: 1rem; }
  .button { min-height: 47px; }
  .trust-list { margin-top: 24px; }
  .floating-card { bottom: 28px; padding: 13px 16px; }
}

.services-section { background: var(--ivory); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 350px; padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(76,45,50,.06); transition: transform .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(195,145,47,.65); }
.service-card.featured { background: var(--rose-soft); }
.service-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 27px; border-radius: 50%; background: #fff; border: 1px solid #ecd5d8; color: var(--wine); font-size: 1.25rem; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { font-size: .91rem; }
.service-card a { position: absolute; left: 32px; bottom: 30px; color: var(--wine); font-size: .83rem; font-weight: 800; text-decoration: none; }
.tag { position: absolute; top: 24px; right: 22px; margin: 0; padding: 4px 11px; border-radius: 999px; background: var(--wine); color: #fff !important; font-size: .62rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.story-section { background: var(--blush); }
.story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: center; }
.story-image { position: relative; max-width: 500px; }
.story-image img { width: 100%; height: 650px; object-fit: cover; object-position: 50% 35%; border-radius: 42% 42% 30px 30px; box-shadow: var(--shadow); }
.story-seal { position: absolute; right: -42px; bottom: 60px; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--wine); color: #fff; border: 8px solid var(--blush); }
.story-seal i { margin-bottom: 8px; }
.story-seal span { font-family: var(--serif); line-height: 1.2; }
.story-copy { max-width: 660px; }
.lead-serif { margin: 25px 0; color: var(--wine); font-family: var(--serif); font-size: 1.58rem; line-height: 1.4; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.values i { display: block; margin-bottom: 10px; color: var(--gold-dark); }
.values strong, .values span { display: block; }
.values strong { font-family: var(--serif); font-size: 1.02rem; }
.values span { color: var(--ink-soft); font-size: .74rem; line-height: 1.45; }

.process-section { background: #fff; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.process-list li { position: relative; min-height: 275px; padding: 34px 28px; border-right: 1px solid var(--line); }
.process-list li:last-child { border-right: 0; }
.process-list span { color: #d9bec2; font-family: var(--serif); font-size: 1.1rem; }
.process-list i { display: block; margin: 28px 0 21px; color: var(--wine); font-size: 1.55rem; }
.process-list h3 { font-size: 1.35rem; }
.process-list p { margin: 12px 0 0; font-size: .82rem; }

.authority-section { background: var(--wine-dark); color: #fff; }
.authority-grid { display: grid; grid-template-columns: 1fr .72fr .55fr; align-items: center; gap: 55px; }
.authority-section h2 { color: #fff; }
.authority-section p { color: #f1dfe2; }
.authority-photo img { width: 100%; height: 480px; object-fit: cover; object-position: 50% 22%; border-radius: 180px 180px 24px 24px; }
.authority-stats { display: grid; gap: 30px; }
.authority-stats div { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.2); }
.authority-stats strong, .authority-stats span { display: block; }
.authority-stats strong { color: #f5d7ba; font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.authority-stats span { color: #f1dfe2; font-size: .78rem; }

.faq-section { padding-bottom: 56px; background: var(--ivory); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 23px 45px 23px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.25rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; position: absolute; right: 5px; top: 18px; color: var(--wine); font-family: var(--sans); font-size: 1.5rem; }
.accordion details[open] summary::after { content: '−'; }
.accordion details p { padding: 0 38px 21px 0; font-size: .9rem; }

.appointment-section { background: var(--rose-soft); }
.appointment-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.appointment-intro > p { max-width: 500px; }
.appointment-intro ul { display: grid; gap: 10px; margin: 30px 0; padding: 0; list-style: none; color: var(--ink-soft); }
.appointment-intro li i { margin-right: 10px; color: var(--wine); }
.address-card { display: flex; align-items: flex-start; gap: 15px; padding-top: 25px; border-top: 1px solid #e3cdd0; }
.address-card i { margin-top: 5px; color: var(--wine); }
.address-card strong, .address-card span { display: block; }
.address-card span { color: var(--ink-soft); font-size: .82rem; }
.appointment-form { padding: 38px; border: 1px solid rgba(139,67,83,.13); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.form-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.form-heading h3 { font-size: 1.6rem; }
.form-heading p { margin: 3px 0 0; font-size: .8rem; }
.form-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--rose-soft); color: var(--wine); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid label { display: grid; gap: 6px; color: var(--ink); font-size: .76rem; font-weight: 700; }
.field-full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #e1d5d5; border-radius: 10px; background: var(--ivory); color: var(--ink); padding: 11px 13px; }
textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: var(--ink-soft); font-size: .72rem; font-weight: 400; line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--wine); }
.consent a { color: var(--wine); font-weight: 700; }
.form-note { margin: 12px 0 0; text-align: center; font-size: .68rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.page-hero { padding: 85px 0; background: var(--blush); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.page-hero p:not(.eyebrow) { max-width: 610px; margin: 25px 0 30px; font-size: 1.08rem; }
.page-hero img { width: 100%; height: 530px; object-fit: cover; object-position: 50% 30%; border-radius: 230px 230px 24px 24px; box-shadow: var(--shadow); }
.detail-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 90px; align-items: start; }
.detail-grid ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-grid ol li { display: flex; gap: 20px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.detail-grid ol span { color: var(--gold-dark); font-family: var(--serif); }
.detail-grid ol strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.about-photo img { width: 100%; max-height: 590px; object-fit: cover; object-position: 50% 20%; border-radius: 30px; }

.legal-hero { padding: 85px 0 55px; background: var(--rose-soft); border-bottom: 1px solid var(--line); text-align: center; }
.legal-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.legal-hero p:last-child { margin-top: 15px; font-size: .82rem; }
.legal-grid { display: grid; grid-template-columns: 250px 1fr; gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 115px; display: grid; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.legal-nav strong { font-family: var(--serif); font-size: 1.15rem; }
.legal-nav a { color: var(--ink-soft); font-size: .78rem; text-decoration: none; }
.legal-nav a:hover { color: var(--wine); }
.legal-content { max-width: 800px; }
.legal-content section { scroll-margin-top: 125px; padding: 18px 0 28px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 17px; font-size: 2rem; }
.legal-content ul { color: var(--ink-soft); }
.legal-alert { padding: 20px 22px; border-left: 4px solid var(--gold); background: #fff8e9; border-radius: 0 12px 12px 0; }
.dpo-card { margin-top: 32px; padding: clamp(26px, 4vw, 40px) !important; border: 1px solid #eadce0 !important; border-radius: 20px; background: #fff7f7; }
.dpo-card .legal-number { display: block; margin-bottom: 7px; color: var(--wine); font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.dpo-card .dpo-eyebrow { display: block; margin-bottom: 14px; color: var(--wine); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dpo-card h2 { margin-bottom: 22px; }
.dpo-card p:last-child { margin-bottom: 0; }
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.legal-table th, .legal-table td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--rose-soft); }

.state-page { min-height: 66vh; display: grid; place-items: center; padding: 80px 20px; background: var(--blush); }
.state-card { width: min(100%, 630px); padding: 60px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.state-card h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.state-icon { display: grid; place-items: center; width: 65px; height: 65px; margin: 0 auto 20px; border-radius: 50%; background: #e9f6ee; color: #33734a; font-size: 1.3rem; }
.state-icon.warning { background: #fff0df; color: #a76515; }
.protocol { padding: 12px; border-radius: 10px; background: var(--rose-soft); }

.contact-band { background: #2f1820; color: #fff; }
.contact-band-inner { min-height: 156px; display: flex; align-items: center; justify-content: space-between; gap: 42px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-band-copy span, .contact-band-copy strong { display: block; }
.contact-band-copy span { margin-bottom: 5px; color: #d7c4c9; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-band-copy strong { max-width: 530px; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.15rem); font-weight: 400; line-height: 1.25; }
.contact-band-phone { display: flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; }
.contact-band-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(245,215,186,.55); border-radius: 50%; color: #f5d7ba; font-size: 1.35rem; transition: background .2s ease, color .2s ease, transform .2s ease; }
.contact-band-phone small, .contact-band-phone strong { display: block; }
.contact-band-phone small { color: #d7c4c9; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-band-phone strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.25; }
.contact-band-phone:hover .contact-band-icon { transform: translateY(-2px); background: #f5d7ba; color: #2f1820; }

.site-footer { padding: 64px 0 25px; background: #542633; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .82fr 1.05fr .9fr; gap: 42px; }
.footer-brand-column, .footer-contact-column { display: flex; align-items: flex-start; flex-direction: column; }
.footer-brand { display: inline-flex !important; margin: 0 !important; line-height: 0; }
.footer-logo-inpi { width: 164px; height: 164px; border-radius: 50%; object-fit: cover; }
.site-footer h2 { margin-bottom: 16px; color: #f5d7ba; font-family: var(--sans); font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-footer p, .site-footer a { display: block; margin: 0 0 8px; color: #ead7db; font-size: .78rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p strong { color: #fff; }
.quanthum-seal { display: inline-flex !important; width: 190px; line-height: 0; }
.quanthum-seal img { display: block; width: 190px; height: auto; }
.footer-services a { width: fit-content; margin-bottom: 11px; }
.footer-contact-link { display: flex !important; align-items: center; gap: 9px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.footer-contact-link i { width: 17px; color: #f5d7ba; text-align: center; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font-size: 1.1rem; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.footer-social a:hover { transform: translateY(-2px); background: var(--wine); border-color: #f5d7ba; }
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 30px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #cdb7bc; font-size: .68rem; }
.footer-bottom-seal { justify-self: center; margin: 0 !important; }
.footer-legal-copy { display: block; line-height: 1.5; white-space: nowrap; }
.footer-legal-copy strong { color: #fff; }
.footer-legal-copy a { display: inline; margin: 0; color: #fff; font-size: inherit; font-weight: 800; }
.footer-design-credit { white-space: nowrap; }
.footer-legal-links { display: flex; justify-self: end; flex: 0 0 auto; gap: 24px; }
.footer-legal-links a { margin: 0; font-size: .7rem; }
.footer-legal-links a + a { position: relative; }
.footer-legal-links a + a::before { content: ''; position: absolute; left: -12px; top: 20%; width: 1px; height: 60%; background: rgba(255,255,255,.22); }

.back-to-top { position: fixed; z-index: 440; right: 22px; bottom: 22px; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--wine); color: #fff; box-shadow: 0 12px 30px rgba(59,28,36,.28); font-size: 1.1rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #6f3444; transform: translateY(-3px); }

.cookie-banner { position: fixed; z-index: 500; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(calc(100% - 44px), 1120px); margin-inline: auto; padding: 20px 22px; border: 1px solid #dfc9cc; border-radius: 18px; background: #fff; box-shadow: 0 20px 65px rgba(46,24,29,.25); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--serif); font-size: 1.08rem; }
.cookie-banner p { margin: 3px 0 0; font-size: .72rem; }
.cookie-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .button { min-height: 42px; padding-inline: 15px; font-size: .7rem; }
.cookie-reopen { position: fixed; z-index: 650; left: -32px; bottom: 22px; display: grid; place-items: center; width: 64px; height: 48px; padding: 0 0 0 28px; border: 1px solid rgba(255,255,255,.35); border-left: 0; border-radius: 0 14px 14px 0; background: var(--wine); color: #fff; box-shadow: 4px 8px 25px rgba(59,28,36,.3); font-size: 1rem; cursor: pointer; touch-action: manipulation; transform: translateX(0); transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.cookie-reopen:hover, .cookie-reopen:focus-visible { background: #6f3444; box-shadow: 7px 10px 28px rgba(59,28,36,.34); transform: translateX(32px); }
.cookie-reopen:focus-visible { outline: 3px solid #f5d7ba; outline-offset: 3px; }
.cookie-modal { position: fixed; z-index: 600; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(41,24,27,.58); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.cookie-modal.is-open { opacity: 1; visibility: visible; }
.cookie-dialog { position: relative; width: min(100%, 610px); max-height: 92vh; overflow-y: auto; padding: 38px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.cookie-dialog h2 { font-size: 2.2rem; }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; color: var(--ink); font-size: 1.7rem; cursor: pointer; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.cookie-row strong, .cookie-row small { display: block; }
.cookie-row small { color: var(--ink-soft); font-size: .68rem; line-height: 1.45; }
.cookie-row input { width: 22px; height: 22px; accent-color: var(--wine); }
.badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--rose-soft); color: var(--wine); font-size: .62rem; font-weight: 800; }

@media (max-width: 820px) {
  .header-cta, .header-login { display: none; }
  .main-nav .nav-login { display: block; font-weight: 800; color: var(--wine); }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 82px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .header-cart { width: 100%; }
  .main-nav .header-cart-link { width: 100%; }
  .header-cart-popover { position: static; display: none; width: 100%; margin: 0 0 8px; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .header-cart-popover::before { display: none; }
  .header-cart:hover .header-cart-popover, .header-cart:focus-within .header-cart-popover { display: block; }
  .main-nav .header-cart-all { padding: 11px 0 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 30px; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { min-height: auto; align-self: auto; }
  .hero-photo { max-width: 640px; }
  .floating-card { left: 18px; bottom: 28px; }
  .story-grid, .appointment-grid, .page-hero-grid, .detail-grid { grid-template-columns: 1fr; gap: 55px; }
  .story-image { margin-inline: auto; }
  .authority-grid { grid-template-columns: 1fr 1fr; }
  .authority-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li { border-bottom: 1px solid var(--line); }
  .legal-grid { grid-template-columns: 1fr; gap: 35px; }
  .legal-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .contact-band-inner { min-height: 132px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .site-header .brand img { width: 210px; height: 58px; }
  .header-inner { min-height: 78px; }
  .main-nav { top: 74px; left: 14px; right: 14px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .trust-list { grid-template-columns: 1fr; margin-top: 40px; }
  .hero-visual { flex-direction: column; align-items: center; }
  .hero-photo { width: 100%; border-radius: 170px 170px 24px 24px; }
  .floating-card { position: relative; left: auto; bottom: auto; margin: -32px 14px 28px; max-width: none; }
  .service-grid, .values, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 325px; }
  .story-image img { height: 520px; }
  .story-seal { right: -4px; bottom: 22px; width: 125px; height: 125px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { border-right: 0; }
  .authority-grid { grid-template-columns: 1fr; }
  .authority-stats { grid-column: auto; grid-template-columns: 1fr; }
  .authority-photo { order: -1; }
  .authority-photo img { height: 430px; }
  .form-grid { grid-template-columns: 1fr; }
  .appointment-form { padding: 25px 20px; }
  .page-hero { padding: 62px 0; }
  .page-hero img { height: 430px; }
  .legal-nav { grid-template-columns: 1fr 1fr; }
  .state-card { padding: 42px 22px; }
  .contact-band-inner { min-height: 0; flex-direction: column; align-items: flex-start; padding-block: 36px; }
  .contact-band-phone strong { font-size: 1.45rem; }
  .footer-logo-inpi { width: 150px; height: 150px; }
  .quanthum-seal, .quanthum-seal img { width: 160px; }
  .footer-bottom { grid-template-columns: 1fr; align-items: start; }
  .footer-bottom-seal { justify-self: start; margin-block: 8px !important; }
  .footer-legal-copy { font-size: .6rem; }
  .footer-legal-links { justify-self: start; flex-direction: column; gap: 8px; }
  .footer-legal-links a + a::before { display: none; }
  .back-to-top { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .cookie-reopen { bottom: 14px; }
  .cookie-banner { align-items: stretch; flex-direction: column; left: 10px; right: 10px; bottom: 10px; width: calc(100% - 20px); }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .button:last-child { grid-column: 1 / -1; }
  .cookie-dialog { padding: 32px 21px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Catálogo e checkout de cursos */
.course-store-section{background:var(--ivory,#fff9f5)}
.home-courses{padding-top:56px}
.course-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.course-store-card{overflow:hidden;background:#fff;border:1px solid rgba(92,44,58,.12);border-radius:22px;box-shadow:0 12px 32px rgba(92,44,58,.08)}
.course-store-card>a{display:block;aspect-ratio:16/9;background:#f5ece8;overflow:hidden}
.course-store-card img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.course-store-card:hover img{transform:scale(1.025)}
.course-store-body{padding:22px;display:grid;gap:12px}
.course-store-body h3{margin:0;font-family:var(--font-serif,Georgia,serif);font-size:1.35rem}.course-store-body h3 a{color:inherit;text-decoration:none}
.course-store-body p{margin:0;color:var(--muted,#665d60)}
.course-store-meta,.course-store-actions,.checkout-item,.checkout-summary p,.order-status-items li{display:flex;align-items:center;justify-content:space-between;gap:16px}
.course-store-meta strong{font-size:1.15rem;color:var(--wine,#752e43)}.course-store-meta span{font-size:.86rem;color:var(--muted,#665d60)}
.course-store-actions form{margin:0}.center-action{text-align:center;margin-top:28px}
.checkout-page{min-height:60vh;background:var(--ivory,#fff9f5)}.checkout-shell{max-width:1080px}.checkout-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:28px;align-items:start}
.checkout-list,.checkout-identify{display:grid;gap:16px}.checkout-item,.checkout-summary,.checkout-empty,.checkout-identify{background:#fff;border:1px solid rgba(92,44,58,.12);border-radius:18px;padding:20px}
.checkout-item{display:grid;grid-template-columns:100px minmax(0,1fr) auto auto}.checkout-item img{width:100px;height:64px;object-fit:cover;border-radius:10px}.checkout-item h2{font-size:1.05rem;margin:0 0 5px}
.checkout-remove-form{margin:0;align-self:center}.checkout-remove{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 16px;border:1px solid rgba(117,46,67,.32);border-radius:999px;background:#fff;color:var(--wine,#752e43);font:inherit;font-size:.88rem;font-weight:800;line-height:1;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.checkout-remove:hover{border-color:var(--wine,#752e43);background:var(--rose-soft,#fff0f0);color:var(--wine-dark,#5c2435);transform:translateY(-1px)}.checkout-remove:focus-visible{outline:3px solid rgba(117,46,67,.22);outline-offset:3px}.checkout-remove:active{transform:none}
.checkout-summary{position:sticky;top:110px;display:grid;gap:12px}.checkout-summary h2,.checkout-identify h2{margin:0 0 8px}.checkout-summary p{margin:0;padding-bottom:10px;border-bottom:1px solid rgba(92,44,58,.1)}
.checkout-total{font-size:1.15rem}.checkout-total strong{color:var(--wine,#752e43)}.checkout-account{display:flex;gap:12px;align-items:center;padding:14px;background:#fff8f4;border-radius:12px}.checkout-account i{font-size:1.5rem;color:var(--wine,#752e43)}.checkout-account span{display:block;color:var(--muted,#665d60)}
.legal-check{align-items:flex-start}.legal-check a{color:var(--wine,#752e43)}.checkout-status{max-width:760px}.order-status-items{list-style:none;padding:0;margin:0}.order-status-items li{padding:12px 0;border-bottom:1px solid rgba(92,44,58,.1)}
@media(max-width:900px){.course-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-grid{grid-template-columns:1fr}.checkout-summary{position:static}}
@media(max-width:620px){.course-store-grid{grid-template-columns:1fr}.checkout-item{grid-template-columns:72px minmax(0,1fr)}.checkout-item img{width:72px;height:52px}.checkout-item>strong,.checkout-item>form{grid-column:2}.checkout-remove-form{justify-self:start}.checkout-remove{min-height:38px;padding:8px 13px}}

/* Catálogo único de produtos */
.product-catalog-section{min-height:70vh;background:linear-gradient(180deg,var(--ivory) 0%,#fff 45%,var(--rose-soft) 150%)}
.product-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch}
.product-store-card{display:flex;overflow:hidden;flex-direction:column;scroll-margin-top:110px;border:1px solid rgba(139,67,83,.16);border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(76,45,50,.08);transition:transform .22s ease,box-shadow .22s ease}
.product-store-card:hover{transform:translateY(-4px);box-shadow:0 24px 58px rgba(76,45,50,.13)}
.product-store-card>h2{margin:0;padding:24px 24px 18px;color:var(--ink);font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.2}
.product-photo-button{position:relative;display:block;overflow:hidden;width:calc(100% - 32px);aspect-ratio:4/3;margin:0 16px;border:0;border-radius:17px;background:var(--rose-soft);cursor:zoom-in}
.product-photo-button img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.product-photo-button:hover img{transform:scale(1.035)}
.product-photo-button span{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:rgba(61,43,45,.82);color:#fff;font-size:.76rem;font-weight:800;backdrop-filter:blur(5px)}
.product-store-description{flex:1;padding:20px 24px 12px;color:var(--ink-soft);font-size:.94rem;line-height:1.65}.product-store-description>*:first-child{margin-top:0}.product-store-description>*:last-child{margin-bottom:0}
.product-store-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 24px 24px;padding-top:18px;border-top:1px solid rgba(139,67,83,.13)}.product-store-footer>strong{color:var(--wine-dark);font-family:var(--serif);font-size:1.45rem;font-weight:500}.product-buy-button{flex:none;min-width:122px}
.product-gallery-modal,.product-buy-modal{position:fixed;z-index:750;inset:0;display:grid;place-items:center;padding:24px}.product-gallery-modal[hidden],.product-buy-modal[hidden]{display:none}.product-gallery-backdrop{position:absolute;inset:0;background:rgba(31,20,23,.84);backdrop-filter:blur(8px)}
.product-gallery-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(1180px,96vw);max-height:94vh;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:24px;background:#171214;box-shadow:0 30px 90px rgba(0,0,0,.42)}
.product-gallery-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;color:#fff}.product-gallery-dialog h2{overflow:hidden;margin:0;color:#fff;font-family:var(--sans);font-size:1.05rem;text-overflow:ellipsis;white-space:nowrap}.product-gallery-dialog header button,.product-gallery-stage>button{display:grid;place-items:center;flex:none;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}.product-gallery-dialog header button{width:42px;height:42px}.product-gallery-stage>button{width:48px;height:48px;font-size:1.1rem}
.product-gallery-stage{display:grid;grid-template-columns:58px minmax(0,1fr) 58px;align-items:center;gap:8px;min-height:0;padding:0 14px}.product-gallery-stage figure{display:flex;min-width:0;min-height:0;margin:0;flex-direction:column;align-items:center}.product-gallery-stage img{max-width:100%;height:min(68vh,760px);object-fit:contain}.product-gallery-stage figcaption{margin-top:8px;color:rgba(255,255,255,.7);font-size:.8rem}
.product-gallery-thumbs{display:flex;justify-content:center;gap:10px;overflow-x:auto;padding:15px 20px 20px}.product-gallery-thumbs button{overflow:hidden;flex:0 0 70px;width:70px;height:54px;padding:0;border:2px solid transparent;border-radius:9px;background:#302629;opacity:.58;cursor:pointer}.product-gallery-thumbs button.is-active{border-color:var(--gold);opacity:1}.product-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.product-buy-dialog{position:relative;z-index:1;width:min(520px,100%);max-height:92vh;overflow-y:auto;padding:34px;border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.34)}.product-buy-dialog h2{margin:4px 42px 4px 0;font-size:2rem}.product-buy-price{display:block;margin:5px 0 12px;color:var(--wine);font-family:var(--serif);font-size:1.5rem}.product-buy-dialog>p:not(.eyebrow){color:var(--ink-soft)}.product-modal-close{position:absolute;top:18px;right:18px;width:40px;height:40px;border:0;border-radius:50%;background:var(--rose-soft);color:var(--wine);cursor:pointer}.product-buy-fields{display:grid;gap:14px;margin:22px 0}.product-buy-fields label{display:grid;gap:6px;color:var(--ink);font-size:.8rem;font-weight:800}.product-buy-fields input{min-height:48px;padding:11px 14px;border:1px solid var(--line);border-radius:13px;background:var(--ivory);font:inherit}.product-buy-fields input:focus{border-color:var(--wine);outline:3px solid rgba(139,67,83,.15)}
@media(max-width:900px){.product-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.catalog-section{padding-top:36px}.catalog-heading{margin-bottom:26px}.product-store-grid{grid-template-columns:1fr;gap:20px}.product-store-card>h2{padding:20px 20px 15px}.product-store-description{padding-inline:20px}.product-store-footer{margin-inline:20px}.product-gallery-modal{padding:0}.product-gallery-dialog{width:100%;height:100%;max-height:none;border-radius:0}.product-gallery-stage{grid-template-columns:42px minmax(0,1fr) 42px;padding:0 5px}.product-gallery-stage>button{width:40px;height:40px}.product-gallery-stage img{height:70vh}.product-buy-dialog{padding:28px 20px;border-radius:20px}}
@media(max-width:620px){.faq-section{padding-bottom:40px}.home-courses{padding-top:40px}}
