/* Shared chrome — Marit Pompe site (nav, footer, type, buttons) */
:root {
  --cobalt: #153a5c;
  --cobalt-soft: #1e4f78;
  --terracotta: #a84830;
  --terracotta-deep: #8f3a26;
  --cream: #f7f2e8;
  --cream-dark: #ebe2d4;
  --navy-ink: #101828;
  --text-muted: #3a424c;
  --text-soft: #4f463c;
  --sage: #4a5c56;
  --white: #fff;
  --nav-h: 4.5rem;
  --container: 72rem;
  --font-display: "Playfair Display", "Times New Roman", Times, serif;
  --font-body: "Cormorant Garamond", Garamond, Palatino, Georgia, serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 18px 48px rgba(26, 34, 56, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 19px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy-ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.texture-paper { position: relative; isolation: isolate; }
.texture-paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.26; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.texture-paper > * { position: relative; z-index: 1; }

.section-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  color: var(--navy-ink);
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--cobalt); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--cream);
  border: 1px solid var(--terracotta-deep);
  box-shadow: 0 3px 0 var(--terracotta-deep);
  position: relative; overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.35), transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(28,74,114,0.25), transparent 45%);
  filter: blur(14px); opacity: 0; transition: opacity 0.4s;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--terracotta-deep), 0 14px 32px rgba(196,92,62,0.28); }
.btn--primary:hover::before { opacity: 1; }

.btn--purchase {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  padding: 0.85rem 1.35rem;
  font-size: 1.02rem;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  box-shadow: 0 8px 22px rgba(196,92,62,0.32);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn--purchase:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(196,92,62,0.38); }
.btn--purchase:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem); z-index: 200;
  transition: background 0.35s var(--ease), box-shadow 0.35s;
}
.nav.scrolled {
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 34, 56, 0.06);
}
.nav__logo { cursor: pointer; line-height: 1.15; }
.nav__logo-main {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--navy-ink);
  transition: color 0.3s;
}
.nav__links {
  display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.5rem);
  flex-wrap: wrap; justify-content: center;
  flex: 1;
}
@media (min-width: 1025px) {
  .nav__links { margin-right: 0.5rem; }
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--navy-ink);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__links a:hover { border-bottom-color: var(--terracotta); color: var(--terracotta); }
.nav__cta {
  background: var(--terracotta) !important;
  color: var(--cream) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 2px;
  border: none !important;
  font-weight: 600;
}
.nav__cta:hover { filter: brightness(1.05); }
.nav__cta.is-current {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  filter: brightness(0.95);
}
.nav__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 1;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(26,34,56,0.22);
  border-radius: 2px;
  color: var(--navy-ink);
  background: var(--cream-dark);
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.lang-toggle:hover { transform: translateY(-1px); }
.lang-flag { font-size: 1.05rem; line-height: 1; font-style: normal; }
@media (max-width: 1024px) {
  .nav__links { flex: 0; }
  .nav__tools { margin-left: auto; }
}
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav__burger span { width: 22px; height: 2px; background: var(--navy-ink); transition: 0.25s; }
@media (max-width: 1024px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(247, 242, 232, 0.98);
    flex-direction: column; padding: 1.25rem; gap: 0.75rem;
    box-shadow: var(--shadow-soft); transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
}

/* Purchase / shop shared blocks */
.purchase { padding: clamp(2.5rem, 6vw, 4rem) 0; background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%); }
.purchase__title { margin-bottom: 0.5rem; }
.purchase__lead { max-width: 36rem; margin-bottom: 1.5rem; font-size: 1.12rem; line-height: 1.6; color: var(--text-muted); }
.purchase__success {
  margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: 3px;
  background: rgba(125, 143, 122, 0.15); border: 1px solid var(--sage);
  font-size: 1.05rem; line-height: 1.55;
}
.purchase__success strong {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 1.2rem; margin-bottom: 0.35rem; color: var(--navy-ink);
}
.purchase__shipping-banner {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  text-align: center;
  background: rgba(255, 252, 245, 0.92);
  border: 1px solid rgba(26, 34, 56, 0.12);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(26, 34, 56, 0.05);
}
.purchase__shipping-banner.is-unlocked {
  background: rgba(125, 143, 122, 0.1);
  border-color: rgba(74, 92, 86, 0.28);
  box-shadow: 0 2px 10px rgba(74, 92, 86, 0.08);
}
.purchase__shipping-promo {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.4;
  color: var(--cobalt);
}
.purchase__shipping-banner.is-unlocked .purchase__shipping-promo { color: var(--sage); }
.purchase__shipping-nudge {
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--terracotta);
  font-style: italic;
}
.purchase__field {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(26,34,56,0.12);
}
.purchase__field:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 1rem; }
.purchase__field h3 {
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  margin-bottom: 0.35rem; color: var(--navy-ink);
}
.purchase__field-desc {
  font-size: 0.98rem; color: var(--text-muted); line-height: 1.45; margin-bottom: 0.75rem;
}
.purchase__stepper {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid rgba(26,34,56,0.15);
  border-radius: 2px; background: var(--cream);
}
.purchase__stepper button {
  width: 2.5rem; height: 2.5rem;
  font-size: 1.25rem; line-height: 1; color: var(--navy-ink);
  transition: background 0.2s, color 0.2s;
}
.purchase__stepper button:hover:not(:disabled) { background: var(--cream-dark); color: var(--terracotta); }
.purchase__stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.purchase__stepper-val {
  min-width: 2.75rem; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: 1.35rem;
  color: var(--navy-ink); border-left: 1px solid rgba(26,34,56,0.12);
  border-right: 1px solid rgba(26,34,56,0.12);
}
.trust-line {
  font-size: 0.98rem; font-style: italic; color: var(--text-muted);
  text-align: center; margin: 1.5rem 0 0; line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--navy-ink);
  color: rgba(247,242,232,0.88);
  padding: 3rem 0 2rem;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a3550 0%, var(--cobalt) 35%, #4a6b5a 70%, #3d6a8c 100%);
}
.footer__top { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .footer__top > :first-child { justify-self: start; }
  .footer__nav { justify-self: center; }
  .footer__social { justify-self: end; }
}
.footer__logo { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; margin: 0; }
.footer__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__nav li { margin: 0; }
.footer__nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer__nav a:hover { border-bottom-color: var(--terracotta); color: #fff; }
.footer__social { display: flex; flex-wrap: wrap; gap: 1.35rem 1.75rem; align-items: flex-end; justify-content: center; }
@media (min-width: 900px) { .footer__social { justify-content: flex-end; } }
.footer__social-group { display: flex; flex-direction: column; gap: 0.45rem; align-items: center; }
.footer__social-label {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.55);
  font-style: normal;
}
.footer__social-icons { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.footer__social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: rgba(247,242,232,0.9);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer__social-icons a:hover { background: rgba(255,255,255,0.12); border-color: var(--cream); color: #fff; }
.footer__social-icons svg { width: 1.15rem; height: 1.15rem; }
.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.98rem;
  font-style: italic;
}
.footer__disclaimer {
  width: 100%;
  max-width: 40rem;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: center;
  color: rgba(247, 242, 232, 0.78);
}
.footer__bottom-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.footer__bottom em { font-style: italic; color: var(--terracotta); }

/* Bilingual */
html[lang="fr"] [lang="en"] { display: none !important; }
html[lang="en"] [lang="fr"] { display: none !important; }
[lang="fr"], [lang="en"] { display: inline; }
h1[lang], h2[lang], h3[lang], p[lang].purchase__lead, p[lang].trust-line,
p[lang].footer__disclaimer, p[lang].purchase__field-desc,
.footer__bottom-row > p[lang] { display: block; }
