/* CaMordTu — site officiel
   Même langage visuel que l'app : marine « lin brossé », or gravé, cuivre, crème. */
:root {
  --navy-top: #23457a;
  --navy-mid: #173060;
  --navy-bottom: #0d1f45;
  --deep: #061739;
  --gold: #c7a638;
  --bronze-light: #edcc7a;
  --bronze-dark: #9e7529;
  --cream: #f7e8bd;
  --copper-light: #de9e73;
  --copper-dark: #8f5436;
  --text: #f4ecd6;
  --muted: #b9c3d8;
  --line: rgba(199, 166, 56, 0.45);
  --gold-grad: linear-gradient(180deg, var(--bronze-light) 0%, var(--gold) 55%, var(--bronze-dark) 100%);
  --title-grad: linear-gradient(180deg, var(--cream) 0%, var(--bronze-light) 45%, var(--gold) 100%);
  --copper-grad: linear-gradient(180deg, var(--copper-light) 0%, #bd754d 50%, var(--copper-dark) 100%);
  --card-grad: linear-gradient(135deg, rgba(35, 69, 122, 0.96) 0%, rgba(23, 48, 96, 0.98) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Source Serif 4', 'New York', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--navy-bottom);
  background-image:
    url("img/navy-texture.png"),
    linear-gradient(180deg, var(--navy-top) 0%, var(--navy-mid) 40%, var(--navy-bottom) 100%);
  background-attachment: scroll, fixed;
}
img { max-width: 100%; display: block; }
a { color: var(--bronze-light); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ---------- Typo ---------- */
.engraved {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45));
}
.wordmark {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff;
}
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: 'Cinzel', Georgia, serif; font-weight: 600;
  color: var(--bronze-light); font-size: 0.85em; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 14px;
}
.eyebrow img { width: 18px; height: auto; opacity: 0.95; }
.eyebrow.left { justify-content: flex-start; }
h2.section-title {
  font-size: clamp(1.7em, 4vw, 2.5em); line-height: 1.12; text-align: center;
  margin: 0 auto 18px; max-width: 820px; text-wrap: balance;
}
p.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 48px; font-size: 1.05em; }

/* Fleur-de-lys divider, comme sous « EXPLOREZ · PÊCHEZ · ENREGISTREZ » */
.divider { display: flex; align-items: center; gap: 14px; max-width: 360px; margin: 0 auto 22px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider img { width: 22px; }

/* ---------- Boutons ---------- */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; font-size: 0.95em;
  padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(180deg, var(--navy-top), var(--navy-bottom));
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(237, 204, 122, 0.25), 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.5), 0 0 0 3px rgba(237,204,122,.25), 0 10px 24px rgba(0,0,0,.4); }
.btn-gold.solid { background: var(--gold-grad); color: #2a1a06; border-color: var(--bronze-light); }
.btn-ghost {
  display: inline-flex; align-items: center; font-family: 'Cinzel', Georgia, serif; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9em;
  color: var(--bronze-light); text-decoration: none; padding: 14px 22px;
}
.btn-ghost:hover { color: var(--cream); }
.appstore-icon { width: 20px; height: 20px; flex: none; }

/* ---------- En-tête ---------- */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 31, 69, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gold); }
.brand .wordmark { font-size: 1.35em; }
nav.top-nav { display: flex; gap: 26px; }
nav.top-nav a {
  font-family: 'Cinzel', Georgia, serif; font-weight: 600; font-size: 0.82em; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
}
nav.top-nav a:hover { color: var(--bronze-light); }
.top-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle a { font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 0.75em; padding: 6px 11px; color: var(--muted); text-decoration: none; }
.lang-toggle a.active { background: var(--gold-grad); color: #2a1a06; }
.top-right .btn-gold { padding: 9px 18px; font-size: 0.78em; }
@media (max-width: 1080px) { nav.top-nav { display: none; } }
header.top .brand { flex: none; }
@media (max-width: 480px) { .top-right .btn-gold { display: none; } }

/* ---------- Hero ---------- */
section.hero { position: relative; overflow: hidden; padding: 64px 0 0; }
.hero::after { /* bande de lac en bas du hero, comme l'écran d'accueil de l'app */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: url("img/lac-chat.jpg") center 60% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  opacity: 0.55; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-bottom: 72px; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.crest { position: relative; width: 210px; margin: 0 0 18px -8px; }
@media (max-width: 880px) { .crest { margin: 0 auto 18px; } }
.crest .fleur { width: 64px; margin: 0 auto -10px; position: relative; z-index: 2; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }
.crest .shield {
  width: 170px; height: 190px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, #1c4a8c, #0b2150);
  border: 3px solid var(--gold);
  border-radius: 14px 14px 50% 50% / 14px 14px 36% 36%;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.45), 0 0 0 2px rgba(237,204,122,.3), 0 14px 30px rgba(0,0,0,.45);
  display: grid; place-items: center;
}
.crest .shield img { width: 150px; margin-top: 6px; }
.hero h1 { margin: 0 0 6px; font-size: clamp(2.6em, 7vw, 4.2em); line-height: 1; }
.hero .tagline {
  font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bronze-light); font-size: clamp(1em, 2.4vw, 1.25em); margin: 16px 0 18px; line-height: 1.4;
}
.hero p.lead { color: var(--text); opacity: 0.9; font-size: 1.1em; max-width: 540px; margin: 0 0 30px; }
@media (max-width: 880px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
@media (max-width: 880px) { .hero-ctas { justify-content: center; } }
.hero-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-bullets li { display: flex; align-items: center; gap: 12px; font-family: 'Cinzel', Georgia, serif; font-weight: 600; font-size: 0.86em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); }
.hero-bullets svg { width: 30px; flex: none; }
@media (max-width: 880px) { .hero-bullets { justify-items: center; } }

/* iPhone */
.phone {
  width: min(300px, 78vw); margin: 0 auto; padding: 10px; border-radius: 46px;
  background: linear-gradient(145deg, #3a3f4a, #0c0e12 60%, #2a2e36);
  box-shadow: 0 0 0 2px rgba(199,166,56,.35), 0 30px 60px rgba(0,0,0,.55);
}
.phone img { border-radius: 37px; width: 100%; height: auto; }

/* ---------- Bandeau chiffres ---------- */
section.numbers { padding: 0 0 70px; position: relative; z-index: 2; margin-top: -1px; }
.num-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 2px solid var(--gold); border-radius: 16px; overflow: hidden;
  background: var(--card-grad); box-shadow: inset 0 0 0 1px rgba(0,0,0,.5), 0 18px 40px rgba(0,0,0,.35);
}
@media (max-width: 900px) { .num-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .num-grid { grid-template-columns: repeat(2, 1fr); } }
.num { padding: 22px 14px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num b { display: block; font-family: 'Cinzel', Georgia, serif; font-size: 1.9em; line-height: 1.1; background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num span { font-size: 0.85em; color: var(--muted); }

/* ---------- Fonctionnalités (tuiles comme le menu de l'app) ---------- */
section.features { padding: 70px 0; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  background: var(--card-grad); border: 2px solid var(--gold); border-radius: 16px; padding: 26px 24px 24px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.5), inset 0 0 0 3px rgba(237,204,122,.12), 0 10px 26px rgba(0,0,0,.3);
}
.tile .icon { width: 58px; height: 58px; margin-bottom: 14px; }
.tile h3 { font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 1.05em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); margin: 0 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 0.97em; }

/* ---------- Bloc « en-tête cuivre » (comme les familles d'espèces) ---------- */
section.split { padding: 60px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .split-grid { grid-template-columns: 1fr; } .split-grid .phone { order: -1; } }
.panel { border: 2px solid var(--gold); border-radius: 16px; overflow: hidden; background: var(--card-grad); box-shadow: 0 14px 32px rgba(0,0,0,.35); }
.panel .panel-head { background: var(--copper-grad); color: #2a1206; font-family: 'Cinzel', Georgia, serif; font-weight: 700; text-align: center; font-size: 1.15em; padding: 10px 16px; border-bottom: 2px solid var(--gold); letter-spacing: 0.03em; }
.panel .panel-head.gold { background: var(--gold-grad); }
.panel ul { list-style: none; margin: 0; padding: 6px 22px; }
.panel li { padding: 12px 0; border-bottom: 1px solid rgba(199,166,56,.25); display: flex; justify-content: space-between; gap: 14px; }
.panel li:last-child { border-bottom: none; }
.panel li::after { content: "›"; color: var(--bronze-light); font-weight: 700; }
.panel li.plain::after { content: none; }
.split h2 { text-align: left; margin-left: 0; }
.split p { color: var(--muted); }
@media (max-width: 880px) { .split h2 { text-align: center; } }

/* ---------- Galerie d'écrans ---------- */
section.gallery { padding: 70px 0 60px; }
.shots { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 24px 26px; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--bronze-dark); border-radius: 8px; }
.shots figure { flex: 0 0 auto; width: 230px; margin: 0; scroll-snap-align: center; text-align: center; }
.shots img { border-radius: 26px; border: 2px solid var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.shots figcaption { margin-top: 12px; font-family: 'Cinzel', Georgia, serif; font-weight: 600; font-size: 0.85em; letter-spacing: 0.06em; color: var(--bronze-light); text-transform: uppercase; }
@media (min-width: 1100px) {
  .shots { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1120px; margin: 0 auto; overflow: visible; }
  .shots figure { width: auto; }
  .shots.eight { grid-template-columns: repeat(4, 1fr); max-width: 980px; row-gap: 34px; }
}

/* ---------- Note (vie privée / réglementation) ---------- */
section.note { padding: 30px 0 60px; }
.note-box { border-left: 4px solid var(--gold); background: rgba(6, 23, 57, 0.6); border-radius: 12px; padding: 26px 30px; color: var(--muted); }
.note-box b { color: var(--cream); }

/* ---------- Télécharger ---------- */
section.download { position: relative; padding: 90px 0; overflow: hidden; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
section.download::before { content: ""; position: absolute; inset: 0; background: url("img/lac-chat.jpg") center / cover no-repeat; opacity: 0.35; }
section.download::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,31,69,.9), rgba(13,31,69,.55) 50%, rgba(13,31,69,.9)); }
section.download .wrap { position: relative; z-index: 1; text-align: center; }
.dl-logo { width: 130px; margin: 0 auto 20px; border-radius: 28px; border: 2px solid var(--gold); box-shadow: 0 16px 36px rgba(0,0,0,.5); }
.price { font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 1.2em; color: var(--cream); margin: 0 0 6px; }
.price small { display: block; font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; font-size: 0.72em; color: var(--muted); margin-top: 4px; }
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 820px; margin: 36px auto 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(6,23,57,.6); }
@media (max-width: 640px) { .req-grid { grid-template-columns: 1fr 1fr; } }
.req { padding: 16px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.req .label { font-size: 0.75em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: 'Cinzel', Georgia, serif; }
.req .value { color: var(--bronze-light); font-weight: 600; }
.dl-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* ---------- Contact ---------- */
section.contact { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .tile a { font-weight: 600; word-break: break-word; }

/* ---------- Pied de page ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; text-align: center; color: var(--muted); font-size: 0.9em; background: rgba(6,23,57,.55); }
footer .foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
footer .foot-brand img { width: 30px; border-radius: 7px; }
footer .foot-links { margin: 0 0 14px; display: flex; gap: 8px 20px; justify-content: center; flex-wrap: wrap; }
footer .foot-links a { color: var(--bronze-light); text-decoration: none; font-weight: 600; }
footer .credits { font-size: 0.82em; max-width: 720px; margin: 12px auto 0; opacity: 0.85; }
footer .credits a { color: var(--muted); }

/* ---------- Pages simples (assistance / confidentialité) ---------- */
.page-head { text-align: center; padding: 50px 20px 34px; border-bottom: 2px solid var(--gold); background: linear-gradient(180deg, var(--navy-top), var(--navy-mid)); }
.page-head .crest-sm { width: 92px; margin: 0 auto 12px; border-radius: 20px; border: 2px solid var(--gold); }
.page-head h1 { font-size: clamp(1.8em, 5vw, 2.6em); margin: 0; }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.doc { max-width: 720px; margin: 0 auto; padding: 36px 24px 70px; }
@media (max-width: 480px) { .doc { padding: 28px 16px 60px; } }
.doc h2 { font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 1.12em; letter-spacing: 0.04em; color: var(--bronze-light); margin: 2em 0 0.5em; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.doc .card { border: 2px solid var(--gold); background: var(--card-grad); border-radius: 14px; padding: 18px 22px; margin: 1.2em 0; }
.doc .updated { color: var(--muted); font-size: 0.9em; margin-top: 2.5em; }
.doc .faq-q { font-weight: 700; color: var(--cream); margin-bottom: 2px; }
.doc .faq-q + p { margin-top: 0; }

@media (max-width: 480px) {
  .btn-gold { padding: 12px 20px; font-size: 0.82em; letter-spacing: 0.05em; }
  .shots figure { width: 200px; }
}
