/* ManaResto — site vitrine. Lagon, sable, corail : chaleureux, premium, sans surcharge. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/PlusJakartaSans-latin.woff2") format("woff2"); }
:root {
  --lagon: #14aaa3; --lagon-600: #0f8f89; --lagon-700: #0f6e6c; --lagon-800: #0b4f4d; --lagon-900: #083a38; --lagon-50: #ecfbf9; --lagon-100: #d6f4f1;
  --corail: #f97c3c; --corail-600: #e5602a; --corail-100: #ffe8da;
  --text: #0f172a; --muted: #5b6b82; --line: #e6ebf1; --bg: #ffffff; --soft: #f3f9f8; --sand: #fbf6ef; --night: #0b2a2f;
  --radius: 22px; --shadow: 0 1px 2px rgb(15 23 42 / .04), 0 18px 40px -20px rgb(15 23 42 / .28); --shadow-lg: 0 30px 70px -28px rgb(8 58 56 / .55);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.06rem; font-weight: 800; }
p { margin: 0; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--lagon-50); color: var(--lagon-700); font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--corail); outline-offset: 3px; border-radius: 8px; }
[data-icon] { display: inline-flex; width: 1em; height: 1em; }
[data-icon] svg { width: 100%; height: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 800; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--corail); color: #fff; box-shadow: 0 12px 26px -12px rgb(249 124 60 / .8); }
.btn-primary:hover { background: var(--corail-600); }
.btn-secondary { background: #fff; color: var(--lagon-800); border-color: var(--lagon-100); }
.btn-secondary:hover { border-color: var(--lagon); background: var(--lagon-50); }
.btn-ghost { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgb(255 255 255 / .2); }
.btn-lagon { background: var(--lagon-700); color: #fff; }
.btn-lagon:hover { background: var(--lagon-800); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }

/* En-tête */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .86); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgb(230 235 241 / .8); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 70px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 10px -4px rgb(15 110 108 / .5); }
.brand b { color: var(--lagon); }
.nav-links { display: none; min-width: 0; overflow: hidden; gap: 20px; margin-left: 8px; font-weight: 600; color: var(--muted); font-size: .93rem; white-space: nowrap; }
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--lagon-700); border-color: var(--lagon); }
.nav-cta { margin-left: auto; display: none; gap: 10px; align-items: center; }
.nav-cta.always { display: flex; }
/* Se connecter : visible sur tous les écrans (clients qui ont déjà un compte) */
.nav-login { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 1.5px solid var(--lagon-100); background: #fff; color: var(--lagon-800); font-weight: 800; font-size: .93rem; white-space: nowrap; box-shadow: 0 8px 20px -12px rgb(15 110 108 / .55); transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .12s; }
.nav-login .ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(135deg, var(--lagon), var(--lagon-700)); color: #fff; transition: background .18s; }
.nav-login .ico svg { width: 16px; height: 16px; }
.nav-login:hover, .nav-login:focus-visible { background: var(--lagon-700); border-color: var(--lagon-700); color: #fff; box-shadow: 0 12px 26px -12px rgb(15 110 108 / .75); }
.nav-login:hover .ico, .nav-login:focus-visible .ico { background: rgb(255 255 255 / .2); }
.nav-login:active { transform: scale(.97); }
.nav-login + .nav-cta { margin-left: 0; }
.nav-login .short { display: none; }
@media (max-width: 439px) { .nav-login { min-height: 42px; padding: 0 12px 0 5px; gap: 6px; font-size: .9rem; margin-right: 4px; } .nav-login .ico { width: 30px; height: 30px; } .nav-login .long { display: none; } .nav-login .short { display: inline; } }
@media (max-width: 349px) { .nav-login { padding: 5px; } .nav-login .short { display: none; } }
/* Liens secondaires retirés de la barre d'ordinateur (place pour « Se connecter ») ; ils restent dans le menu mobile */
.nav-links .nav-more { display: none; }
@media (max-width: 479px) { .nav-cta.always { display: none; } }
.burger { margin-left: auto; width: 52px; height: 52px; border: 1px solid var(--line); background: #fff; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding-top: 6px; cursor: pointer; }
.burger b { font-size: .62rem; font-weight: 800; line-height: 1; color: var(--text); letter-spacing: .02em; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.mobile-menu { display: none; position: fixed; inset: 70px 0 0 0; background: #fff; z-index: 49; padding: 16px; overflow-y: auto; }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; }
.mobile-menu a:hover { background: var(--soft); }
.mobile-menu .actions { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .nav-links { display: flex; } .nav-cta { display: flex; } .burger { display: none; } .mobile-menu { display: none !important; } .nav-cta .btn-secondary { display: none; } }
@media (min-width: 1140px) { .nav-cta .btn-secondary { display: inline-flex; } }

/* Accueil compact : bannière Iaorana intégrée, offre et boutons visibles sans défiler */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--lagon-900); padding: 0 0 80px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 85% 0%, rgb(20 170 163 / .35), transparent 60%), linear-gradient(180deg, var(--lagon-900), var(--lagon-800) 70%, #0d5e5b); }
.hero-grid { display: grid; gap: 18px; }
.hero-visual { position: relative; margin-inline: -16px; }
.hero-banner { width: 100%; aspect-ratio: 1800 / 620; object-fit: cover; object-position: 60% 45%; background: var(--lagon-800); }
.hero-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, var(--lagon-900)); pointer-events: none; }
.hero-phone { display: none; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .28); font-weight: 700; font-size: .8rem; backdrop-filter: blur(6px); }
.hero h1 { margin-top: 10px; font-size: clamp(1.7rem, 4.2vw, 3.05rem); text-shadow: 0 2px 20px rgb(0 0 0 / .18); text-wrap: balance; }
.hero h1 span { color: #9be9e2; }
.hero .lead { color: rgb(255 255 255 / .88); margin-top: 10px; font-size: clamp(.98rem, 1.6vw, 1.12rem); }
.offer { margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); max-width: 560px; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.price-line .price { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-line .per { font-weight: 700; color: rgb(255 255 255 / .78); }
.offer .commit { margin-top: 6px; font-weight: 700; font-size: .93rem; color: #fff; }
.offer .commit a { color: #9be9e2; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.offer .commit .sep { color: rgb(255 255 255 / .5); }
.perks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 10px; font-weight: 700; font-size: .92rem; }
.perks span { display: inline-flex; align-items: center; gap: 5px; }
.perks .dot { color: rgb(255 255 255 / .5); }
.perks [data-icon] { color: #9be9e2; font-size: 1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-lg { min-height: 56px; font-size: 1.04rem; padding: 0 22px; }
.btn [data-icon="play"] svg { fill: currentColor; }
.btn-light { background: #fff; color: var(--lagon-800); border-color: #fff; }
.btn-light:hover { background: var(--lagon-50); }
.btn-quiet { background: transparent; color: var(--lagon-800); border-color: var(--line); }
.cta-help { margin-top: 10px; font-size: .86rem; color: rgb(255 255 255 / .78); }
.cta-help b { color: #fff; }
.hero-assist { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; font-size: .9rem; color: rgb(255 255 255 / .8); }
.hero-assist a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.hero-assist span { color: rgb(255 255 255 / .62); }
@media (max-width: 959px) {
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: 64px; }
  .hero h1 { font-size: 1.62rem; }
  .offer { padding: 12px 14px; margin-top: 12px; }
  .perks { font-size: .82rem; gap: 3px 6px; }
  .hero-cta { margin-top: 14px; gap: 8px; }
  .btn-lg { min-height: 52px; font-size: .98rem; padding: 0 14px; }
  .hero-assist span { display: none; }
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
  .hero-text { order: 1; }
  .hero-visual { order: 2; margin: 0 0 30px; }
  .hero-banner { aspect-ratio: 16 / 10; object-position: 100% 50%; border-radius: 24px; box-shadow: var(--shadow-lg); border: 3px solid rgb(255 255 255 / .2); }
  .hero-visual::after { display: none; }
  .hero-phone { display: block; position: absolute; left: -28px; bottom: -36px; width: 34%; }
  .hero-cta .btn { flex: 0 1 auto; }
}

/* Fonctions principales */
.grid-feat { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card.feat { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.card.feat .ico { flex: none; margin: 0; }
.tag { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--lagon-50); color: var(--lagon-700); font-size: .68rem; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.tag.opt { background: var(--corail-100); color: var(--corail-600); }

/* Suivi des tables */
.service-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .service-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; } }
.reminders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reminders li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.reminders li [data-icon] { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--corail-100); color: var(--corail-600); }
.reminders b { display: block; color: var(--lagon-800); }
.reminders span { display: block; margin-top: 2px; font-size: .92rem; color: var(--muted); }
.service-note { margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--lagon-800); }
.service-note [data-icon] { flex: none; color: var(--corail); font-size: 1.3rem; margin-top: 2px; }

/* Tarif : options et services */
.options-box { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.options-box h3 { color: var(--lagon-800); }
.options-box p { margin-top: 6px; color: var(--muted); font-size: .94rem; }
.options-box .small { font-weight: 700; color: var(--lagon-700); }
.pricing-card .plan { margin-top: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #9be9e2; }
.pricing-card .plan + .amount { margin-top: 4px; }

/* Démonstration : différence avec la démo interactive */
.demo-alt { margin-top: 20px; display: grid; gap: 4px; justify-items: start; padding: 16px; border-radius: 16px; background: var(--lagon-50); border: 1px solid var(--lagon-100); }
.demo-alt span { color: var(--muted); font-size: .94rem; }
.demo-alt .btn { margin-top: 8px; }
.form-intro { margin-bottom: 12px; font-size: .85rem; color: var(--muted); }
.field-hint { margin: 2px 0 -6px; font-size: .85rem; font-weight: 700; color: var(--lagon-800); }
abbr[title] { text-decoration: none; color: #b91c1c; }
.field .opt { font-weight: 600; color: var(--muted); }

/* Témoignages et vidéo (contenu vérifié uniquement) */
.video { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video figcaption { padding: 10px 14px; background: #fff; color: var(--muted); font-size: .9rem; }

/* Cadres d'appareils (vraies captures à l'intérieur) */
.frame { background: #1a2633; border-radius: 16px; padding: 30px 8px 8px; box-shadow: var(--shadow-lg); position: relative; }
.frame::before { content: ""; position: absolute; top: 11px; left: 14px; width: 10px; height: 10px; border-radius: 999px; background: #ff5f57; box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840; }
.frame img { width: 100%; border-radius: 8px; background: #fff; }
.phone-frame { background: #0f172a; border-radius: 30px; padding: 8px; box-shadow: var(--shadow-lg), 0 0 0 2px rgb(255 255 255 / .35); }
.phone-frame img { width: 100%; border-radius: 22px; }

/* Sections */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head .lead { margin-top: 12px; }
.section-head.center { margin-inline: auto; text-align: center; }
.soft { background: var(--soft); }
.sand { background: var(--sand); }
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lagon-100); }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; background: linear-gradient(135deg, var(--lagon-50), var(--lagon-100)); color: var(--lagon-700); margin-bottom: 14px; }
.card .ico.corail { background: var(--corail-100); color: var(--corail-600); }
.card p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.section-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.section-cta.center { justify-content: center; }

/* Suivi du service : frise */
.flow { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; counter-reset: step; position: relative; }
@media (min-width: 700px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .flow { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; } .flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 30px; height: 2px; background: linear-gradient(90deg, var(--lagon-100), var(--lagon), var(--lagon-100)); } }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 14px 14px; position: relative; min-width: 0; overflow-wrap: anywhere; }
.flow li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--corail); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 10px; box-shadow: 0 8px 18px -8px rgb(249 124 60 / .9); }
.flow li b { display: block; margin-bottom: 4px; }
.flow li span { color: var(--muted); font-size: .9rem; }
.strong-line { margin-top: 24px; font-size: 1.15rem; font-weight: 800; color: var(--lagon-800); display: flex; align-items: center; gap: 10px; }
.strong-line [data-icon] { color: var(--corail); font-size: 1.3rem; }
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--soft); }
.shot figcaption { padding: 12px 16px; font-size: .9rem; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.shot figcaption b { color: var(--text); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .split.rev > :first-child { order: 2; } }

/* Commande en ligne */
.zero { font-size: clamp(3.4rem, 10vw, 6rem); font-weight: 800; letter-spacing: -0.045em; line-height: .95; color: var(--corail); }
.zero small { display: block; font-size: 1.1rem; letter-spacing: 0; font-weight: 800; color: var(--text); margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 999px; background: var(--lagon-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6e6c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Écrans */
.shots { display: grid; gap: 18px; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, 1fr); } .shots .wide { grid-column: span 2; } }

/* Tahiti */
#tahiti .grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.badge-pf { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--lagon-800); color: #fff; font-weight: 800; }

/* Matériel */
.devices-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.devices-list div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 8px; text-align: center; font-weight: 800; font-size: .95rem; overflow-wrap: anywhere; box-shadow: var(--shadow); }
.devices-list [data-icon] { font-size: 2rem; color: var(--lagon-700); margin-bottom: 8px; }

/* Comment ça marche */
.how { counter-reset: how; }
.how .card { position: relative; padding-top: 30px; }
.how .card::before { counter-increment: how; content: counter(how); position: absolute; top: -18px; left: 22px; width: 36px; height: 36px; border-radius: 999px; background: var(--corail); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgb(249 124 60 / .9); }

/* Témoignages */
.testimonials { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.testimonial blockquote { margin: 0 0 14px; font-size: 1rem; }
.testimonial .who { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.testimonial .who img { width: 42px; height: 42px; border-radius: 999px; object-fit: cover; }
.testimonial .who b { display: block; }

/* Tarif */
.pricing-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: center; }
.pricing-wrap > * { min-width: 0; }
@media (min-width: 960px) { .pricing-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pricing-card { position: relative; background: linear-gradient(160deg, var(--lagon-900), var(--lagon-700) 60%, var(--lagon-600)); color: #fff; border-radius: 30px; padding: clamp(24px, 5vw, 34px) clamp(18px, 4vw, 30px); max-width: 540px; min-width: 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.pricing-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 999px; background: rgb(255 255 255 / .08); }
.pricing-card .ribbon { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--corail); font-weight: 800; font-size: .85rem; }
.pricing-card .amount { font-size: clamp(2.2rem, 9vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 14px; overflow-wrap: anywhere; }
.pricing-card .amount small { font-size: 1rem; font-weight: 700; color: rgb(255 255 255 / .7); letter-spacing: 0; margin-left: 6px; }
.pricing-card .commit { margin-top: 8px; font-weight: 700; color: rgb(255 255 255 / .8); }
.pricing-card .checks { grid-template-columns: repeat(2, 1fr); font-size: .93rem; margin-top: 22px; }
.pricing-card .checks li::before { background-color: rgb(255 255 255 / .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (max-width: 480px) { .pricing-card .checks { grid-template-columns: 1fr; } }
.pricing-card .trial { margin-top: 22px; padding: 14px; border-radius: 16px; background: rgb(255 255 255 / .12); font-weight: 800; text-align: center; }
.pricing-card .trial small { display: block; font-weight: 600; color: rgb(255 255 255 / .8); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; transition: border-color .15s; }
details[open] { border-color: var(--lagon-100); box-shadow: var(--shadow); }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lagon); font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 16px; }

/* Formulaire de démonstration */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 5px solid var(--lagon); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
label.field { display: block; font-size: .85rem; font-weight: 700; }
label.field input, label.field select, label.field textarea { display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; color: var(--text); }
label.field textarea { min-height: 90px; resize: vertical; }
label.field input:focus, label.field select:focus, label.field textarea:focus { outline: 3px solid var(--lagon-100); border-color: var(--lagon); }
.field.error input, .field.error select { border-color: #dc2626; }
.err { display: none; margin-top: 4px; font-size: .82rem; color: #b91c1c; font-weight: 600; }
.field.error .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--lagon); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 700; display: none; }
.form-msg.ok { display: block; background: var(--lagon-50); color: var(--lagon-800); }
.form-msg.ko { display: block; background: #fef2f2; color: #b91c1c; }
.contact-lines { margin-top: 18px; display: grid; gap: 8px; color: var(--muted); }
.contact-lines a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lagon-700); }

/* CTA final : nuit lagon avec motif discret */
.final { position: relative; isolation: isolate; background: linear-gradient(160deg, var(--night), var(--lagon-800) 70%, var(--lagon-700)); color: #fff; text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M0 24 24 0l24 24-24 24z' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M12 24 24 12l12 12-12 12z' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E"); }
.final .lead { color: rgb(255 255 255 / .85); margin: 12px auto 8px; }
.final .price-line { justify-content: center; }
.final .price-line .per { color: rgb(255 255 255 / .8); }

/* Pied de page */
footer { background: var(--night); color: rgb(255 255 255 / .78); padding: 44px 0 28px; font-size: .93rem; }
footer .brand { color: #fff; }
.foot-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgb(255 255 255 / .55); margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer a:hover { color: #9be9e2; }
.foot-bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .12); color: rgb(255 255 255 / .55); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .86rem; }
.foot-admin { display: inline-flex; align-items: center; gap: 4px; margin-left: 14px; color: rgb(255 255 255 / .32); font-size: .78rem; text-decoration: none; transition: color .2s; }
.foot-admin:hover, .foot-admin:focus-visible { color: rgb(255 255 255 / .8); }
.foot-admin svg { width: 12px; height: 12px; }

/* WhatsApp flottant */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; box-shadow: 0 10px 24px -10px rgb(0 0 0 / .4); }
.wa[data-on="true"] { display: inline-flex; }

/* Pages légales */
.legal { padding: 40px 0 60px; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.2rem; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; }
.legal dt { font-weight: 700; color: var(--text); }
.legal dd { margin: 0; color: var(--muted); }
@media (max-width: 480px) { .legal dl { grid-template-columns: 1fr; gap: 2px 0; } .legal dd { margin-bottom: 8px; } }
.legal footer { background: transparent; color: var(--muted); }

/* Apparition légère */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn, .card { transition: none; } }

/* Entrée « wahou » (jouée une fois par session) */
#intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: linear-gradient(160deg, var(--lagon-900), var(--lagon-700) 55%, var(--lagon)); color: #fff; overflow: hidden; }
#intro .intro-inner { position: relative; z-index: 2; text-align: center; }
/* Intro vidéo (survol du lagon, généré avec Higgsfield) : plein écran, le logo apparaît par-dessus */
#intro .intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity .5s ease; }
#intro.playing .intro-video { opacity: 1; }
/* Pendant la vidéo, le logo se pose sur le lagon, en bas : le paysage se dévoile au-dessus */
#intro.playing { place-items: end center; padding-bottom: max(70px, 11vh); }
#intro.playing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(46% 34% at 50% 82%, rgb(7 60 58 / .55), rgb(7 60 58 / .15) 70%, transparent); opacity: 0; animation: intro-show .8s 1s ease both; pointer-events: none; }
#intro.playing .intro-wave { display: none; }
#intro.playing .intro-inner { visibility: hidden; }
#intro.playing.show-logo .intro-inner { visibility: visible; text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
#intro.playing.show-logo .intro-inner img { animation: intro-logo-v .7s cubic-bezier(.2, 1.4, .4, 1) both; }
#intro.playing.show-logo .intro-inner p { animation: intro-text-v .5s .2s ease both; }
#intro.playing.show-logo .intro-inner span { animation: intro-text-v .5s .35s ease both; color: #fff; }
#intro .intro-skip { position: absolute; z-index: 2; right: 20px; top: 20px; padding: 8px 16px; border: 1px solid rgb(255 255 255 / .45); border-radius: 999px; background: rgb(7 60 58 / .35); backdrop-filter: blur(6px); color: #fff; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; opacity: 0; animation: intro-show .4s .8s ease both; }
#intro .intro-skip:hover { background: rgb(7 60 58 / .6); }
#intro img { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .5); animation: intro-logo .6s cubic-bezier(.2, 1.4, .4, 1) both; }
#intro p { margin: 16px 0 0; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; animation: intro-text .45s .2s ease both; }
#intro p b { color: #9be9e2; }
#intro .intro-inner span { display: block; margin-top: 6px; font-size: 1rem; letter-spacing: .28em; text-transform: uppercase; color: rgb(255 255 255 / .75); animation: intro-text .45s .3s ease both; }
#intro .intro-wave { position: absolute; left: -10%; right: -10%; bottom: -2px; width: 120%; height: 90px; opacity: .18; animation: intro-wave 2.4s linear infinite; }
#intro.leaving { pointer-events: none; }
/* Seconde vague, turquoise, qui suit la vidéo quand l'intro se retire */
.intro-fly { position: fixed; z-index: 201; margin: 0; border-radius: 26px; transform-origin: center; box-shadow: 0 20px 40px -18px rgb(0 0 0 / .45); pointer-events: none; }
.intro-wash { position: fixed; inset: 0; z-index: 199; pointer-events: none; background: linear-gradient(180deg, #bff3ee, #5fd4cb 40%, var(--lagon) 75%, var(--lagon-700)); }
/* Après l'intro vidéo, l'accueil apparaît en cascade pendant que la vague se retire */
body.anim.anim-reveal .hero .stagger > :nth-child(1) { animation-delay: .35s; } body.anim.anim-reveal .hero .stagger > :nth-child(2) { animation-delay: .43s; } body.anim.anim-reveal .hero .stagger > :nth-child(3) { animation-delay: .51s; } body.anim.anim-reveal .hero .stagger > :nth-child(4) { animation-delay: .59s; } body.anim.anim-reveal .hero .stagger > :nth-child(n+5) { animation-delay: .66s; }
body.anim.anim-reveal .hero-banner { animation-delay: .45s; } body.anim.anim-reveal .hero-phone { animation-delay: .95s, 1.8s; }
#intro.done { animation: intro-out .5s cubic-bezier(.7, 0, .3, 1) both; pointer-events: none; }
@keyframes intro-logo { from { opacity: 0; transform: scale(.4) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes intro-text { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-wave { from { transform: translateX(0); } to { transform: translateX(-8%); } }
@keyframes intro-logo-v { from { opacity: 0; transform: scale(.4) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes intro-text-v { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); } }
body.intro-on { overflow: hidden; }
/* Cascade du héros après l'entrée (ou tout de suite si l'entrée est passée) */
body.anim .hero .stagger > * { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
body.anim .hero .stagger > :nth-child(1) { animation-delay: .75s; } body.anim .hero .stagger > :nth-child(2) { animation-delay: .82s; } body.anim .hero .stagger > :nth-child(3) { animation-delay: .89s; } body.anim .hero .stagger > :nth-child(4) { animation-delay: .96s; } body.anim .hero .stagger > :nth-child(n+5) { animation-delay: 1.02s; }
body.anim .hero-banner { animation: banner-in 1.2s .6s cubic-bezier(.2, .8, .2, 1) both; }
body.anim .hero-phone { animation: pop-in .8s 1.1s cubic-bezier(.2, 1.3, .4, 1) both, float 6s 2s ease-in-out infinite; }
body.anim.anim-fast .hero .stagger > * { animation-delay: .05s; }
body.anim.anim-fast .hero-banner { animation-delay: 0s; } body.anim.anim-fast .hero-phone { animation-delay: .2s, 1s; }
@keyframes banner-in { from { opacity: 0; transform: scale(1.04); filter: saturate(.7) brightness(.85); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { body.anim .hero .stagger > *, body.anim .hero-banner, body.anim .hero-phone { animation: none !important; } #intro { display: none; } }

/* Captures agrandissables (bouton autour de l'image) */
.zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; font: inherit; color: inherit; border-radius: inherit; }
.zoom img { transition: transform .35s ease; }
.zoom:hover img { transform: scale(1.015); }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgb(8 58 56 / .82); color: #fff; font-size: .78rem; font-weight: 800; backdrop-filter: blur(6px); pointer-events: none; }
.zoom-hint [data-icon] { width: 15px; height: 15px; }

/* Visionneuse plein écran */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 8px; padding: max(12px, env(safe-area-inset-top)) 8px max(12px, env(safe-area-inset-bottom)); background: rgb(4 22 24 / .92); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.lb.on { opacity: 1; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 0; height: 100%; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .7); transform: scale(.97); transition: transform .2s ease; }
.lb.on .lb-fig img { transform: none; }
.lb-fig figcaption { max-width: 760px; text-align: center; color: rgb(255 255 255 / .85); font-size: .95rem; line-height: 1.45; }
.lb-fig figcaption b { display: block; color: #fff; font-size: 1.05rem; }
.lb-count { display: block; margin-top: 4px; color: rgb(255 255 255 / .55); font-weight: 700; font-size: .8rem; }
.lb-close, .lb-nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgb(255 255 255 / .22); }
.lb-close svg, .lb-nav svg { width: 24px; height: 24px; }
.lb-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 1; }
.lb.single .lb-nav { visibility: hidden; }
@media (max-width: 700px) {
  .lb { grid-template-columns: minmax(0, 1fr); padding-top: 70px; }
  .lb-nav { position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); }
  .lb-prev { left: 14px; } .lb-next { right: 14px; }
  .lb-fig img { max-height: calc(100dvh - 230px); border-radius: 8px; }
  .lb-fig figcaption { padding: 0 64px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .lb, .lb-fig img, .zoom img { transition: none; } }
.zoom.frame { background: #1a2633; padding: 30px 8px 8px; border-radius: 16px; }
.zoom.frame .zoom-hint { bottom: 18px; right: 18px; }
.shot .zoom { border-radius: 0; }
.shot figcaption { flex-direction: column; justify-content: flex-start; gap: 2px; font-weight: 600; }
.shot figcaption b { font-size: 1rem; }

/* Ajustements de l'accueil (ordinateur et téléphone) */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
  .hero h1 { font-size: clamp(2.2rem, 3.6vw, 2.75rem); }
  .hero .hero-cta { flex-direction: column; align-items: stretch; max-width: 430px; }
  .hero-phone { left: auto; right: -18px; bottom: -44px; width: 26%; }
}
@media (max-width: 600px) {
  .hero-grid { gap: 10px; }
  .hero-banner { aspect-ratio: 1800 / 520; }
  .hero .badge { display: none; }
  .hero h1 { margin-top: 2px; font-size: 1.5rem; }
  .hero .lead { margin-top: 8px; font-size: .95rem; line-height: 1.45; }
  .offer { margin-top: 12px; }
  .price-line .price { font-size: 1.85rem; }
  .offer .commit { font-size: .86rem; line-height: 1.4; }
  .perks { margin-top: 8px; font-size: .8rem; }
  .perks [data-icon] { display: none; }
  .cta-help { font-size: .8rem; }
}
@media (max-width: 439px) { .nav-login { min-height: 44px; } }
@media (max-width: 389px) {
  .nav .wrap { gap: 8px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .burger { width: 48px; height: 48px; }
}
@media (max-width: 600px) { .hero-banner { object-position: 60% 22%; } }
@media (max-width: 400px) { .hero-cta .btn-lg { white-space: nowrap; font-size: .92rem; padding: 0 10px; } }
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 0; }
.hero .wave svg { display: block; width: 100%; height: 100%; }
.shots { align-items: start; }
@media (min-width: 960px) { .final .hero-cta { flex-direction: row; justify-content: center; } }
.lb-rotate { display: none; margin-top: 6px; color: rgb(255 255 255 / .6); font-size: .78rem; }
@media (max-width: 700px) and (orientation: portrait) { .lb-rotate { display: block; } }
@media (max-height: 500px) { .lb { padding-top: 8px; padding-bottom: 8px; } .lb-fig { gap: 6px; } .lb-fig img { max-height: calc(100dvh - 60px); } .lb-fig figcaption span, .lb-count { display: none; } }
.shot { margin: 0; }

/* Vidéo d'un vrai service */
.video-frame { padding: 30px 8px 8px; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 640; border-radius: 8px; background: #0b2a2f; }
.steps { list-style: none; counter-reset: st; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: baseline; }
.steps li::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--corail); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 8px 18px -8px rgb(249 124 60 / .9); }
.steps b { color: var(--lagon-800); }
.steps span { color: var(--muted); font-size: .95rem; }

/* Liens vers les pages par activité */
.by-activity { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.by-activity span { font-weight: 800; color: var(--lagon-800); margin-right: 4px; }
.by-activity a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--lagon-100); background: #fff; color: var(--lagon-800); font-weight: 800; font-size: .93rem; }
.by-activity a:hover { border-color: var(--lagon); background: var(--lagon-50); }

/* Pied de page à quatre colonnes */
@media (min-width: 760px) { .foot-grid.foot-grid-4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
footer a[aria-current="page"] { color: #9be9e2; font-weight: 800; }

/* Pages par activité */
.page-hero { padding-top: 28px; }
@media (min-width: 960px) { .page-hero { padding: 48px 0 96px; } }
.crumbs { font-size: .85rem; color: rgb(255 255 255 / .7); margin-bottom: 12px; }
.crumbs a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .hero-shot { order: 2; }
.page-hero .hero-shot .zoom.frame { max-width: 560px; margin-inline: auto; }
.page-hero .hero-shot .zoom.phone-frame { max-width: 280px; padding: 8px; background: #0f172a; border-radius: 30px; }
.page-hero .hero-shot .zoom.phone-frame::before { display: none; }
@media (max-width: 959px) { .page-hero .hero-shot { margin-top: 6px; } }
@media (max-width: 600px) { .page-hero .badge { display: inline-flex; } }
.shots-page { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .shots-page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .shots-page:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot.phone-shot img { aspect-ratio: 640 / 1090; max-height: 520px; object-fit: contain; background: var(--soft); }
.faq-more { margin-top: 14px; color: var(--muted); }
.faq-more a, .also a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.faq-more a { color: var(--lagon-700); }
.final .also { margin-top: 18px; color: rgb(255 255 255 / .75); font-size: .95rem; }
.final .also a { color: #fff; }

/* Contrastes (audit d'accessibilité) : turquoise un ton plus soutenu sur fond blanc, lien d'administration plus lisible */
.nav .brand b, .legal .brand b { color: var(--lagon-600); }
.foot-admin { color: rgb(255 255 255 / .58); }

/* Pages par activité : photo d'ambiance derrière le titre (illustrations générées, voir README) */
.page-hero .hero-photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.page-hero .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
/* Téléphone : la photo occupe le haut de l'en-tête, puis se fond dans le lagon */
@media (max-width: 959px) {
  .page-hero .hero-photo { bottom: auto; height: 560px; }
  .page-hero .hero-photo img { object-position: 78% 40%; }
  .page-hero.has-photo::after { background: linear-gradient(180deg, rgb(7 60 58 / .32) 0, rgb(7 60 58 / .48) 240px, rgb(7 60 58 / .82) 440px, var(--lagon-900) 560px); }
}
@media (min-width: 960px) {
  /* Sans capture dans l'en-tête : le texte à gauche, la photo bien visible à droite */
  .page-hero.has-photo .hero-grid { grid-template-columns: minmax(0, 640px); min-height: 560px; align-content: center; }
  .page-hero.has-photo::after { background: linear-gradient(90deg, rgb(7 60 58 / .7) 0%, rgb(7 60 58 / .5) 32%, rgb(7 60 58 / .1) 56%, transparent 76%), linear-gradient(180deg, transparent 80%, rgb(13 94 91 / .6)); }
}

/* Accueil : une carte photo par activité (photos d'ambiance générées, voir README) */
.act-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.act-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); background: var(--lagon-800); }
.act-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; transition: transform .5s ease; }
.act-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0, transparent 48%, rgb(6 40 38 / .38) 66%, rgb(6 40 38 / .78) 100%); }
.act-body { text-shadow: 0 1px 3px rgb(0 0 0 / .55), 0 0 14px rgb(0 0 0 / .35); }
.act-card:hover img, .act-card:focus-visible img { transform: scale(1.05); }
.act-card:focus-visible { outline: 3px solid var(--lagon); outline-offset: 3px; }
.act-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: grid; gap: 4px; }
.act-body b { font-size: 1.25rem; font-weight: 800; }
.act-body > span:not(.act-more) { font-size: .92rem; line-height: 1.4; opacity: .92; }
.act-more { margin-top: 4px; font-size: .85rem; font-weight: 800; color: #9be9e2; }
@media (prefers-reduced-motion: reduce) { .act-card img { transition: none; } }
/* Téléphone : les cartes défilent à l'horizontale (la suivante dépasse, pour inviter à glisser) */
@media (max-width: 639px) {
  .act-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .act-grid::-webkit-scrollbar { display: none; }
  .act-card { scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .act-card img { object-position: 74% 50%; }
}

/* Accueil, section Tahiti : photo d'équipe à côté des cartes */
.tahiti-split { display: grid; gap: 18px; }
.tahiti-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--lagon-100); }
.tahiti-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.tahiti-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 960px) {
  .tahiti-split { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 22px; align-items: stretch; }
  .tahiti-photo { aspect-ratio: auto; min-height: 100%; }
  .tahiti-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Accueil, appel final : le lagon au soir en fond */
.final.has-photo { background: var(--lagon-900); }
.final.has-photo::before { display: none; }
.final .final-photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.final .final-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.final.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgb(8 58 56 / .58), rgb(8 58 56 / .3) 70%, rgb(8 58 56 / .12)), linear-gradient(180deg, transparent, rgb(8 58 56 / .35)); }

/* Accueil : bannière « Iaorana et Maeva » plus grande sur ordinateur (l'en-tête s'élargit, moitié texte, moitié visuel) */
@media (min-width: 960px) {
  .hero:not(.page-hero) .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
}
@media (min-width: 1200px) {
  /* Le texte reste aligné sur le menu ; seul le visuel déborde vers la droite de l'écran */
  .hero:not(.page-hero) .hero-grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; }
  .hero:not(.page-hero) .hero-visual { margin-right: max(-240px, calc((1140px - 100vw) / 2 + 40px)); }
  .hero:not(.page-hero) .hero-phone { width: 24%; right: -22px; bottom: -48px; }
}

/* Images proposées en AVIF (repli WebP) : l'enveloppe <picture> ne change pas la mise en page */
picture.av { display: contents; }

/* Photos éclaircies : les images elles-mêmes plus lumineuses, le texte posé dessus garde sa lisibilité grâce à une ombre douce */
.page-hero .hero-photo img, .final .final-photo img, .act-card img, .tahiti-photo img { filter: brightness(1.14) saturate(1.06); }
.hero-banner { filter: brightness(1.18) saturate(1.06); }
.page-hero.has-photo .hero-text, .final.has-photo .wrap { text-shadow: 0 1px 3px rgb(0 0 0 / .45), 0 0 18px rgb(0 0 0 / .3); }
.page-hero.has-photo .offer, .page-hero.has-photo .badge { text-shadow: none; background-color: rgb(7 60 58 / .55); backdrop-filter: blur(6px); }
.page-hero.has-photo .btn, .final.has-photo .btn { text-shadow: none; }
