/* CMW Expeditions — site styles, from the "papier & encre" brand charter (v2).
   White paper first; ink for lines and text; deep blue for landmarks; orange for actions; continent colours as accents. */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/Poppins-800.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/CormorantGaramond-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: italic; font-display: swap; src: url("../fonts/CormorantGaramond-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Schoolbell"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Schoolbell-400.woff2") format("woff2"); }

:root {
  --paper: #ffffff;
  --cream: #f2ead8;
  --ink: #1c1a17;
  --ink-soft: #57524b;
  --navy: #1f355c;
  --orange: #fa671e;
  --orange-d: #c9531a;
  --wa: #25d366;
  --line: rgba(28, 26, 23, 0.14);
  --c-af: #2e1d16; --c-am: #5f1b1d; --c-as: #97701f; --c-eu: #1f355c; --c-oc: #1e3b2e; --c-an: #3d4b52;
  --f-body: "Poppins", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-hand: "Schoolbell", "Comic Sans MS", cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .55 0 0 0 0 .55 0 0 0 .5 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .06' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .55 0 0 0 0 .55 0 0 0 .35 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; position: relative; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: var(--grain), var(--fibre), var(--mottle); background-size: 260px 260px, 700px 700px, 900px 900px; opacity: 0.42; mix-blend-mode: multiply; }
.topbar, header, main, footer { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange-d); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

/* bilingual: both languages live in the page, the UI language shows one */
html[data-ui="fr"] [lang="en"]:not(html), html[data-ui="en"] [lang="fr"]:not(html) { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(52px, 8vw, 104px); }
section + section { border-top: 1px dashed var(--line); }
.center { text-align: center; }
.center .kicker { justify-content: center; }
.center .sub, .center .lead { margin-inline: auto; }
.kicker { display: flex; align-items: center; gap: 12px; font: 600 12px/1.3 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange-d); }
.kicker::before {
  content: ""; flex: none; width: 52px; height: 7px;
  background:
    radial-gradient(circle, var(--c-af) 3px, transparent 3.5px) 0 0 / 7px 7px no-repeat,
    radial-gradient(circle, var(--c-am) 3px, transparent 3.5px) 9px 0 / 7px 7px no-repeat,
    radial-gradient(circle, var(--c-as) 3px, transparent 3.5px) 18px 0 / 7px 7px no-repeat,
    radial-gradient(circle, var(--c-eu) 3px, transparent 3.5px) 27px 0 / 7px 7px no-repeat,
    radial-gradient(circle, var(--c-oc) 3px, transparent 3.5px) 36px 0 / 7px 7px no-repeat,
    radial-gradient(circle, var(--c-an) 3px, transparent 3.5px) 45px 0 / 7px 7px no-repeat;
}
.h1 { font: 800 clamp(36px, 5.6vw, 72px)/1.02 var(--f-body); letter-spacing: -0.025em; text-transform: uppercase; color: var(--navy); }
.h2 { font: 800 clamp(26px, 3.8vw, 44px)/1.08 var(--f-body); letter-spacing: -0.015em; text-transform: uppercase; margin-top: 12px; color: var(--navy); }
.h3 { font: 800 clamp(19px, 2vw, 23px)/1.2 var(--f-body); text-transform: uppercase; letter-spacing: 0; color: var(--navy); }
.acc { font-family: var(--f-serif); font-style: italic; font-weight: 600; color: var(--orange-d); text-transform: none; letter-spacing: 0; }
.sub { font: 300 clamp(17px, 1.8vw, 21px)/1.45 var(--f-body); color: var(--ink-soft); margin-top: 8px; max-width: 60ch; }
.lead { font: 300 clamp(16px, 1.35vw, 18.5px)/1.65 var(--f-body); max-width: 58ch; }
.lead b { font-weight: 600; }
.note { font: 400 13px/1.55 var(--f-body); color: var(--ink-soft); }
.hand { font-family: var(--f-hand); font-size: 23px; line-height: 1.3; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ink stamp (mask recoloured by its ink, pressed into the paper) */
.stamp { aspect-ratio: 1; background: var(--ink-c, var(--ink)); mix-blend-mode: multiply; -webkit-mask: var(--m, url("../img/seal-mask.png")) center / contain no-repeat; mask: var(--m, url("../img/seal-mask.png")) center / contain no-repeat; }
.stamp.africa { --m: url("../img/seal-africa-mask.png"); --ink-c: var(--c-af); }

/* "coming soon" rubber stamp */
.soon-stamp { display: inline-block; font: 800 12px/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-am); border: 2.5px solid currentColor; padding: 9px 12px 8px; rotate: -6deg; mix-blend-mode: multiply; }
.ok-stamp { color: var(--c-oc); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid var(--orange-d); background: var(--orange-d); color: #fff; font: 600 13px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-radius: 2px; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s; }
.btn:hover { background: #b0460f; border-color: #b0460f; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center .btns { justify-content: center; }
.more { font: 600 12.5px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-d); text-decoration: none; border-bottom: 2px dotted currentColor; padding-bottom: 4px; }

/* price line */
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 22px; }
.price b { font: 800 clamp(26px, 2.8vw, 34px)/1 var(--f-body); color: var(--navy); margin-right: 10px; }
.price span { font: 600 15px/1 var(--f-body); color: var(--ink-soft); padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }

/* world counter */
.counter { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 18px; border: 1.5px dashed rgba(28, 26, 23, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.8); font: 500 14.5px/1.3 var(--f-body); }
.counter[hidden] { display: none; }
.counter b { font-weight: 800; color: var(--orange-d); }
.counter .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* newsletter */
.news { border-top: 1px dashed var(--line); background: rgba(242, 234, 216, 0.45); }
.news-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: center; }
@media (max-width: 860px) { .news-in { grid-template-columns: minmax(0, 1fr); } }
.news-row { display: flex; gap: 10px; }
@media (max-width: 480px) { .news-row { flex-direction: column; } }
.news-row input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--navy); border-radius: 2px; background: #fff; font: 400 16px/1 var(--f-body); color: var(--ink); }
.news-ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font: 400 14px/1.45 var(--f-body); cursor: pointer; }
.news-ok input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange-d); flex: none; }
.news-form .note { margin-top: 8px; }
.news-msg { margin-top: 10px; font: 600 14.5px/1.45 var(--f-body); color: var(--navy); min-height: 1.4em; }
.news-msg.is-ok { color: var(--c-oc); }
.news-msg.is-err { color: var(--c-am); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.order-band .kicker::before { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }

/* topbar + header: links left, the seal in the middle, links right (as in the charter mock-up) */
.topbar { background: var(--navy); color: #f4f2ec; text-align: center; font: 500 13px/1.3 var(--f-body); letter-spacing: 0.05em; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.mast { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); z-index: 20; }
.mast-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding-block: 10px; }
.mast nav { display: flex; align-items: center; gap: 26px; font: 600 12px/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; }
.mast nav a { text-decoration: none; color: var(--navy); padding-block: 8px; border-bottom: 2px solid transparent; }
.mast nav a:hover { color: var(--orange-d); }
.mast nav a[aria-current="page"] { border-bottom-color: var(--orange-d); }
.mast-logo .stamp { width: 76px; rotate: -6deg; transition: rotate 0.3s; }
.mast-logo:hover .stamp { rotate: 4deg; }
.mast-r { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.langs { display: inline-flex; border: 1.5px solid var(--navy); border-radius: 999px; overflow: hidden; flex: none; }
.langs button { border: 0; background: transparent; padding: 8px 12px; min-width: 44px; min-height: 36px; font: 700 12px/1 var(--f-body); letter-spacing: 0.1em; color: var(--navy); cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; border: 1.5px solid var(--navy); border-radius: 50%; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--navy); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(28, 26, 23, 0.4); padding: 10px 20px; flex-direction: column; align-items: stretch !important; gap: 0 !important; min-width: 230px; }
.menu-panel a { padding: 14px 0 !important; border-bottom: 1px dashed var(--line) !important; }
.menu-panel a:last-child { border-bottom: 0 !important; }
@media (max-width: 860px) {
  .mast-in { grid-template-columns: auto minmax(0, 1fr); }
  .mast-l, .mast-r > nav { display: none !important; }
  .mast-logo { order: -1; }
  .mast-logo .stamp { width: 58px; }
  .mast-r { gap: 10px; }
  .menu { display: block; }
}

/* footer */
.foot { border-top: 1px dashed var(--line); padding-block: 56px 28px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }
.foot-brand .stamp { width: 96px; rotate: -6deg; }
.foot-brand .hand { font-size: 20px; margin-top: 10px; color: var(--navy); }
.foot .zoe { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; font: 400 13px/1.4 var(--f-body); }
.foot .zoe img { width: 52px; }
.foot-h { font: 700 12px/1.3 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; font: 400 14.5px/1.4 var(--f-body); }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: var(--orange-d); }
.foot ul small { font: 600 10px/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-am); margin-left: 4px; }
.foot-note { font: 400 13.5px/1.5 var(--f-body); color: var(--ink-soft); margin-bottom: 14px; }
.wa-btn { background: var(--wa); border-color: var(--wa); color: #0b3d1f; }
.wa-btn:hover { background: #1fb457; border-color: #1fb457; color: #fff; }
@media (max-width: 560px) { .foot { padding-bottom: 96px; } }
.foot-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font: 400 12.5px/1.5 var(--f-body); color: var(--ink-soft); text-align: center; }

/* floating WhatsApp helper */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--wa); color: #0b3d1f; font: 700 13px/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(11, 61, 31, 0.6); }
.chat-btn svg { width: 28px; height: 28px; }
.chat-btn:hover { background: #1fb457; color: #fff; }
.chat-panel { width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(28, 26, 23, 0.55); border-radius: 14px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--navy); color: #fff; }
.chat-head .stamp { width: 42px; --ink-c: #fff; mix-blend-mode: normal; rotate: -6deg; }
.chat-head b { display: block; font: 700 14px/1.2 var(--f-body); letter-spacing: 0.06em; }
.chat-head small { font: 400 12px/1.3 var(--f-body); opacity: 0.85; }
.chat-x { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.chat-body { padding: 16px 14px 14px; background: #f7f5f0; }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 12px 14px; font: 400 14px/1.5 var(--f-body); max-width: 92%; }
.chat-choices { display: grid; gap: 8px; margin-top: 12px; justify-items: end; }
.choice { display: inline-block; text-decoration: none; background: #e8f9ee; border: 1.5px solid var(--wa); color: #0b3d1f; border-radius: 14px 4px 14px 14px; padding: 10px 14px; font: 600 13.5px/1.3 var(--f-body); }
.choice:hover { background: var(--wa); }
@media (max-width: 480px) { .chat-btn span { display: none; } .chat-btn { padding: 0; width: 56px; justify-content: center; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
