/* Perl'Net Service — feuille de style unique
   Couleurs relevées sur le logo : marine #001B51, bleu ciel #0F9BF2, nacre. */

:root {
  --navy: #001b51;
  --navy-2: #0a2e72;
  --blue: #0f9bf2;
  --blue-soft: #e6f4fe;
  --pearl: #f7f8fb;
  --pearl-2: #eef1f6;
  --line: #e2e7ef;
  --ink: #0d1a33;
  --muted: #56627a;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(0, 27, 81, .05), 0 12px 32px -12px rgba(0, 27, 81, .16);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--blue); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--pearl { background: var(--pearl); }
.section--navy { background: var(--navy); color: #cfd9ec; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px -10px rgba(0, 27, 81, .55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 27, 81, .6); }
/* reflet nacré qui balaie le bouton au survol */
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); }
.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: var(--white); transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.link-arrow svg { width: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.topbar {
  background: var(--navy); color: #c6d3ea; font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--white); font-weight: 600; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; margin-right: 8px; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2.4s infinite; vertical-align: 1px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.topbar__zone { display: none; }
@media (min-width: 720px) { .topbar__zone { display: inline; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 27, 81, .4); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand .logo { height: 50px; width: auto; overflow: visible; }
@media (min-width: 1040px) { .brand .logo { height: 62px; } }
.logo__pearl { transition: transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.brand:hover .logo__pearl { transform: translateX(3px) scale(1.12); }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink); transition: background .25s, color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--pearl-2); color: var(--navy); }
.header__cta { display: none; }
.burger {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* Menu mobile : <dialog> modal (page inerte, Échap, retour du focus gérés par le navigateur) */
.mobile-menu {
  margin: 0 0 0 auto; inset-block: 0; block-size: 100dvh; max-block-size: none;
  inline-size: min(420px, 100%); max-inline-size: 100%;
  border: 0; padding: 18px var(--gutter) 40px; background: var(--white); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: -20px 0 60px -30px rgba(0, 27, 81, .5);
}
.mobile-menu::backdrop { background: rgba(0, 20, 61, .45); overflow: hidden; overscroll-behavior: contain; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mobile-menu__title { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.mobile-menu__close { inline-size: 46px; block-size: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; }
.mobile-menu__close svg { inline-size: 20px; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.45rem; color: var(--navy); }
.mobile-menu .sub a { font-family: var(--sans); font-size: 1rem; padding: 10px 0 10px 14px; color: var(--muted); border: 0; }
.mobile-menu .btn { margin-top: 24px; width: 100%; display: flex; padding: 0 20px; border-bottom: 0; font-family: var(--sans); font-size: 1rem; color: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu, .mobile-menu::backdrop {
    transition-property: opacity, transform, display, overlay;
    transition-duration: .35s; transition-timing-function: var(--ease);
    transition-behavior: allow-discrete;
  }
  .mobile-menu { transform: translateX(100%); }
  .mobile-menu[open] { transform: none; }
  @starting-style { .mobile-menu[open] { transform: translateX(100%); } }
  .mobile-menu::backdrop { opacity: 0; }
  .mobile-menu[open]::backdrop { opacity: 1; }
  @starting-style { .mobile-menu[open]::backdrop { opacity: 0; } }
}

@media (min-width: 1040px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(15, 155, 242, .10), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(0, 27, 81, .05), transparent 70%);
}
.hero__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-bottom: 30px; opacity: 0; animation: fade .9s .45s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade .9s .6s var(--ease) forwards; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__actions .btn { flex: 0 0 auto; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .92rem; color: var(--muted); opacity: 0; animation: fade .9s .75s var(--ease) forwards; }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; color: var(--blue); }

/* vague du logo, tracée à l'écran */
.swoosh { width: min(280px, 70%); height: auto; margin: -4px 0 22px; overflow: visible; }
.swoosh path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s .3s var(--ease) forwards; }
.swoosh circle { opacity: 0; transform-origin: center; animation: pearl-in .8s 1.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pearl-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* Visuel « vitre » : la buée est essuyée par une raclette */
.pane {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--pearl-2); box-shadow: var(--shadow);
  isolation: isolate;
}
@media (min-width: 980px) { .pane { aspect-ratio: 4 / 4.8; } }
.pane > img, .pane > .pane__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pane__fog {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(240, 244, 250, .55);
  backdrop-filter: blur(14px) saturate(70%); -webkit-backdrop-filter: blur(14px) saturate(70%);
  clip-path: inset(0 0 0 0);
  animation: wipe 1.8s 1s cubic-bezier(.65, 0, .35, 1) forwards;
}
.pane__blade {
  position: absolute; top: -4%; bottom: -4%; left: 0; z-index: 3; width: 14px;
  background: linear-gradient(90deg, rgba(0, 27, 81, .0), rgba(0, 27, 81, .9) 40%, var(--navy) 60%, rgba(0, 27, 81, 0));
  border-radius: 8px; opacity: 0;
  animation: blade 1.8s 1s cubic-bezier(.65, 0, .35, 1) forwards;
}
@keyframes wipe { to { clip-path: inset(0 0 0 100%); } }
@keyframes blade { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.pane__badge {
  position: absolute; z-index: 4; left: 18px; top: 18px; right: 18px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); font-size: .92rem; line-height: 1.35;
  opacity: 0; animation: fade .8s 2.6s var(--ease) forwards;
}
.pane__badge strong { display: block; color: var(--navy); font-size: 1rem; }
.pane__badge .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.pane__badge .icon svg { width: 22px; }

/* Illustration de secours (avant les vraies photos) */
.pane__art { background: linear-gradient(160deg, #dff1fd 0%, #f6f9fd 45%, #e9eef7 100%); }

/* ---------- Bande de réassurance ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust ul { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 18px; border-right: 1px solid var(--line); }
.trust li:nth-child(2n) { border-right: 0; }
@media (max-width: 899px) { .trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (min-width: 900px) { .trust li:nth-child(2n) { border-right: 1px solid var(--line); } .trust li:last-child { border-right: 0; } }
.trust svg { width: 26px; flex: none; color: var(--blue); margin-top: 2px; }
.trust strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.3; }
.trust span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

/* ---------- Cartes services ---------- */
.services-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--navy); margin-bottom: 22px;
  transition: background .4s, color .4s;
}
.card:hover .card__icon { background: var(--navy); color: var(--white); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 20px; }
.card .link-arrow { margin-top: auto; font-size: .92rem; }
.card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--feature { background: var(--navy); border-color: var(--navy); }
.card--feature h3 { color: var(--white); }
.card--feature p { color: #b9c7e2; }
.card--feature .card__icon { background: rgba(255, 255, 255, .1); color: var(--white); }
.card--feature .link-arrow { color: var(--white); }
.card--all { background: var(--pearl); }
.card__list { margin: 0 0 22px; }
.card__list a { position: relative; z-index: 1; display: block; padding: 6px 0; font-weight: 600; color: var(--navy); font-size: .95rem; border-bottom: 1px solid var(--line); }
.card__list a:hover { color: var(--blue); }
.card--all .link-arrow::after { display: none; }
.card__tag { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: var(--white); }

/* ---------- Bloc deux colonnes ---------- */
.split { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--pearl-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.media.is-visible img { transform: scale(1); }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001b51' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist strong { color: var(--navy); }
.section--navy .checklist li::before { background-color: rgba(255, 255, 255, .12); 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='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.section--navy .checklist strong { color: var(--white); }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 18px;
  font-variation-settings: "opsz" 144;
}
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Prix / différenciation ---------- */
.compare { display: grid; gap: 16px; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.compare__col h3 { margin-bottom: 18px; }
.compare__col--us { background: var(--navy); border-color: var(--navy); color: #c8d4ea; }
.compare__col--us h3 { color: var(--white); }
.compare__col li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .97rem; }
.compare__col--us li { border-color: rgba(255, 255, 255, .12); }
.compare__col li svg { flex: none; width: 20px; margin-top: 3px; }
.compare__col--them li svg { color: #a3adc0; }
.compare__col--us li svg { color: var(--blue); }

/* ---------- Zone ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--navy); white-space: nowrap; }
.chip svg { width: 15px; color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--navy); font-variation-settings: "opsz" 36;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] .plus { background: var(--navy); border-color: var(--navy); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--white); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 68ch; }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy); color: #c8d4ea; padding: clamp(40px, 6vw, 72px);
  display: grid; gap: 28px; align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e9eef6 22%, #b8c3d6 55%, rgba(184, 195, 214, 0) 72%);
  opacity: .14; pointer-events: none;
}

/* ---------- Pages internes ---------- */
.page-hero { padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); background: var(--pearl); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 26px; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b3bccb; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .page-hero__grid { grid-template-columns: 1.2fr .8fr; } }
.page-hero .media { aspect-ratio: 16 / 9; }
@media (min-width: 980px) { .page-hero .media { aspect-ratio: 4 / 3.2; } }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #2a3651; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose ol li { margin-bottom: 8px; padding-left: 4px; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose strong { color: var(--navy); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--blue); background: var(--pearl); border-radius: 0 14px 14px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy); background: var(--pearl); font-weight: 700; }
.table-scroll { overflow-x: auto; }

.layout-aside { display: grid; gap: 48px; }
@media (min-width: 1020px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; } }
.aside-card { position: sticky; top: 100px; padding: 28px; border-radius: var(--radius); background: var(--pearl); border: 1px solid var(--line); }
.aside-card h3 { font-size: 1.25rem; }
.aside-card p { color: var(--muted); font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card ul { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.aside-card ul a { display: block; padding: 7px 0; color: var(--navy); font-weight: 600; font-size: .95rem; }
.aside-card ul a:hover { color: var(--blue); }

/* ---------- Blog ---------- */
.posts { display: grid; gap: 20px; }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .95rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--pearl);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(15, 155, 242, .14); }
.form__note { font-size: .84rem; color: var(--muted); margin: 0; }
.form__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.form__choices label { position: relative; }
.form__choices input { position: absolute; opacity: 0; pointer-events: none; }
.form__choices span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; font-weight: 600; cursor: pointer; transition: all .25s; background: var(--white); }
.form__choices input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.form__choices input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__status { display: none; padding: 14px 18px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); font-weight: 600; }
.form__status.is-shown { display: block; }

.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: border-color .3s, transform .4s var(--ease); }
a.contact-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.contact-card .icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; }
.contact-card .icon svg { width: 22px; }
.contact-card small { display: block; color: var(--muted); font-size: .84rem; }
.contact-card strong { color: var(--navy); font-size: 1.05rem; }

/* ---------- Pied de page ---------- */
.footer { background: #00143d; color: #9fb0cf; padding: 72px 0 120px; font-size: .95rem; }
@media (min-width: 1040px) { .footer { padding-bottom: 40px; } }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: var(--white); }
.footer__brand .logo { width: 220px; height: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 34ch; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* ---------- Barre d'appel mobile ---------- */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  border-radius: 22px; background: rgba(255, 255, 255, .94); box-shadow: 0 12px 40px -10px rgba(0, 27, 81, .4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.callbar.is-shown { transform: none; }
.callbar .btn { min-height: 48px; padding: 0 14px; font-size: .92rem; }
@media (min-width: 1040px) { .callbar { display: none; } }

/* ---------- Apparitions au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .49s; }
.reveal-stagger.is-visible > *:nth-child(n+9) { transition-delay: .56s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.note-todo { background: #fff6dc; border: 1px dashed #e0b84a; color: #6b5310; padding: 2px 8px; border-radius: 6px; font-size: .9em; }

/* ---------- Illustrations (avant les vraies photos) ---------- */
.art { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.art__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art__tile {
  position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .62); color: var(--navy);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 18px 40px -18px rgba(0, 27, 81, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .8s var(--ease);
}
.art__tile > span { width: 40px; display: block; }
.media:hover .art__tile, .post-card:hover .art__tile { transform: translateY(-4px) rotate(-3deg); }
.art__bubble { transform-box: fill-box; transform-origin: center; animation: bubble 9s ease-in-out infinite; }
@keyframes bubble {
  0% { transform: translateY(0) scale(1); opacity: .9; }
  50% { transform: translateY(-26px) scale(1.06); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: .9; }
}
.art--hero { display: block; }
.art__clouds { animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(26px); } }
.pane > .art { position: absolute; inset: 0; }

/* Vagues entre les sections, en écho au logo */
.wave { display: block; width: 100%; height: clamp(36px, 6vw, 80px); margin-bottom: -1px; }
.wave--bottom { margin-top: -1px; margin-bottom: 0; transform: scaleY(-1) scaleX(-1); }

/* Bulles nacrées dans le fond du hero */
.hero__pearls { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__pearls i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #eef2f8 40%, #c3cddc 80%, #a7b4c9 100%);
  box-shadow: 0 10px 24px -10px rgba(0, 27, 81, .35);
  opacity: .55; animation: bubble 12s ease-in-out infinite;
}

/* Groupes de choix du formulaire */
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { display: block; padding: 0; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }

/* Liste déroulante du formulaire */
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--pearl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001b51' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.field select:focus { background-color: var(--white); }
.field select:invalid { color: var(--muted); }
.field select option { color: var(--ink); }

/* ---------- Modernisation (guides modern-web-guidance) ---------- */

/* Typographie : titres équilibrés, paragraphes sans mot orphelin */
h1, h2, h3, .faq summary { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
.prose { overflow-wrap: break-word; }

/* FAQ : ouverture et fermeture animées jusqu'à la hauteur réelle */
.faq details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.faq details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: .35s; transition-timing-function: var(--ease);
    transition-behavior: allow-discrete;
  }
}

/* Champs : signalés en erreur seulement après interaction */
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c2410c; background: #fff7f3; }

/* Apparitions au défilement pilotées par le scroll (CSS natif), JS seulement en repli */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-in { from { opacity: 0; translate: 0 28px; } }
    .reveal, .reveal-stagger > * {
      opacity: 1; transform: none; transition: none;
      animation: reveal-in auto var(--ease) backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes media-zoom { from { scale: 1.08; } }
    .media img { transform: none; transition: none; animation: media-zoom auto linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }

    /* Ombre de l'en-tête et barre d'appel mobile liées à la position du scroll */
    @keyframes header-raise { to { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 27, 81, .4); } }
    .header { animation: header-raise linear both; animation-timeline: scroll(root block); animation-range: 0px 40px; }
    @keyframes callbar-in { from { transform: translateY(140%); } to { transform: none; } }
    .callbar { transition: none; animation: callbar-in linear both; animation-timeline: scroll(root block); animation-range: 320px 440px; }
  }
}

/* Transitions douces entre les pages (navigateurs compatibles) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .header { view-transition-name: site-header; }
  .topbar { view-transition-name: site-topbar; }
  ::view-transition-old(root) { animation: .25s ease-in both vt-out; }
  ::view-transition-new(root) { animation: .4s var(--ease) both vt-in; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; translate: 0 12px; } }
}
