/* ViaTrek Adventures — design coloré, lumineux, plein écran */
:root {
  --cream: #fbf7ef;
  --sand: #f3ead9;
  --white: #ffffff;
  --ink: #17251d;
  --muted: #5d6b62;
  --line: rgba(23, 37, 29, .1);

  --forest: #14382b;
  --forest-2: #1f5640;
  --lake: #12a5a0;
  --lake-2: #5fd3c6;
  --sunset: #f26b2a;
  --sunset-2: #ff9f43;
  --sun: #ffc845;
  --coral: #ef4f5e;
  --sky: #3d8bd9;

  --g-sunset: linear-gradient(120deg, #f2552a 0%, #ff8a3d 45%, #ffc845 100%);
  --g-lake: linear-gradient(120deg, #0f7f86 0%, #12a5a0 45%, #5fd3c6 100%);
  --g-forest: linear-gradient(160deg, #0f2c22 0%, #1f5640 100%);

  --radius: 20px;
  --shadow: 0 12px 40px rgba(20, 56, 43, .12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--sunset); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 880px; }
.muted { color: var(--muted); }

.kicker { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem;
  background: var(--g-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.sub { font-size: clamp(1rem, 1.6vw, 1.2rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.55; font-weight: 400; }
.grad { background: var(--g-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; padding: 1em 1.9em; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 .95rem/1 var(--font); letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .25s, background .25s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-light, .btn-primary { background: var(--g-sunset); color: #fff; box-shadow: 0 8px 24px rgba(242, 85, 42, .35); }
.btn-light:hover, .btn-primary:hover { box-shadow: 0 12px 30px rgba(242, 85, 42, .45); }
.btn-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.45); }
.btn-glass:hover { background: rgba(255,255,255,.3); }
.btn-fb { background: #1877f2; color: #fff; box-shadow: 0 8px 24px rgba(24,119,242,.3); }
.section:not(.section-statement) .btn-glass { background: var(--white); color: var(--forest); border: 1.5px solid var(--line); backdrop-filter: none; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(251,247,239,.86); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 64px; padding: 0 clamp(16px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; transition: color .3s; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.brand span { font-weight: 800; letter-spacing: .3em; font-size: .95rem; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a { color: #fff; font-size: .9rem; font-weight: 500; padding: .55em 1em; border-radius: 999px; transition: background .2s, color .3s; }
.nav a:hover { background: rgba(255,255,255,.18); text-decoration: none; }
.scrolled .brand, .scrolled .nav a { color: var(--ink); }
.scrolled .nav a:hover { background: rgba(23,37,29,.06); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.22); }
.scrolled .nav a[aria-current="page"] { background: rgba(242,107,42,.12); color: var(--sunset); }
.nav-fb { display: flex; align-items: center; gap: .45rem; }
.nav-fb-label { display: none; }
.nav-toggle { display: none; background: rgba(255,255,255,.2); border: 0; border-radius: 999px; width: 44px; height: 38px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; margin: 5px auto; transition: .25s; }
.scrolled .nav-toggle { background: rgba(23,37,29,.07); }
.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Panneaux plein écran ---------- */
.panel { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  padding: calc(64px + 10vh) 20px calc(9vh + env(safe-area-inset-bottom)); color: #fff; }
.panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.8s var(--ease); filter: saturate(1.12) contrast(1.03); }
.panel.in .panel-bg { transform: scale(1); }
.panel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,15,.45) 0%, rgba(8,20,15,.05) 32%, rgba(8,20,15,.05) 58%, rgba(8,20,15,.55) 100%); }
.panel-shade.strong { background: linear-gradient(160deg, rgba(15,44,34,.88) 0%, rgba(15,44,34,.7) 50%, rgba(18,165,160,.55) 100%); }
.panel-top, .panel-bottom { position: relative; z-index: 1; }
.panel h1 { font-size: clamp(2.6rem, 7.5vw, 5.8rem); font-weight: 800; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.panel h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 800; text-shadow: 0 2px 30px rgba(0,0,0,.25); color: #fff; }
.panel .sub { opacity: .95; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.panel .kicker { background: none; color: var(--sun); -webkit-background-clip: initial; background-clip: initial; }
.panel-bottom { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero .panel-bottom { margin-bottom: 40px; }

/* ---------- Chiffres ---------- */
.stats { background: var(--g-lake); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,69,.35), transparent 65%); }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stats strong { display: block; font-size: clamp(2.8rem, 6.5vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: .5rem; }
.stats span { font-size: .95rem; font-weight: 500; opacity: .92; }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-gallery { background: var(--g-forest); color: #fff; padding-bottom: clamp(5rem, 11vw, 8.5rem); }
.section-gallery .muted { color: rgba(255,255,255,.75); }
.section-gallery .kicker { background: none; color: var(--sun); -webkit-background-clip: initial; background-clip: initial; }

/* ---------- Filtres + cartes ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { border: 1.5px solid var(--line); background: var(--white); color: var(--ink); padding: .6em 1.25em; border-radius: 999px; font: 600 .88rem var(--font); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--sunset); color: var(--sunset); }
.chip.is-active { background: var(--g-sunset); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(242,85,42,.3); }
.chip[data-filter="rando"].is-active { background: linear-gradient(120deg, #1f5640, #3aa86b); box-shadow: 0 6px 18px rgba(31,86,64,.3); }
.chip[data-filter="decouverte"].is-active { background: linear-gradient(120deg, #2d6fc0, #4fa3f0); box-shadow: 0 6px 18px rgba(61,139,217,.3); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20,56,43,.18); }
.card[hidden] { display: none; }
.card-link { all: unset; display: flex; flex-direction: column; height: 100%; width: 100%; cursor: pointer; }
.card-link:focus-visible { outline: 3px solid var(--sunset); outline-offset: -3px; border-radius: var(--radius); }
.card-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(1.1); }
.card:hover .card-cover img { transform: scale(1.06); }
.tag { position: absolute; top: 14px; left: 14px; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .6em 1em; border-radius: 999px; background: var(--sunset); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.card[data-type="rando"] .tag { background: #2b8a5b; }
.card[data-type="decouverte"] .tag { background: var(--sky); }
.count { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.9); color: var(--ink); font-size: .72rem; font-weight: 600; padding: .5em .85em; border-radius: 999px; }
.cover-illu { position: absolute; inset: 0; display: grid; place-items: end start; padding: 1.2rem 1.3rem; }
.cover-illu svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-illu .region { position: relative; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.2); }
.cover-via { background: radial-gradient(130% 100% at 85% 0%, #ffd36b 0%, #ff8a3d 35%, #e2452a 75%, #a42a3a 100%); }
.cover-rando { background: radial-gradient(130% 100% at 85% 0%, #c8f08f 0%, #4cc38a 38%, #1f7a5c 75%, #124336 100%); }
.cover-decouverte { background: radial-gradient(130% 100% at 85% 0%, #9fe3ff 0%, #4fa3f0 38%, #3a5fc8 75%, #2b2f86 100%); }
.cover-illu .topo { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.2; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin-bottom: .35rem; letter-spacing: -.02em; }
.where { color: var(--muted); font-size: .88rem; margin-bottom: .8rem; }
.excerpt { font-size: .93rem; color: #3b4a41; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: auto; font-weight: 700; color: var(--sunset); font-size: .9rem; }
.card[data-type="rando"] .more { color: #2b8a5b; }
.card[data-type="decouverte"] .more { color: var(--sky); }

/* ---------- Statement ---------- */
.section-statement { background: var(--g-sunset); color: #fff; text-align: center; position: relative; overflow: hidden; }
.section-statement::before { content: ""; position: absolute; left: 50%; top: -30%; width: 900px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,240,180,.45), transparent 60%); }
.section-statement > * { position: relative; }
.section-statement .kicker { background: none; color: #fff; -webkit-background-clip: initial; background-clip: initial; opacity: .9; }
.section-statement .grad { background: none; color: var(--forest); -webkit-background-clip: initial; background-clip: initial; }
.section-statement .lead { margin: 1.5rem auto 0; max-width: 780px; color: rgba(255,255,255,.95); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(3rem, 7vw, 5rem); text-align: left; }
.tile { background: rgba(255,255,255,.95); color: var(--ink); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: 0 14px 40px rgba(140,40,10,.18); }
.tile-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--g-sunset); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 1.1rem; }
.tile:nth-child(2) .tile-ico { background: var(--g-lake); }
.tile:nth-child(3) .tile-ico { background: linear-gradient(120deg, #1f5640, #3aa86b); }
.tile:nth-child(4) .tile-ico { background: linear-gradient(120deg, #2d6fc0, #4fa3f0); }
.tile h3 { font-size: 1.12rem; }
.tile p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Formulaires ---------- */
.panel-form { display: block; text-align: left; min-height: auto; padding: clamp(6rem, 12vw, 9rem) 0; }
.panel-form .panel-bg { transform: none; }
.panel-form .display { color: #fff; }
.split { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.checklist li { padding: .75rem 0 .75rem 2.2rem; position: relative; border-top: 1px solid rgba(255,255,255,.2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: .7rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sun); color: var(--forest); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.form { display: grid; gap: 1rem; }
.glass { background: var(--white); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); color: var(--ink); }
.panel-form .glass { box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--forest); }
.form input, .form textarea { width: 100%; font: 400 1rem var(--font); padding: .85em .95em; border: 1.5px solid #e3dccd; border-radius: 12px; background: #fdfbf7; color: var(--ink); transition: .2s; }
.form input::placeholder, .form textarea::placeholder { color: #a39f93; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sunset); background: #fff; box-shadow: 0 0 0 4px rgba(242,107,42,.15); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--ink); }
.form .check input { width: 18px; height: 18px; margin-top: .15em; flex: none; accent-color: var(--sunset); }
.form .small { font-size: .8rem; color: var(--muted); }
.form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,.7); padding: 2.4rem 0 2.6rem; font-size: .84rem; border-top: 4px solid transparent; border-image: var(--g-sunset) 1; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-brand { letter-spacing: .18em; font-weight: 700; color: #fff; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.75); font-weight: 500; }
.footer-links a:hover { color: var(--sun); }
.tiny { font-size: .76rem; opacity: .75; margin-top: 1.2rem; }

/* ---------- Fenêtre détail ---------- */
.modal { width: min(900px, 100% - 24px); max-height: 92vh; border: 0; border-radius: 24px; padding: 0; background: var(--white); color: var(--ink); box-shadow: 0 40px 120px rgba(10,30,20,.45); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal::backdrop { background: rgba(15,44,34,.6); backdrop-filter: blur(6px); }
.modal-hero { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.modal-hero.cover-illu { position: relative; }
.modal-body .content { padding: clamp(1.5rem, 4vw, 2.6rem); }
.modal-body h3 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.modal-body .content > p { color: #33423a; }
.modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 3; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.infos { border-radius: 16px; padding: 1.2rem 1.4rem; margin: 1.6rem 0; background: linear-gradient(120deg, rgba(18,165,160,.1), rgba(95,211,198,.12)); border-left: 4px solid var(--lake); }
.infos h4 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #0f7f86; margin-bottom: .7rem; }
.infos ul { list-style: none; margin: 0; padding: 0; }
.infos li { padding: .45rem 0; border-top: 1px solid rgba(18,165,160,.15); font-size: .95rem; }
.infos li:first-child { border-top: 0; }
.soon { font-style: italic; color: var(--muted); }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2rem; }
.gallery-head h4 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sunset); margin: 0; }
.gallery-head span { color: var(--muted); font-size: .85rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: .8rem; }
.gallery button { all: unset; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--sand); }
.gallery button:focus-visible { outline: 3px solid var(--sunset); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); filter: saturate(1.08); }
.gallery button:hover img { transform: scale(1.06); }

/* ---------- Mosaïque ---------- */
.mosaic { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 12px; }
.tile-photo { all: unset; position: relative; overflow: hidden; border-radius: 18px; cursor: zoom-in; background: #1b3a2e; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.tile-photo:nth-child(1), .tile-photo:nth-child(8) { grid-column: span 2; grid-row: span 2; }
.tile-photo:nth-child(5), .tile-photo:nth-child(11) { grid-row: span 2; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(1.12); }
.tile-photo:hover img { transform: scale(1.05); }
.tile-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .9rem; font-size: .84rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .3s; }
.tile-photo:hover span, .tile-photo:focus-visible span { opacity: 1; }
.tile-photo:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,16,12,.97); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; max-width: 100%; padding: 0 70px; }
.lightbox img { max-width: 100%; max-height: 84vh; max-height: 84svh; object-fit: contain; border-radius: 8px; animation: pop .3s var(--ease); }
.lightbox figcaption { color: rgba(255,255,255,.7); font-size: .85rem; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--sunset); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Pages simples ---------- */
.page { padding: 7.5rem 0 5rem; max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; }
.page h2 { font-size: 1.3rem; margin-top: 2.2rem; color: var(--forest); }
.page p { color: #33423a; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1.5rem; background: rgba(251,247,239,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 40px rgba(0,0,0,.12); display: none; }
  .nav.is-open { display: flex; }
  .nav a, .scrolled .nav a { color: var(--ink); font-size: 1.15rem; padding: .95rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-fb-label { display: inline; }
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}
@media (max-width: 760px) {
  .panel-bottom { flex-direction: column; width: 100%; max-width: 360px; gap: .7rem; }
  .btn { width: 100%; min-width: 0; }
  .form button, .section .btn-glass, .section .btn-fb { width: auto; }
  .form .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .tile-photo:nth-child(5), .tile-photo:nth-child(11) { grid-row: span 1; }
  .lightbox figure { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 58px); } .lb-next { right: calc(50% - 58px); }
  .lightbox img { max-height: 74vh; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .panel-bg, .card, .card-cover img, .btn { transition: none; transform: none; }
  .scroll-cue span, .modal[open] { animation: none; }
}

/* ---------- Fiche produit (boutique) ---------- */
#produits { padding-top: clamp(4rem, 9vw, 6rem); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; background: var(--white); border-radius: 28px; padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.product-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.product-thumbs { display: flex; gap: .6rem; margin-top: .7rem; }
.product-thumbs button { all: unset; cursor: pointer; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.product-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs button.is-active, .product-thumbs button:focus-visible { outline-color: var(--sunset); }
.product-info { padding: clamp(.5rem, 2vw, 1.5rem) 0; }
.product-info h3 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; margin-top: .9rem; }
.product-badge { display: inline-block; background: var(--g-sunset); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .55em 1em; border-radius: 999px; }
.product-price { font-size: 1.5rem; font-weight: 800; color: var(--sunset); margin-bottom: 1rem; }
.product-features { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.product-features li { padding: .55rem 0 .55rem 2rem; border-top: 1px solid var(--line); position: relative; }
.product-features li::before { content: "✓"; position: absolute; left: 0; top: .5rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--g-lake); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.product-actions { margin-bottom: .8rem; }
.product .small { font-size: .8rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* ---------- Vanlife ---------- */
.section-van { background: linear-gradient(160deg, #fff3e0 0%, #ffe1c2 55%, #ffd0a8 100%); }
.section-van .split { align-items: center; }
.van-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.van-tile { background: var(--white); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 12px 30px rgba(226,69,42,.12); }
.van-tile span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--g-sunset); font-size: 1.3rem; margin-bottom: .9rem; }
.van-tile:nth-child(2) span { background: var(--g-lake); }
.van-tile:nth-child(3) span { background: linear-gradient(120deg, #1f5640, #3aa86b); }
.van-tile:nth-child(4) span { background: linear-gradient(120deg, #7a4fb0, #d9557a); }
.van-tile h3 { font-size: 1.1rem; }
.van-tile p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 480px) { .van-tiles { grid-template-columns: 1fr; } }

/* reCAPTCHA Netlify */
.captcha { min-height: 78px; }
@media (max-width: 360px) { .captcha { transform: scale(.88); transform-origin: 0 0; } }

/* ---------- Pages sortie ---------- */
.panel-sortie { min-height: 72vh; min-height: 72svh; justify-content: flex-end; }
.panel-sortie .sortie-title { flex-direction: column; align-items: center; gap: .2rem; margin-bottom: clamp(2rem, 6vw, 4rem); max-width: 1000px; padding-inline: 16px; }
.panel-sortie h1 { font-size: clamp(2.1rem, 6vw, 4.4rem); line-height: 1.05; color: #fff; }
.sortie-section { padding-top: clamp(2.5rem, 6vw, 4rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--sunset); }
.sortie-body > p { font-size: 1.08rem; line-height: 1.7; color: #33423a; margin: 0 0 1.1rem; }
.h4 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.infos .h4 { color: #0f7f86; margin-bottom: .7rem; }
.gallery-head .h4 { color: var(--sunset); }
.related { padding-top: 0; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: .4rem; }
.rel-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .3s var(--ease); }
.rel-card:hover { transform: translateY(-4px); }
.rel-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rel-card .rel-tag { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--sunset); padding: 1rem 1.1rem 0; }
.rel-card strong { padding: .3rem 1.1rem 0; font-size: 1.05rem; }
.rel-card .where { padding: .2rem 1.1rem 1.1rem; margin: 0; }
.rel-all { text-align: center; margin-top: 2.2rem; }
@media (max-width: 760px) { .rel-grid { grid-template-columns: 1fr; } .gallery { grid-template-columns: repeat(3, 1fr); } }

.nav a { white-space: nowrap; }
