@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=IBM+Plex+Mono:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
:root {
  --bg-forest: #101713;
  --bg-organ: #17221C;
  --bg-card: #1E2C24;
  --parchment: #F6F1E7;
  --muted-sage: #A3B5AA;
  --amber-gold: #D49B4B;
  --resin-copper: #B87333;
  --botanical-green: #3B7A57;
  --border-brass: #32473B;
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background: var(--bg-forest); color: var(--parchment); line-height: 1.62; }
body { overflow-x: hidden; }
h1, h2, h3, .hero-title, .section-title { font-family: var(--font-display); text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--amber-gold); outline-offset: 3px; }

/* UNIQUE HEADER: PERFUMER'S OLFACTORY ORGAN & GC-MS CHROMATOGRAPHY HEADER */
.apothecary-organ-header {
  background: rgba(16,23,19,0.96); backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--amber-gold); position: sticky; top: 0; z-index: 1000;
}
.maceration-batch-strip {
  background: #0A0F0C; border-bottom: 1px solid var(--border-brass); padding: 6px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted-sage);
}
.organ-header-main {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.flacon-brand {
  display: flex; align-items: center; gap: 12px; padding: 7px 14px;
  background: var(--bg-organ); border: 1px solid var(--amber-gold); border-radius: 8px;
}
.flacon-monogram {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(212,155,75,0.16);
  border: 1px solid var(--amber-gold); color: var(--amber-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.organ-nav { display: flex; align-items: center; gap: 6px; }
.organ-link, .organ-drop-btn {
  min-height: 44px; padding: 8px 13px; border-radius: 8px;
  background: transparent; border: 1px solid transparent;
  color: var(--parchment); font-family: var(--font-sans); font-size: 0.83rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.organ-link:hover, .organ-drop-btn:hover {
  border-color: var(--amber-gold); background: rgba(212,155,75,0.1);
}
.organ-drop { position: relative; }
.organ-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 280px; background: #121B16;
  border: 1px solid var(--amber-gold); border-radius: 10px; padding: 8px;
  display: none; flex-direction: column; gap: 4px; box-shadow: 0 20px 44px rgba(0,0,0,0.75);
}
.organ-drop:hover .organ-drop-menu, .organ-drop:focus-within .organ-drop-menu { display: flex; }
.organ-drop-menu a {
  padding: 9px 12px; font-size: 0.8rem; color: var(--parchment); border-radius: 6px;
}
.organ-drop-menu a:hover { background: var(--amber-gold); color: #101713; font-weight: 700; }

.extrait-cta {
  background: var(--amber-gold); color: #101713; font-family: var(--font-mono); font-weight: 700;
  font-size: 0.75rem; min-height: 44px; padding: 10px 18px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
#mobileMenuToggle {
  display: none; min-height: 44px; padding: 8px 14px; background: var(--amber-gold); color: #101713;
  font-family: var(--font-mono); font-weight: 700; border: none; border-radius: 8px; cursor: pointer;
}
#mobileDrawer {
  display: none; position: fixed; inset: 0; background: var(--bg-forest); color: var(--parchment); z-index: 1050;
  padding: 28px; flex-direction: column; gap: 10px; overflow-y: auto;
}
#mobileDrawer.open { display: flex; }
#mobileDrawer a { padding: 12px; border-bottom: 1px solid var(--border-brass); font-family: var(--font-mono); }

/* UNIQUE FIRST SCREEN: 3-TIER OLFACTORY PYRAMID & BIODIVERSITY ACCORD ORGAN */
.olfactory-pyramid-organ-stage {
  max-width: 1380px; margin: 24px auto 44px; padding: 0 24px;
}
.organ-cabinet-shell {
  background: var(--bg-organ); border: 1.5px solid var(--amber-gold); border-radius: 20px;
  overflow: hidden; box-shadow: 0 26px 60px rgba(0,0,0,0.5);
}
.accord-selector-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #0C120F;
  border-bottom: 1.5px solid var(--border-brass);
}
.accord-tab-btn {
  min-height: 68px; padding: 12px 16px; background: transparent; border: none; border-right: 1px solid var(--border-brass);
  color: var(--parchment); text-align: left; cursor: pointer; transition: all 0.2s;
}
.accord-tab-btn:last-child { border-right: none; }
.accord-tab-btn.active {
  background: rgba(212,155,75,0.16); border-bottom: 3px solid var(--amber-gold);
}
.accord-tab-btn small {
  display: block; font-family: var(--font-mono); font-size: 0.66rem; color: var(--amber-gold); font-weight: 700;
}
.accord-tab-btn strong {
  font-family: var(--font-display); font-size: 1.06rem;
}

.pyramid-console-body {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; padding: 34px; align-items: center;
}
.kicker-amber {
  display: inline-block; font-family: var(--font-mono); font-size: 0.71rem; font-weight: 700;
  color: var(--amber-gold); background: rgba(212,155,75,0.12); border: 1px solid var(--amber-gold);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.hero-title { font-size: clamp(2rem, 3.1vw, 2.9rem); margin-bottom: 14px; }
.pyramid-3-stack {
  display: grid; gap: 10px; margin: 18px 0;
}
.pyr-tier {
  background: #101713; border: 1px solid var(--border-brass); border-left: 4px solid var(--amber-gold);
  border-radius: 10px; padding: 11px 14px;
}
.pyr-tier.heart { border-left-color: #E07A5F; }
.pyr-tier.base { border-left-color: var(--botanical-green); }
.pyr-tier span {
  display: block; font-family: var(--font-mono); font-size: 0.66rem; color: var(--amber-gold); font-weight: 700;
}
.pyr-tier strong { font-size: 0.9rem; color: var(--parchment); }

.flacon-visual-stage {
  position: relative; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--amber-gold);
}
.flacon-visual-stage img { width: 100%; height: 420px; object-fit: cover; }
.apothecary-price-seal {
  position: absolute; bottom: 16px; right: 16px; background: rgba(16,23,19,0.94);
  border: 1.5px solid var(--amber-gold); color: var(--amber-gold); border-radius: 10px;
  padding: 10px 16px; font-family: var(--font-mono); font-weight: 700; font-size: 0.86rem;
}

.section-block, .section-alt { max-width: 1340px; margin: 0 auto; padding: 58px 24px; }
.section-alt {
  content-visibility: auto; contain-intrinsic-size: auto 520px;
  background: var(--bg-organ); border: 1px solid var(--border-brass); border-radius: 20px; margin-bottom: 36px;
}
.section-title { font-size: clamp(1.75rem, 2.5vw, 2.4rem); margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 24px; }
.card-botanical {
  background: var(--bg-card); border: 1px solid var(--border-brass); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card-botanical img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border-brass); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.btn-primary, .btn-outline, .header-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 20px; border-radius: 8px; font-family: var(--font-mono); font-size: 0.77rem; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--amber-gold); color: #101713; border: none; }
.btn-outline { background: transparent; color: var(--amber-gold); border: 1px solid var(--amber-gold); }

.calc-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; margin-top: 22px; }
.calc-box { background: #101713; border: 1px solid var(--border-brass); border-radius: 14px; padding: 24px; }
.control-group { margin-bottom: 14px; }
.control-group label { display: block; font-family: var(--font-mono); font-size: 0.74rem; color: var(--amber-gold); margin-bottom: 6px; }
.form-input, select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--border-brass); background: var(--bg-organ); color: var(--parchment); font-family: var(--font-sans);
}
.form-input:user-valid { border-color: #10B981; }
.form-input:user-invalid { border-color: #EF4444; }
.price-big { font-family: var(--font-display); font-size: 2.35rem; font-weight: 700; color: var(--amber-gold); margin: 8px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.86rem; }
.spec-table th, .spec-table td { padding: 12px; border: 1px solid var(--border-brass); text-align: left; }
.spec-table th { background: #101713; color: var(--amber-gold); font-family: var(--font-mono); font-size: 0.74rem; }

.accordion-item { border: 1px solid var(--border-brass); border-radius: 10px; margin-bottom: 10px; background: var(--bg-card); }
.accordion-header {
  width: 100%; min-height: 48px; padding: 14px 18px; background: none; border: none;
  color: var(--parchment); font-weight: 700; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-body { padding: 0 18px 16px; display: none; color: var(--muted-sage); font-size: 0.9rem; }
.accordion-item.open .accordion-body { display: block; }

.site-footer {
  content-visibility: auto; contain-intrinsic-size: auto 420px;
  background: #090E0B; border-top: 1.5px solid var(--amber-gold); padding: 54px 24px; margin-top: 44px; color: var(--muted-sage);
}
.footer-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.cookie-banner {
  position: fixed; bottom: 18px; right: 20px; max-width: 430px; background: #101713; color: var(--parchment);
  border: 2px solid var(--amber-gold); border-radius: 12px; padding: 16px; z-index: 995; font-size: 0.8rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.75);
}
@media (max-width: 1040px) {
  .organ-nav, .maceration-batch-strip { display: none; }
  #mobileMenuToggle { display: inline-flex; align-items: center; }
  .accord-selector-tabs { grid-template-columns: repeat(2, 1fr); }
  .pyramid-console-body, .calc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* RADICAL REDESIGN 4: FLOATING PILL APOTHECARY HEADER & STEPPED OLFACTORY PYRAMID */
.floating-apothecary-pill-header {
  position: sticky; top: 14px; z-index: 1000; padding: 0 20px; margin-bottom: 10px;
}
.apothecary-pill-capsule {
  max-width: 1240px; margin: 0 auto; background: rgba(31,22,18,0.95); color: #F7F2EA;
  backdrop-filter: blur(12px); border: 1.5px solid #C89D54; border-radius: 999px;
  padding: 10px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  box-shadow: 0 18px 40px rgba(31,22,18,0.22);
}
.olfactory-altar-hero {
  max-width: 1320px; margin: 18px auto 52px; padding: 0 24px; text-align: center;
}
.altar-title-deck {
  max-width: 880px; margin: 0 auto 26px;
}
.accord-switcher-pills {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  background: #EFE6D5; border: 1.5px solid #2A1E17; border-radius: 999px; padding: 6px; margin-bottom: 24px;
}
.accord-pill-btn {
  padding: 9px 18px; border-radius: 999px; border: none; background: transparent;
  font-family: var(--font-mono); font-size: 0.73rem; font-weight: 700; color: #2A1E17; cursor: pointer;
}
.accord-pill-btn.active { background: #2A1E17; color: #F7F2EA; }
.pyramid-shrine-grid {
  display: grid; grid-template-columns: 1fr 390px 1fr; gap: 24px; align-items: center; text-align: left;
}
.pyramid-wing-stack {
  display: flex; flex-direction: column; gap: 18px;
}
.pyramid-tier-card {
  background: #FFF; border: 1.5px solid #2A1E17; border-radius: 18px; padding: 20px;
  box-shadow: 0 12px 28px rgba(42,30,23,0.06); position: relative;
}
.pyramid-tier-card::before {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; background: #B45309;
}
.flacon-oval-shrine {
  position: relative; border-radius: 999px; overflow: hidden; border: 3px solid #2A1E17;
  height: 490px; box-shadow: 0 24px 50px rgba(42,30,23,0.18);
}
.flacon-oval-shrine img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1040px) {
  .pyramid-shrine-grid { grid-template-columns: 1fr; }
  .flacon-oval-shrine { height: 380px; border-radius: 32px; }
}

/* COOKIE_DIFF_APPLIED */
.cookie-banner { left: 24px !important; right: auto !important; bottom: 18px !important; max-width: 340px !important; border-radius: 18px !important; background: #FFFDF9 !important; border: 1.5px solid #C89D54 !important; padding: 12px 16px !important; }

/* COOKIE CONTRAST FIX */
.lgpd-banner { background: #FAF6EE !important; color: #1C140D !important; border: 2px solid #C89D54 !important; }
.lgpd-banner p, .lgpd-banner div, .lgpd-banner span { color: #2B2118 !important; }
.lgpd-banner strong { color: #120D08 !important; }
.lgpd-banner a { color: #8B5E1A !important; text-decoration: underline !important; }

/* COOKIE BANNER CONTRAST FIX */
#cookieBanner, .cookie-banner { background: #FAF6EE !important; color: #1C140D !important; border: 2px solid #C89D54 !important; }
#cookieBanner p, .cookie-banner p { color: #2B2118 !important; }
#cookieBanner strong, .cookie-banner strong { color: #120D08 !important; }
#cookieBanner a, .cookie-banner a { color: #8B5E1A !important; font-weight: 700 !important; }
