/* ==========================================================================
   Virginie Vanderstraeten — feuille de style
   Couleurs et polices : variables ci-dessous (charte graphique)
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/fonts/caveat-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --navy: #0C2D52;
  --navy-deep: #08213D;
  --coral: #FF6F5E;
  --coral-ink: #B83A28;      /* corail foncé, lisible en texte sur fond clair */
  --teal: #3F8F9D;
  --teal-ink: #2B6A75;
  --cream: #F7F2EC;
  --sand: #EFE6DA;
  --white: #FFFFFF;
  --text: #34425A;
  --muted: #5E6B80;
  --line: #E3DACD;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(12, 45, 82, .35);
  --shadow-sm: 0 6px 18px -10px rgba(12, 45, 82, .3);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-color: var(--coral); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.55rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { color: var(--navy); font-weight: 600; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------- Typo utilitaires ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 1.1rem;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--coral); }
.section--navy .kicker { color: var(--cream); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--text); }
.signature { font-family: var(--script); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--navy); margin: 0; }
.signature-underline { position: relative; display: inline-block; padding-bottom: .35em; }
.signature-underline::after {
  content: ""; position: absolute; left: 4%; right: 10%; bottom: 0; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7C50 1 130 1 198 5' fill='none' stroke='%23FF6F5E' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.text-coral { color: var(--coral-ink); }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn .icon { width: 1.2rem; height: 1.2rem; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-coral { background: var(--coral); color: var(--navy); box-shadow: 0 10px 22px -12px rgba(255, 111, 94, .9); }
.btn-coral:hover { background: #ff8273; color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.cta-band .btn-ghost, .section--navy .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-ghost:hover, .section--navy .btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow .icon { width: 1.15rem; height: 1.15rem; color: var(--coral-ink); transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(12,45,82,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 54px; height: auto; color: var(--navy); }
.brand-name { font-weight: 700; font-size: 1.02rem; line-height: 1.12; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  position: relative; display: block; padding: .55rem .8rem;
  font-weight: 500; font-size: .97rem; text-decoration: none; color: var(--navy);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; border-radius: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { font-weight: 600; }
.nav-cta { min-height: 44px; padding: .6rem 1.25rem; font-size: .95rem; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--navy); cursor: pointer;
  }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.2rem 1.25rem 1.8rem; background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(12,45,82,.45);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: .95rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { left: .25rem; right: auto; width: 32px; bottom: -1px; }
  .nav-cta { min-height: 54px; font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .brand-mark { width: 44px; }
  .brand-name { font-size: .92rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4.5rem, 8vw, 7rem);
}
.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { color: var(--coral-ink); }
.hero .lead { max-width: 36em; margin-bottom: 1.8rem; }
.hero-proof {
  display: flex; gap: 1rem; align-items: center; margin: 0 0 2rem; padding: 1rem 1.2rem;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); max-width: 34rem;
}
.hero-proof .num { font-size: 2.3rem; font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.hero-proof .num span { color: var(--coral); }
.hero-proof p { margin: 0; font-size: .95rem; line-height: 1.5; }
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 200px 28px 28px 28px; overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-swoosh { position: absolute; left: -12%; top: -9%; width: 70%; pointer-events: none; }
.hero-card {
  position: absolute; left: -2.2rem; bottom: 2.2rem; max-width: 270px;
  background: #fff; border-radius: var(--radius-sm); padding: 1.1rem 1.2rem 1rem; box-shadow: var(--shadow);
}
.hero-card .signature { font-size: 1.55rem; }
.hero-card small { display: block; margin-top: .3rem; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 80px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-photo { aspect-ratio: 4 / 3.3; border-radius: 140px 24px 24px 24px; }
  .hero-card { left: .8rem; bottom: -1.6rem; }
}

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; background: var(--cream); overflow: hidden; }
.page-hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4.5rem, 8vw, 6.5rem);
}
.page-hero .lead { max-width: 38em; }
.page-hero-photo { border-radius: 140px 24px 24px 24px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--simple .page-hero-inner { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-photo { max-width: 520px; aspect-ratio: 16 / 10; border-radius: 100px 20px 20px 20px; }
}

/* ---------- Situations (problèmes) ---------- */
.problems { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.problem {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.problem:nth-child(4), .problem:nth-child(5) { grid-column: span 3; }
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.problem .icon-quote { width: 34px; height: 34px; color: var(--coral); margin-bottom: .9rem; }
.problem h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 1.1rem; }
.problem .answer {
  margin-top: auto; padding-top: 1rem; border-top: 2px dotted var(--line);
  font-size: .95rem; line-height: 1.55; color: var(--muted);
}
.problem .answer b { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .3rem; }
@media (max-width: 960px) {
  .problems { grid-template-columns: repeat(2, 1fr); }
  .problem, .problem:nth-child(4), .problem:nth-child(5) { grid-column: span 1; }
  .problem:last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .problems { grid-template-columns: 1fr; }
}

/* ---------- Besoins ---------- */
.needs-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.needs-photo { position: relative; }
.needs-photo img { border-radius: 24px 24px 120px 24px; box-shadow: var(--shadow); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.needs-photo::before {
  content: ""; position: absolute; inset: auto auto -18px -18px; width: 120px; height: 120px; z-index: -1;
  background-image: radial-gradient(var(--coral) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .7;
}
.needs-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; }
.needs-list li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.5; font-weight: 500; color: var(--navy); }
.needs-list .icon { color: var(--navy); width: 1.6rem; height: 1.6rem; margin-top: -.05rem; }
@media (max-width: 860px) {
  .needs-grid { grid-template-columns: 1fr; }
  .needs-photo { max-width: 460px; }
  .needs-photo img { aspect-ratio: 16/11; }
}
@media (max-width: 560px) { .needs-list { grid-template-columns: 1fr; } }

/* ---------- Approche (5 étapes) ---------- */
.approach { position: relative; overflow: hidden; }
.approach::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  border: 2px solid rgba(255,111,94,.35); pointer-events: none;
}
.steps { list-style: none; padding: 0; margin: 0 0 2.6rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 10px, transparent 10px 18px);
}
.steps li { position: relative; text-align: center; counter-increment: step; }
.steps .dot {
  position: relative; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); border: 2px solid var(--coral); color: #fff;
}
.steps .dot .icon { width: 28px; height: 28px; }
.steps li:last-child .dot { background: var(--coral); color: var(--navy); --accent: var(--navy); }
.steps strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 600; }
.steps strong::after { content: "."; color: var(--coral); }
.steps span { display: block; font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.5; margin-top: .25rem; }
@media (max-width: 860px) {
  .approach::after { display: none; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; max-width: 420px; }
  .steps::before { left: 31px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--coral) 0 10px, transparent 10px 18px); }
  .steps li { display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; align-items: center; text-align: left; }
  .steps .dot { margin: 0; }
}

/* ---------- Cartes d'expertises (accueil) ---------- */
.expertise-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.expertise-card {
  display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.3rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.expertise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.expertise-card > .icon { width: 44px; height: 44px; color: var(--navy); }
.expertise-card h3 { font-size: 1.02rem; margin: 0; line-height: 1.35; }
.expertise-card p { font-size: .9rem; line-height: 1.55; margin: 0; color: var(--muted); }
.expertise-card .link-arrow { margin-top: auto; font-size: .9rem; }
@media (max-width: 1060px) { .expertise-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .expertise-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .expertise-cards { grid-template-columns: 1fr; } }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,.85); border-radius: 28px; padding: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band::before {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 55%; height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' preserveAspectRatio='none'%3E%3Cpath d='M0 190C160 170 330 110 600 10' fill='none' stroke='%23FF6F5E' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M60 200C220 175 380 130 600 60V200Z' fill='%233F8F9D' opacity='.35'/%3E%3C/svg%3E") no-repeat right bottom / 100% 100%;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22em; }
.cta-band p { max-width: 40em; }
.cta-band .signature { color: var(--cream); font-size: 1.7rem; margin-bottom: 1.4rem; }

/* ---------- Page expertises ---------- */
.anchor-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.anchor-nav a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--navy);
}
.anchor-nav a:hover { border-color: var(--coral); color: var(--navy); }
.anchor-nav .icon { width: 1.25rem; height: 1.25rem; }

.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.expertise + .expertise { margin-top: clamp(4rem, 8vw, 6.5rem); }
.expertise:nth-child(even) .expertise-media { order: 2; }
.expertise-media { position: relative; }
.expertise-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.expertise:nth-child(odd) .expertise-media img { border-top-left-radius: 110px; }
.expertise:nth-child(even) .expertise-media img { border-top-right-radius: 110px; }
.expertise-num {
  position: absolute; bottom: -1.3rem; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
.expertise:nth-child(odd) .expertise-num { right: 1.5rem; }
.expertise:nth-child(even) .expertise-num { left: 1.5rem; }
.expertise-num .icon { width: 34px; height: 34px; }
.expertise h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem); }
.expertise-index { font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--coral-ink); text-transform: uppercase; margin-bottom: .6rem; display: block; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.5; }
.checklist .icon { width: 1.45rem; height: 1.45rem; color: var(--navy); margin-top: .05rem; }
.benefit {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--cream); border-left: 4px solid var(--teal);
}
.benefit .icon { width: 1.6rem; height: 1.6rem; color: var(--teal-ink); --accent: var(--coral); margin-top: .1rem; }
.benefit p { margin: 0; line-height: 1.5; color: var(--navy); }
.benefit b { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); }
@media (max-width: 860px) {
  .expertise { grid-template-columns: 1fr; }
  .expertise:nth-child(even) .expertise-media { order: 0; }
  .expertise-media { max-width: 560px; }
}

/* ---------- Réalisations ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.case {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: box-shadow .25s, transform .25s;
}
.case:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-media { position: relative; aspect-ratio: 16/8; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover .case-media img { transform: scale(1.04); }
.case-tag {
  position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.94); color: var(--navy); font-size: .78rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
}
.case-tag .icon { width: 1.05rem; height: 1.05rem; }
.case-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.case-body h2 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.case dl { margin: 0; display: grid; gap: 1rem; }
.case dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.case dd { margin: 0; line-height: 1.6; }
.case .transpose { margin-top: auto; padding: .9rem 1rem; background: var(--cream); border-radius: var(--radius-sm); border-left: 4px solid var(--coral); }
.case .transpose dt { color: var(--coral-ink); }
.case .transpose dd { color: var(--navy); font-weight: 600; }
.case dl > div:last-child { margin-top: .4rem; }
.note {
  display: flex; gap: .9rem; align-items: flex-start; max-width: 820px; margin: 2.5rem auto 0;
  font-size: .9rem; color: var(--muted); line-height: 1.6;
}
.note .icon { width: 1.4rem; height: 1.4rem; color: var(--teal-ink); flex: none; margin-top: .15rem; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--navy); color: rgba(255,255,255,.85); border-radius: 28px 28px 28px 120px; padding: 2.4rem 2rem 2.8rem; overflow: hidden;
}
.about-card::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 110px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 110' preserveAspectRatio='none'%3E%3Cpath d='M0 60C120 100 260 100 400 20' fill='none' stroke='%23FF6F5E' stroke-width='4'/%3E%3Cpath d='M0 80C130 110 270 105 400 45V110H0Z' fill='%233F8F9D' opacity='.35'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.about-card .mark { width: 140px; color: var(--cream); margin-bottom: 1rem; }
.about-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: .3rem; }
.about-card .role { font-size: .95rem; line-height: 1.5; margin-bottom: 1.3rem; }
.about-card .signature { color: var(--cream); font-size: 1.7rem; margin-bottom: 1.5rem; }
.about-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; position: relative; z-index: 1; }
.about-card li { display: flex; gap: .6rem; align-items: center; }
.about-card .icon { width: 1.2rem; height: 1.2rem; color: #fff; }
.about-text .lead { color: var(--navy); }
.quote-block {
  position: relative; margin: 2rem 0; padding: 1.6rem 1.6rem 1.6rem 4.2rem; background: var(--cream); border-radius: var(--radius);
}
.quote-block .icon { position: absolute; left: 1.3rem; top: 1.4rem; width: 2rem; height: 2rem; color: var(--coral); }
.quote-block p { margin: 0; font-size: 1.08rem; color: var(--navy); line-height: 1.65; }
.domains { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.domains li { padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--navy); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; border: 1px solid var(--line); }
.value .icon { width: 46px; height: 46px; color: var(--navy); margin-bottom: 1rem; }
.value h3 { margin-bottom: .4rem; }
.value h3::after { content: "."; color: var(--coral); }
.value p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: .9rem; margin-bottom: 1.6rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: center; padding: 1.05rem 1.2rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.contact-card:hover { border-color: var(--coral); box-shadow: var(--shadow-sm); transform: translateX(3px); color: var(--text); }
.contact-card .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--navy); flex: none; }
.contact-card .ic .icon { width: 1.45rem; height: 1.45rem; }
.contact-card small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.contact-card span { font-weight: 600; color: var(--navy); word-break: break-word; line-height: 1.4; }
.form-card { background: #fff; border-radius: 24px; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: var(--cream);
  border: 1.5px solid transparent; border-radius: 12px; padding: .85rem 1rem; min-height: 52px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230C2D52' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(63,143,157,.18); }
.field [aria-invalid="true"] { border-color: var(--coral-ink); background: #fff7f5; }
.field .error { font-size: .85rem; color: var(--coral-ink); min-height: 0; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--navy); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-actions .btn { min-width: 220px; }
.form-legal { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }
.form-status { display: none; gap: .8rem; align-items: flex-start; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 500; line-height: 1.5; }
.form-status.is-visible { display: flex; }
.form-status.ok { background: #E9F4F5; color: var(--teal-ink); }
.form-status.err { background: #FFF1EE; color: var(--coral-ink); }
.form-status .icon { width: 1.5rem; height: 1.5rem; flex: none; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* ---------- Pages juridiques ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose ul { margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.todo { background: #FFF6D9; border-radius: 4px; padding: 0 .3em; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; margin-top: 2rem; color: rgba(255,255,255,.78); }
.footer-wave { width: 100%; height: clamp(40px, 6vw, 90px); margin-bottom: -1px; }
.footer-body { background: var(--navy); padding: 2.2rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 2.5rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-mark { width: 92px; color: var(--cream); margin-bottom: .6rem; }
.footer-name { font-weight: 700; color: #fff; font-size: 1.2rem; margin: 0 0 .2rem; }
.footer-title { font-size: .9rem; max-width: 26em; line-height: 1.5; }
.site-footer .signature { color: var(--cream); font-size: 1.6rem; }
.footer-heading { color: #fff; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: center; }
.footer-contact .icon { width: 1.2rem; height: 1.2rem; color: #fff; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.footer-contact a { word-break: break-all; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-top: 1.4rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Bouton contact flottant (mobile) ---------- */
.float-cta { display: none; }
@media (max-width: 720px) {
  .float-cta {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex;
    box-shadow: 0 14px 30px -12px rgba(12,45,82,.6);
    transform: translateY(140%); transition: transform .3s ease;
  }
  .float-cta.is-visible { transform: none; }
  .page-contact .float-cta { display: none; }
}

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Admin ---------- */
.admin-wrap { max-width: 980px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.admin-req { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.admin-req.done { opacity: .6; }
.admin-req header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.admin-req .msg { white-space: pre-wrap; background: var(--cream); padding: .9rem 1rem; border-radius: 10px; margin: .6rem 0 1rem; }
.admin-req .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.admin-req .btn { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--coral); color: var(--navy); }
.badge.done { background: var(--line); }


/* ==========================================================================
   Bandeaux à fond photo, blocs alternés, cartes avec photo
   ========================================================================== */

/* ---------- Bandeau à fond photo (photo teintée marine) ---------- */
.bg-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: rgba(255,255,255,.88); }
.bg-band > .bg-img {
  position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; z-index: -2;
  opacity: .5; mix-blend-mode: luminosity; will-change: transform;
}
.bg-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(8,33,61,.9) 0%, rgba(12,45,82,.66) 55%, rgba(12,45,82,.36) 100%);
}
.bg-band h2, .bg-band h3 { color: #fff; }
.bg-band .kicker { color: var(--cream); }
.bg-band .lead, .bg-band p { color: rgba(255,255,255,.85); }
.bg-band .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.bg-band .btn-ghost:hover { background: #fff; color: var(--navy); }

/* Formats sur fond photo */
.formats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.formats li {
  padding: 1.5rem 1.3rem; border-radius: var(--radius); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.formats .icon { width: 40px; height: 40px; color: #fff; margin-bottom: .9rem; }
.formats strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.formats span { display: block; font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.78); }
.band-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.2rem; }
.band-foot p { margin: 0; display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.band-foot .icon { width: 1.4rem; height: 1.4rem; color: #fff; }
@media (max-width: 960px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .formats { grid-template-columns: 1fr; } }

/* Valeurs sur fond photo */
.bg-band .value { background: rgba(255,255,255,.96); border-color: transparent; }
.bg-band .value h3 { color: var(--navy); }
.bg-band .value p { color: var(--muted); }

/* Bandeau d'appel à l'action avec photo */
.cta-band { isolation: isolate; }
.cta-band > .bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2;
  opacity: .42; mix-blend-mode: luminosity;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8,33,61,.95) 0%, rgba(12,45,82,.78) 60%, rgba(12,45,82,.35) 100%);
}

/* ---------- Bloc texte / image alterné ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; isolation: isolate; }
.split-media img { width: 100%; aspect-ratio: 4/3.3; object-fit: cover; border-radius: 24px 120px 24px 24px; box-shadow: var(--shadow); }
.split-media::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; z-index: -1;
  background-image: radial-gradient(var(--coral) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .7;
}
.split-media .swoosh { position: absolute; left: -6%; top: -7%; width: 46%; pointer-events: none; z-index: 1; }
.split--reverse .split-media { order: -1; }
.split--reverse .split-media img { border-radius: 120px 24px 24px 24px; }
.split--reverse .split-media::after { right: auto; left: -18px; }
.split--reverse .split-media .swoosh { left: auto; right: -6%; transform: scaleX(-1); }
.split-badge {
  position: absolute; left: 1.4rem; bottom: -1.4rem; z-index: 1; display: flex; align-items: center; gap: .8rem;
  background: #fff; border-radius: var(--radius-sm); padding: .85rem 1.1rem; box-shadow: var(--shadow); max-width: 80%;
}
.split--reverse .split-badge { left: auto; right: 1.4rem; }
.split-badge .icon { width: 2rem; height: 2rem; color: var(--navy); }
.split-badge p { margin: 0; font-size: .88rem; line-height: 1.4; color: var(--navy); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.chips li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--cream); font-size: .9rem; font-weight: 500; color: var(--navy); }
.section--cream .chips li { background: #fff; }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 560px; }
}

/* ---------- Cartes d'expertises avec photo ---------- */
.expertise-card { padding: 0; gap: 0; overflow: hidden; }
.expertise-card-img { position: relative; aspect-ratio: 16/11; }
.expertise-card-img .clip { position: absolute; inset: 0; overflow: hidden; }
.expertise-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.expertise-card:hover .expertise-card-img img { transform: scale(1.06); }
.expertise-card-img .badge-ic {
  position: absolute; left: 1rem; bottom: -22px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--navy); color: #fff; border: 3px solid #fff;
}
.expertise-card-img .badge-ic .icon { width: 24px; height: 24px; }
.expertise-card-body { display: flex; flex-direction: column; gap: .7rem; padding: 2rem 1.2rem 1.3rem; flex: 1; }

/* ---------- Réalisations en lignes alternées ---------- */
.cases--rows { grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); }
.cases--rows .case { display: grid; grid-template-columns: 1fr 1.1fr; }
.cases--rows .case:nth-child(even) .case-media { order: 2; }
.cases--rows .case-media { aspect-ratio: auto; min-height: 360px; }
.cases--rows .case-body { padding: clamp(1.6rem, 3vw, 2.6rem); }
.case-num { font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--coral-ink); text-transform: uppercase; margin-bottom: .5rem; display: block; }
@media (max-width: 860px) {
  .cases--rows .case { grid-template-columns: 1fr; }
  .cases--rows .case:nth-child(even) .case-media { order: 0; }
  .cases--rows .case-media { min-height: 0; aspect-ratio: 16/9; }
}

/* Récapitulatif (fond photo) */
.recap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2.5rem; max-width: 920px; }
.recap li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1.05rem; font-weight: 500; color: #fff; line-height: 1.5; }
.recap .icon { width: 1.6rem; height: 1.6rem; color: #fff; flex: none; }
@media (max-width: 700px) { .recap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .bg-band > .bg-img { transform: none !important; } }


@media print {
  .site-header, .site-footer, .float-cta, .nav-toggle { display: none !important; }
}
