/* Lazulo · feuille de style du site */

@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --azur: #1F7AE0;
  --azur-dark: #1665BF;
  --sky: #6EC3F4;
  --sky-soft: #EAF4FD;
  --cream: #F4EEE4;
  --cream-line: #E7DED0;
  --bg: #FBF8F3;
  --bg-alt: #F6F1E9;
  --text: #0B2545;
  --muted: #4A5B73;
  --border: #E9E1D5;
  --radius: 20px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 12px 32px rgba(11, 37, 69, .08);
  --shadow-lg: 0 2px 6px rgba(11, 37, 69, .06), 0 40px 80px rgba(11, 37, 69, .18);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--azur); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
h1, h2 { font-family: "Inter Display", "Inter", system-ui, sans-serif; font-weight: 700; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: inherit; font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(11, 37, 69, .28), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 14px 32px rgba(11, 37, 69, .34), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.btn-light:hover { background: var(--sky-soft); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }

/* ---------- En-tête (transparent sur la scène 3D, blanc ensuite) ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .35s, box-shadow .35s, border-color .35s; border-bottom: 1px solid transparent; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { position: relative; display: block; height: 46px; }
.brand img { height: 46px; width: auto; transition: opacity .35s; }
.brand .logo-dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .9375rem; transition: color .2s; }
.nav a:not(.btn):hover { color: #fff; text-decoration: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: #fff; }
.menu-btn svg { width: 26px; height: 26px; }
.header.solid { background: rgba(251, 248, 243, .9); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(11, 37, 69, .06); }
.header.solid .logo-light { opacity: 0; }
.header.solid .logo-dark { opacity: 1; }
.header.solid .nav a:not(.btn) { color: var(--muted); }
.header.solid .nav a:not(.btn):hover { color: var(--navy); }
.header.solid .menu-btn { color: var(--navy); }

/* ---------- Héros : photo, on « entre » dans le paysage en défilant ---------- */
/* La section est plus haute que l'écran : pendant qu'on défile, le bloc collant reste en place
   et la photo grossit vers la mer (variable --p de 0 à 1, calculée dans site.js). */
.hero { position: relative; z-index: 0; color: #fff; height: 200vh; height: 200svh; background: var(--bg); --p: 0; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%;
  transform-origin: 59% 42%; will-change: transform;
  transform: scale(calc(1.02 + var(--p) * var(--p) * 1.1));
}
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--bg); opacity: clamp(0, calc((var(--p) - .55) * .9), .4); }
.hero-shade { opacity: clamp(0, calc(1 - var(--p) * 1.6), 1); }
.hero-inner > * { transition: none; }
.hero-copy { opacity: clamp(0, calc(1 - var(--p) * 2.6), 1); translate: 0 calc(var(--p) * -90px); }
.hero .glass-row { opacity: clamp(0, calc(1 - var(--p) * 3.2), 1); translate: 0 calc(var(--p) * -50px); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 27, 51, .78) 0%, rgba(8, 27, 51, .45) 38%, rgba(8, 27, 51, 0) 62%),
    linear-gradient(180deg, rgba(8, 27, 51, .55) 0%, rgba(8, 27, 51, 0) 22%, rgba(8, 27, 51, 0) 70%, rgba(8, 27, 51, .55) 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; min-height: 100%; padding-top: 110px; padding-bottom: 170px; }
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--azur);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin: 20px 0 24px; line-height: 1.05; }
.hero h1 em { color: var(--sky); font-size: 1.14em; line-height: 1; }
.hero .lead { font-size: 1.1875rem; color: rgba(255, 255, 255, .8); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.hero-points li { display: flex; align-items: center; gap: 9px; }
.hero-points svg { width: 18px; height: 18px; color: var(--sky); flex: none; }

/* Cartes en verre posées sur la mer */
.glass-row { position: absolute; right: 28px; bottom: 44px; display: flex; gap: 16px; width: min(640px, 52%); }
.glass {
  position: relative; flex: 1; min-width: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-radius: 20px; padding: 18px 18px 16px;
  box-shadow: 0 24px 50px rgba(3, 15, 32, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: float 7s ease-in-out infinite;
}
.glass:nth-child(2) { animation-delay: -2.3s; transform: translateY(-14px); }
.glass:nth-child(3) { animation-delay: -4.6s; }
.glass .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(110, 195, 244, .2); color: #BFE6FF; margin-bottom: 14px; }
.glass .ic svg { width: 20px; height: 20px; }
.glass strong { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.glass small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .72); margin-top: 4px; line-height: 1.4; }
.glass time { position: absolute; top: 18px; right: 16px; font-size: .75rem; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bandeau des métiers (défilement continu) ---------- */
.band { background: var(--cream); border-bottom: 1px solid var(--cream-line); padding: 26px 0; overflow: hidden; }
.band-inner { display: flex; align-items: center; gap: 36px; }
.band-label { flex: none; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8A7A63; padding-left: 28px; }
.marquee { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.marquee li { display: flex; align-items: center; font-family: var(--serif); font-style: italic; font-size: 1.75rem; color: var(--navy); white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; margin: 0 30px; border-radius: 50%; background: linear-gradient(180deg, #BFE6FF, var(--sky)); box-shadow: 0 0 0 4px rgba(110, 195, 244, .18); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section.alt { background: var(--bg-alt); }
.section.cream { background: var(--cream); }
.section-head { position: relative; max-width: 740px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(2.1rem, 3.9vw, 3.1rem); margin: 18px 0 18px; }
.section-head h2 em { color: var(--azur); font-size: 1.1em; }
.section-head p { color: var(--muted); font-size: 1.125rem; }

/* Grand mot en filigrane derrière une section */
.ghost-word {
  position: absolute; left: 50%; top: 40px; translate: -50% 0; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--serif); font-size: clamp(5rem, 15vw, 15rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(31, 122, 224, .12);
  background: linear-gradient(180deg, rgba(110, 195, 244, .16), rgba(110, 195, 244, 0) 85%); -webkit-background-clip: text; background-clip: text;
}
.section > .wrap { position: relative; z-index: 1; }

/* Sphères 3D décoratives qui flottent */
.orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #E5F3FE 18%, #9ED5F8 52%, #2F86E6 88%);
  box-shadow: inset -14px -18px 40px rgba(11, 37, 69, .22), 0 30px 60px rgba(31, 122, 224, .25);
  animation: orb 12s ease-in-out infinite; }
.orb.o1 { width: 150px; height: 150px; right: -40px; top: 120px; }
.orb.o2 { width: 70px; height: 70px; left: 4%; top: 52%; animation-delay: -4s; animation-duration: 10s; }
.orb.o3 { width: 36px; height: 36px; right: 14%; bottom: 80px; animation-delay: -7s; }
.orb.navy { background: radial-gradient(circle at 32% 28%, #5B86C4 0%, #1B4E8F 35%, #0B2545 80%); box-shadow: inset -12px -16px 36px rgba(0, 0, 0, .35), 0 30px 60px rgba(11, 37, 69, .3); }
@keyframes orb { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0); } 33% { transform: translate3d(-10px, -22px, 0); } 66% { transform: translate3d(8px, -8px, 0); } }

/* Services */
.services { background: var(--bg); overflow: hidden; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(233, 225, 213, .9); border-radius: var(--radius);
  padding: 32px; box-shadow: 0 1px 2px rgba(11, 37, 69, .04);
  transition: box-shadow .35s, border-color .35s, transform .35s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--shadow); border-color: #D3DEEC; }
.card .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
  color: #fff; background: linear-gradient(145deg, #5FB6F2, var(--azur) 55%, #1557A8);
  box-shadow: 0 10px 22px rgba(31, 122, 224, .3), inset 0 1px 0 rgba(255, 255, 255, .4);
  transform: translateZ(30px);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; transform: translateZ(20px); }
.card p { color: var(--muted); font-size: 1rem; }

/* Effet d'inclinaison 3D au survol */
.tilt { transition: opacity .9s var(--ease), transform .5s var(--ease), box-shadow .35s, border-color .35s; }
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(110, 195, 244, .14), transparent 45%);
}
.tilt:hover::before { opacity: 1; }

/* Métiers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.trade { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; transform-style: preserve-3d; }
.trade:hover { box-shadow: var(--shadow); }
.trade-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; transform: translateZ(24px); }
.trade-top .ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; color: var(--sky);
  background: radial-gradient(circle at 30% 25%, #1E4C86, var(--navy) 70%);
  box-shadow: 0 10px 22px rgba(11, 37, 69, .25), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.trade-top .ic svg { width: 26px; height: 26px; }
.trade-top small { display: block; color: var(--muted); font-size: .875rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); font-size: 1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231F7AE0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checks li strong { color: var(--navy); font-weight: 600; }
.trades-note { margin-top: 36px; text-align: center; color: var(--muted); }
.trades-note a { font-weight: 600; }

/* Exemple concret : le rapport se redresse en 3D au défilement */
.showcase { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.showcase .section-head { margin-bottom: 28px; }
.showcase .checks { margin-bottom: 28px; }
.showcase .checks li::before { background-color: #fff; }
.fineprint { font-size: .875rem; color: #8A7A63; }
.stage { position: relative; perspective: 1600px; --p: 0; }
.mail-frame {
  position: relative; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  transform: rotateY(calc(-16deg * (1 - var(--p)))) rotateX(calc(7deg * (1 - var(--p)))) translateZ(0);
  transform-origin: 60% 50%;
  transition: transform .15s linear;
}
.mail-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #FAFCFE; }
.mail-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCE4EE; }
.mail-bar span { margin-left: 10px; font-size: .8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-body { position: relative; max-height: 560px; overflow: hidden; }
.mail-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.mail-body img { width: 100%; height: auto; }
.badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: 0 20px 40px rgba(11, 37, 69, .16); font-size: .875rem; color: var(--muted); line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.badge strong { display: block; color: var(--navy); font-weight: 600; }
.badge .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: #E7F7EF; color: #12805C; }
.badge .ic svg { width: 18px; height: 18px; }
.badge.b1 { left: -36px; top: -22px; }
.badge.b2 { right: -28px; bottom: 70px; animation-delay: -3.5s; }
.badge.b2 .ic { background: var(--sky-soft); color: var(--azur); }

/* Méthode : section marine, cartes en verre, ligne qui se dessine */
.method { background: radial-gradient(900px 500px at 80% 0%, rgba(110, 195, 244, .16), transparent 60%), linear-gradient(180deg, #0B2545, #0E2D55); color: #fff; overflow: hidden; }
.method .section-head .eyebrow { color: var(--sky); }
.method .section-head h2 em { color: var(--sky); }
.method .section-head p { color: rgba(255, 255, 255, .72); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 52px; height: 1px; background: linear-gradient(90deg, rgba(110, 195, 244, 0), rgba(110, 195, 244, .7), rgba(110, 195, 244, 0)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.steps.in::before { transform: scaleX(1); }
.steps li {
  position: relative; border-radius: var(--radius); padding: 30px 26px 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.steps .num { display: block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--sky); margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: rgba(255, 255, 255, .72); font-size: 1rem; }
.method .orb { opacity: .9; }

/* Engagements */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.promise { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transform-style: preserve-3d; }
.promise .ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--azur); background: var(--sky-soft); margin-bottom: 18px; transform: translateZ(26px); }
.promise .ic svg { width: 24px; height: 24px; }
.promise h3 { margin-bottom: 8px; }
.promise p { color: var(--muted); font-size: 1rem; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--cream-line); border-radius: 16px; padding: 0 26px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: 0 16px 36px rgba(11, 37, 69, .08); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7AE0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Contact : le soleil du logo et ses vagues animées */
.contact { position: relative; overflow: hidden; color: #fff; text-align: center; padding-bottom: 220px;
  background: radial-gradient(800px 420px at 50% 100%, rgba(110, 195, 244, .28), transparent 65%), linear-gradient(180deg, #0E2D55, #0B2545); }
.contact .eyebrow { color: var(--sky); }
.contact .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.contact h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin: 18px auto 18px; max-width: 15em; }
.contact h2 em { color: var(--sky); font-size: 1.1em; }
.contact p.lead { color: rgba(255, 255, 255, .8); font-size: 1.125rem; max-width: 36em; margin: 0 auto; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 38px 0 28px; }
.contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: rgba(255, 255, 255, .72); font-size: .9375rem; }
.contact-meta span { display: inline-flex; align-items: center; gap: 8px; }
.contact-meta svg { width: 17px; height: 17px; color: var(--sky); }
.sunset { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none; overflow: hidden; }
.sunset .sun { position: absolute; left: 50%; bottom: 60px; width: 220px; height: 110px; translate: -50% 0; border-radius: 110px 110px 0 0;
  background: linear-gradient(180deg, #D7F0FF, var(--sky) 70%); box-shadow: 0 0 80px 20px rgba(110, 195, 244, .35); }
.sunset .sea { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: #0B2545; }
.sunset svg { position: absolute; left: 0; width: 200%; height: 40px; max-width: none; }
.sunset .w1 { bottom: 44px; animation: waves 14s linear infinite; }
.sunset .w2 { bottom: 22px; animation: waves 19s linear infinite reverse; opacity: .85; }
.sunset .w3 { bottom: 2px; animation: waves 24s linear infinite; opacity: .7; }
@keyframes waves { to { transform: translateX(-50%); } }

/* Pied de page */
.footer { background: var(--navy); color: rgba(255, 255, 255, .65); font-size: .9375rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.footer img { height: 44px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: #fff; }
.footer .copy { width: 100%; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: rgba(255, 255, 255, .5); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
.hero .reveal { transform: translateY(18px); }

/* ---------- Page légale ---------- */
.page-legal .header { position: sticky; }
.legal { padding: 72px 0 104px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.legal .updated { color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: 1.375rem; margin: 44px 0 14px; font-family: "Inter", system-ui, sans-serif; font-weight: 700; }
.legal p, .legal li { color: #2C3E57; }
.legal p + p { margin-top: 12px; }
.legal .box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.legal .box p { margin: 0; }
.legal .box p + p { margin-top: 6px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 32px; }

/* ---------- Tablette et téléphone ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
  .glass-row { width: min(600px, 60%); }
  .glass:nth-child(3) { display: none; }
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 64px; }
  .stage { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .hero { height: 180vh; height: 180svh; }
  .hero-sticky { min-height: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(8, 27, 51, .82) 0%, rgba(8, 27, 51, .66) 45%, rgba(8, 27, 51, .4) 75%, rgba(8, 27, 51, .55) 100%); }
  .hero-inner { grid-template-columns: 1fr; align-items: start; align-content: space-between; padding-top: 112px; padding-bottom: 28px; }
  .glass-row { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 24px; }
  .hero-media img { object-position: 64% 50%; transform-origin: 55% 39%; }
  .scroll-cue { display: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(11, 37, 69, .12);
    padding: 8px 24px 24px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn), .header.solid .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.0625rem; color: var(--navy); }
  .nav .btn { margin-top: 18px; }
  .header.menu-open { background: #fff; }
  .header.menu-open .logo-light { opacity: 0; }
  .header.menu-open .logo-dark { opacity: 1; }
  .header.menu-open .menu-btn { color: var(--navy); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header .wrap { height: 66px; }
  .nav { top: 66px; }
  .brand, .brand img { height: 38px; }
  .hero-inner { padding-top: 96px; }
  .hero .lead { font-size: 1.0625rem; }
  .hero-cta .btn { width: 100%; }
  .hero-points { margin-top: 30px; }
  .glass-row { display: none; }
  .glass { display: grid; grid-template-columns: 38px 1fr; gap: 0 14px; align-items: center; padding: 14px 16px; animation: none; }
  .glass:nth-child(2) { transform: none; }
  .glass .ic { margin: 0; grid-row: span 2; }
  .glass time { display: none; }
  .band-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .band-label { padding-left: 0; text-align: center; }
  .marquee li { font-size: 1.4rem; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-3, .grid-2, .steps, .promises { grid-template-columns: 1fr; }
  .card, .trade { padding: 26px; }
  .mail-body { max-height: 440px; }
  .badge.b1 { left: -8px; top: -22px; }
  .badge.b2 { right: -8px; bottom: 40px; }
  .contact { padding-bottom: 190px; }
  .contact-cta .btn { width: 100%; }
  .faq details { padding: 0 18px; }
  .orb.o1 { width: 90px; height: 90px; right: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glass, .badge, .orb, .marquee-track, .sunset svg, .scroll-cue::after { animation: none !important; }
  .hero { height: auto; }
  .hero-sticky { position: relative; height: auto; min-height: max(640px, 100svh); }
  .hero-media img { transform: none; }
  .hero-veil { display: none; }
  .mail-frame { transform: none; }
  .steps::before { transform: scaleX(1); }
}

/* Le reste du site glisse par-dessus la photo à la fin de l'effet */
.band, .section { position: relative; z-index: 1; }
