/* ============================================================
   Agence Blue Ocean - Theme CSS
   Tokens : Design System ABO
   ============================================================ */

/* --- Fonts --- */
@font-face { font-family:'Fira Sans'; src:url('../fonts/FiraSans-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Fira Sans'; src:url('../fonts/FiraSans-Italic.woff2') format('woff2'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Fira Sans'; src:url('../fonts/FiraSans-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Fira Sans'; src:url('../fonts/FiraSans-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Fira Sans'; src:url('../fonts/FiraSans-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Fira Sans'; src:url('../fonts/FiraSans-ExtraBold.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap; }
@font-face { font-family:'Fira Sans'; src:url('../fonts/FiraSans-Black.woff2') format('woff2'); font-weight:900; font-style:normal; font-display:swap; }

/* --- Design Tokens --- */
:root {
  /* Brand */
  --blue:       #0000FF;
  --blue-deep:  #183383;
  --blue-cyan:  #28C9F9;

  /* Semantic */
  --bg:         #FFFFFF;
  --bg-alt:     #F4F8FF;
  --fg-1:       #1a1a2e;
  --fg-2:       #54595F;
  --fg-3:       #7A7A7A;
  --border:     #D6E3FF;
  --link:       #0000FF;

  /* Type scale */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base:1rem;
  --text-lg:  1.25rem;
  --text-xl:  1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,255,.08);
  --shadow-md: 0 4px 16px rgba(0,0,255,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,255,.16);

  /* Motion */
  --ease-tide: cubic-bezier(.22,.61,.36,1);
  --dur-base:  240ms;

  /* Layout */
  --container: 1280px;
  --gutter:    clamp(1rem, 4vw, 2rem);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { font-family:'Fira Sans', system-ui, sans-serif; font-size:var(--text-base); line-height:1.6; color:var(--fg-1); background:var(--bg); }
/* Ancres du sous-menu "L'Agence" (sections de la home) : on degage la hauteur de la nav fixe au scroll */
#services, #realisations, #method, #temoignages, #equipe { scroll-margin-top:calc(var(--nav-h, 85px) + .5rem); }
img { max-width:100%; height:auto; display:block; }
a { color:var(--link); text-decoration:none; }
a:hover { text-decoration:underline; }
ul, ol { list-style:none; }

/* --- Container --- */
.container { max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }

/* --- Buttons --- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.625rem 1.5rem; border-radius:var(--radius-pill);
  font-family:inherit; font-size:var(--text-sm); font-weight:600;
  border:2px solid transparent; cursor:pointer;
  transition:all var(--dur-base) var(--ease-tide); text-decoration:none;
  white-space:nowrap;
}
.btn-primary   { background:var(--blue); color:#fff; border-color:var(--blue); }
.btn-primary:hover { background:var(--blue-deep); border-color:var(--blue-deep); text-decoration:none; }
.btn-secondary { background:var(--blue); color:#fff; border-color:var(--blue); }
.btn-secondary:hover { background:var(--blue-deep); border-color:var(--blue-deep); }
.btn-ghost     { background:transparent; color:var(--blue); border-color:var(--blue); }
.btn-ghost:hover { background:var(--blue); color:#fff; text-decoration:none; }
.btn:hover { text-decoration:none; }
.btn-nav       { background:var(--blue); color:#fff; padding:.5rem 1.25rem; }
.btn-sm        { padding:.375rem 1rem; font-size:var(--text-xs); }
.btn-full      { width:100%; }

/* --- Navigation --- */
/* Barre de menu flottante : fond transparent sur toutes les pages (les heros remontent sous la nav, var --nav-h) */
.site-header { position:sticky; top:0; z-index:100; background:transparent; }
.site-nav { display:flex; align-items:center; justify-content:center; gap:clamp(.75rem,1.6vw,1.75rem); padding-block:.75rem; }
/* Bulle blanche des liens (desktop) ; le bouton Nous contacter reste en dehors */
.nav-links { display:flex; align-items:center; gap:clamp(1rem,1.6vw,1.5rem); background:#fff; border-radius:999px; padding:.6rem 1.6rem; box-shadow:0 10px 34px rgba(24,51,131,.16); }
.nav-contact-desktop { flex-shrink:0; }
.nav-link { font-size:1rem; font-weight:500; color:var(--fg-1); white-space:nowrap; transition:color var(--dur-base); }
.nav-badge { display:inline-block; margin-left:.4rem; padding:.06rem .42rem; font-size:.62rem; font-weight:700; line-height:1.5; letter-spacing:.04em; text-transform:uppercase; color:var(--fg-1); background:var(--blue-cyan); border-radius:999px; vertical-align:middle; }
.nav-link:hover, .nav-link.active { color:var(--blue); text-decoration:none; }
.nav-mobile-actions { display:none; align-items:center; gap:.5rem; margin-left:auto; }
/* Bouton hamburger (mobile) : TOUJOURS en bulle blanche (comme la bulle des liens desktop), sans hover ni etat actif. */
.nav-toggle { display:none; align-items:center; justify-content:center; width:42px; height:42px; background:#fff; border:0; border-radius:var(--radius-pill); cursor:pointer; padding:.35rem; color:var(--blue); box-shadow:0 10px 34px rgba(24,51,131,.16); -webkit-tap-highlight-color:transparent; }
.nav-toggle-icon { width:26px; height:22px; display:block; overflow:visible; }
.nav-toggle-icon path { fill:none; stroke:currentColor; stroke-width:2.25; stroke-linecap:round; stroke-linejoin:round; }

@media (max-width:992px) {
  .nav-mobile-actions { display:flex; }
  .nav-toggle { display:flex; }
  .btn-nav-mobile { padding:.55rem .875rem; font-size:.8125rem; }
  .nav-links { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; border-radius:0; border-bottom:1px solid var(--border); flex-direction:column; align-items:flex-start; padding:var(--space-4) var(--gutter); gap:var(--space-3); box-shadow:var(--shadow-md); }
  .nav-contact-desktop { display:none; }
  .site-nav.nav-open .nav-links { display:flex; }
}

/* --- Navigation : sous-menus déroulants --- */
.nav-has-children { position:relative; }
.nav-has-children > .nav-link { display:inline-flex; align-items:center; gap:.25rem; cursor:pointer; }
.nav-caret { width:13px; height:13px; flex-shrink:0; transition:transform var(--dur-base) var(--ease-tide); }
.nav-submenu { list-style:none; margin:0; padding:0; }
.nav-sublink { display:block; padding:.5rem .625rem; border-radius:.5rem; font-size:var(--text-sm); font-weight:500; color:var(--fg-1); white-space:nowrap; transition:background var(--dur-base), color var(--dur-base); }
.nav-sublink:hover { background:var(--bg-alt); color:var(--blue); text-decoration:none; }
@media (min-width:993px) {
  .nav-submenu { position:absolute; top:calc(100% + .5rem); left:50%; transform:translateX(-50%) translateY(6px); min-width:240px; background:#fff; border:1px solid var(--border); border-radius:.875rem; box-shadow:var(--shadow-md); padding:.5rem; display:flex; flex-direction:column; gap:.125rem; opacity:0; visibility:hidden; transition:opacity var(--dur-base) var(--ease-tide), transform var(--dur-base) var(--ease-tide), visibility var(--dur-base); z-index:120; }
  .nav-submenu::before { content:""; position:absolute; bottom:100%; left:0; right:0; height:.75rem; }
  .nav-has-children:hover .nav-submenu, .nav-has-children:focus-within .nav-submenu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
  .nav-has-children:hover .nav-caret, .nav-has-children:focus-within .nav-caret { transform:rotate(180deg); }
}
@media (max-width:992px) {
  .nav-submenu { display:flex; flex-direction:column; gap:.125rem; margin:.25rem 0 .25rem .25rem; padding-left:.75rem; border-left:2px solid var(--border); }
  .nav-caret { display:none; }
}

/* --- Sections --- */
.section { padding:clamp(3rem,8vw,5rem) 0; }
.section-alt { background:var(--bg-alt); }
.section-title { font-size:clamp(1.5rem,3vw,var(--text-2xl)); font-weight:800; color:var(--blue-deep); margin-bottom:var(--space-6); letter-spacing:-.02em; }
.section-cta { margin-top:var(--space-6); text-align:center; }

/* --- Cards Grid --- */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:var(--space-5); }
.cards-grid--3 { grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.sc-realisations .cards-grid--stack { grid-template-columns:minmax(280px, 420px); justify-content:start; align-items:start; }

.card-item { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:transform var(--dur-base) var(--ease-tide), box-shadow var(--dur-base) var(--ease-tide); }
.card-item:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.card-img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; background:var(--bg-alt); }
.card-media { display:block; line-height:0; }
.card-media .card-img { transition:transform var(--dur-base) var(--ease-tide); }
.card-item:hover .card-media .card-img { transform:scale(1.03); }
.card-img--placeholder { display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--bg-alt),#fff); color:var(--blue); border-bottom:1px solid var(--border); }
.card-img--placeholder svg { width:42px; height:42px; opacity:.9; }
.card-body { padding:var(--space-5); }
.card-tag { display:inline-block; background:var(--bg-alt); color:var(--blue); font-size:var(--text-xs); font-weight:600; padding:.25rem .75rem; border-radius:var(--radius-pill); margin-bottom:var(--space-3); text-transform:uppercase; letter-spacing:.05em; }
.card-title { font-size:var(--text-lg); font-weight:700; margin-bottom:var(--space-2); line-height:1.3; }
.card-title a { color:inherit; }
.card-title a:hover { color:var(--blue); text-decoration:none; }
.card-title--h2 { font-size:var(--text-xl); }
.card-date { font-size:var(--text-xs); color:var(--fg-3); display:block; margin-bottom:var(--space-2); }
.card-excerpt { font-size:var(--text-sm); color:var(--fg-2); line-height:1.5; margin-bottom:var(--space-3); }
.read-more { font-size:var(--text-sm); font-weight:600; color:var(--blue); }
.read-more:hover { text-decoration:underline; }

/* --- Team --- */
.sc-equipe { position:relative; overflow:hidden; isolation:isolate; background:#183383; color:#fff; }
.sc-equipe > .container { position:relative; z-index:1; }
.sc-equipe .section-eyebrow { color:var(--blue-cyan); text-shadow:0 8px 28px rgba(0,0,0,.32); }
.sc-equipe .section-title { color:#fff; text-shadow:0 12px 34px rgba(0,0,0,.32); }
.team-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:var(--space-5); }
.team-grid--full { grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); }
.team-card { display:flex; flex-direction:column; align-items:center; text-align:center; padding:var(--space-5); background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); transition:transform var(--dur-base) var(--ease-tide); text-decoration:none; color:inherit; }
.team-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); text-decoration:none; }
.sc-equipe .team-card { background:rgba(255,255,255,.82); border-color:rgba(255,255,255,.42); box-shadow:0 24px 70px rgba(0,10,45,.22), inset 0 1px 0 rgba(255,255,255,.5); backdrop-filter:blur(16px) saturate(1.14); -webkit-backdrop-filter:blur(16px) saturate(1.14); color:var(--fg-1); }
.sc-equipe .team-card:hover { border-color:rgba(40,201,249,.56); box-shadow:0 30px 82px rgba(0,10,45,.28), inset 0 1px 0 rgba(255,255,255,.58); }
.team-card--full { flex-direction:row; text-align:left; gap:var(--space-5); }
.team-photo { width:96px; height:96px; border-radius:50%; object-fit:cover; margin-bottom:var(--space-3); }
.sc-equipe .team-photo { border:3px solid rgba(255,255,255,.7); box-shadow:0 16px 34px rgba(0,24,74,.24); }
.team-card--full .team-photo { width:120px; height:120px; flex-shrink:0; margin-bottom:0; }
.team-avatar { width:96px; height:96px; border-radius:50%; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-size:2rem; font-weight:800; margin-bottom:var(--space-3); }
.team-avatar--lg { width:120px; height:120px; font-size:2.5rem; margin-bottom:0; }
.team-avatar--xl { width:160px; height:160px; font-size:3.5rem; }
.team-name { font-size:var(--text-lg); font-weight:700; margin-bottom:var(--space-1); }
.team-role { font-size:var(--text-sm); color:var(--fg-2); margin-bottom:var(--space-2); }
.team-bio { font-size:var(--text-sm); color:var(--fg-2); line-height:1.5; margin-bottom:var(--space-3); }
.team-links { display:flex; flex-wrap:wrap; gap:var(--space-2); margin-bottom:var(--space-3); }
.social-link { font-size:var(--text-xs); font-weight:600; color:var(--blue); border:1px solid var(--blue); padding:.25rem .75rem; border-radius:var(--radius-pill); }
.social-link:hover { background:var(--blue); color:#fff; text-decoration:none; }
.team-info { flex:1; }
.sc-equipe .section-cta .btn-secondary { background:transparent; color:#fff; border-color:#fff; box-shadow:none; }
.sc-equipe .section-cta .btn-secondary:hover { background:#fff; border-color:#fff; color:var(--blue); }
/* --- Profil --- */
.profil-layout { display:grid; grid-template-columns:280px 1fr; gap:var(--space-8); padding-block:var(--space-8); }
.profil-aside { text-align:center; }
.profil-photo { width:200px; height:200px; border-radius:50%; object-fit:cover; margin:0 auto var(--space-4); }
.profil-bio-short { font-size:var(--text-sm); color:var(--fg-2); }
@media(max-width:768px) { .profil-layout { grid-template-columns:1fr; } }

/* --- Single Post --- */
.single-header { background:var(--bg-alt); border-bottom:1px solid var(--border); padding:clamp(2rem,5vw,4rem) 0; margin-top:calc(-1 * var(--nav-h,85px)); padding-top:calc(var(--nav-h,85px) + clamp(2rem,5vw,4rem)); }
.single-title { font-size:clamp(1.75rem,4vw,var(--text-3xl)); font-weight:800; line-height:1.2; color:var(--blue-deep); margin-bottom:var(--space-3); }
.single-cover { padding-block:var(--space-6); }
.cover-img { width:100%; max-height:480px; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); }
.single-layout { display:grid; grid-template-columns:1fr 300px; gap:var(--space-8); padding-block:var(--space-7); }
.sidebar-block { background:var(--bg-alt); border-radius:var(--radius-md); padding:var(--space-4); margin-bottom:var(--space-4); }
.sidebar-block h3 { font-size:var(--text-sm); font-weight:700; color:var(--blue-deep); margin-bottom:var(--space-3); text-transform:uppercase; letter-spacing:.05em; }
.tag { display:inline-block; background:var(--bg-alt); color:var(--blue); font-size:var(--text-xs); font-weight:600; padding:.25rem .75rem; border-radius:var(--radius-pill); }
.single-content { min-width:0; }
@media(max-width:900px) { .single-layout { grid-template-columns:1fr; } }

.realisation-gallery { padding:clamp(1rem,3vw,2rem) 0 clamp(2.5rem,5vw,4rem); }
.realisation-gallery-head { max-width:46rem; margin-bottom:var(--space-5); }
.realisation-gallery-head h2 { color:var(--blue-deep); font-size:clamp(2rem,4vw,var(--text-3xl)); font-weight:900; line-height:1.05; margin:0; text-wrap:balance; }
.realisation-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--space-4); }
.realisation-shot { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); overflow:hidden; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.realisation-shot:hover { border-color:rgba(0,50,255,.32); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.realisation-shot-trigger { display:block; width:100%; padding:0; border:0; background:transparent; cursor:zoom-in; }
.realisation-shot-trigger:focus-visible { outline:3px solid var(--blue); outline-offset:-3px; }
.realisation-shot img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; object-position:top center; margin:0; border-radius:0; }
.realisation-shot figcaption { padding:var(--space-3); color:var(--blue-deep); font-size:var(--text-sm); font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.sidebar-block--plain { background:transparent; padding:0; }
.realisation-lightbox { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:clamp(1rem,4vw,3rem); background:rgba(10,16,34,.88); backdrop-filter:blur(12px); }
.realisation-lightbox[hidden] { display:none; }
.realisation-lightbox figure { width:min(92rem,96vw); margin:0; }
.realisation-lightbox img { display:block; width:100%; max-height:86vh; object-fit:contain; border-radius:var(--radius-lg); box-shadow:0 30px 90px rgba(0,0,0,.38); }
.realisation-lightbox figcaption { color:#fff; font-size:var(--text-base); font-weight:800; margin-top:var(--space-3); text-align:center; text-transform:uppercase; letter-spacing:.08em; }
.realisation-lightbox-close { position:fixed; top:1rem; right:1rem; width:3rem; height:3rem; border:1px solid rgba(255,255,255,.35); border-radius:999px; background:rgba(255,255,255,.12); color:#fff; cursor:pointer; font-size:2rem; line-height:1; display:grid; place-items:center; }
.realisation-lightbox-close:hover { background:#fff; color:var(--blue); }
html.is-lightbox-open,
html.is-lightbox-open body { overflow:hidden; }
.project-links { display:grid; gap:.55rem; padding:0; margin:0; list-style:none; }
.project-links a { color:var(--blue); font-weight:800; text-decoration:none; overflow-wrap:anywhere; }
.project-links a:hover { color:var(--blue-deep); }
.service-tags { display:flex; flex-wrap:wrap; gap:.5rem; padding:0; margin:0; list-style:none; }
.service-tags li { background:rgba(0,50,255,.08); color:var(--blue-deep); border:1px solid rgba(0,50,255,.14); border-radius:var(--radius-pill); font-size:var(--text-xs); font-weight:800; line-height:1.2; padding:.45rem .7rem; }
@media(max-width:900px) { .realisation-gallery-grid { grid-template-columns:1fr; } }

.service-hero { background:linear-gradient(135deg,#0e1831 0%,#183383 68%,#243f78 100%); color:#fff; padding:clamp(3rem,7vw,5.75rem) 0 clamp(7.5rem,14vw,11.5rem); margin-top:calc(-1 * var(--nav-h,85px)); padding-top:calc(var(--nav-h,85px) + clamp(3rem,7vw,5.75rem)); }
.service-hero-inner { max-width:62rem; }
.service-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; color:rgba(255,255,255,.62); font-size:var(--text-sm); margin-bottom:clamp(1.5rem,4vw,2.5rem); }
.service-breadcrumb a { color:rgba(255,255,255,.62); text-decoration:none; }
.service-breadcrumb a:hover { color:#fff; }
.service-kicker { color:var(--blue-cyan); font-size:var(--text-sm); font-weight:800; letter-spacing:.18em; line-height:1; text-transform:uppercase; margin:0 0 1rem; }
.service-hero-title { color:#fff; font-size:clamp(2.35rem,6vw,4.9rem); font-weight:900; line-height:.98; letter-spacing:-.035em; max-width:58rem; margin:0; text-wrap:balance; }
.service-meta { color:rgba(255,255,255,.68); font-size:clamp(1rem,1.6vw,1.2rem); margin:1.25rem 0 0; }
.service-hero-media { position:relative; z-index:2; background:linear-gradient(180deg,transparent 0 clamp(4rem,8vw,7.5rem),#fff clamp(4rem,8vw,7.5rem)); margin-top:clamp(-8rem,-11vw,-4.5rem); padding-bottom:clamp(2rem,5vw,3.5rem); }
.service-hero-frame { width:min(44rem,86vw); margin:0 auto; padding:.35rem; border-radius:1.35rem; background:#fff; border:1px solid rgba(214,227,255,.82); box-shadow:0 30px 90px rgba(24,51,131,.2); overflow:hidden; }
.service-hero-img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:1rem; margin:0; }
.service-content { padding-top:clamp(.5rem,2vw,1.25rem); }
.service-hero + .container .service-content { padding-top:clamp(2.5rem,5vw,4rem); }
.service-hero--plain { padding-bottom:clamp(2.5rem,6vw,3.75rem); }
@media(max-width:720px) {
  .service-hero { padding-bottom:clamp(5.5rem,18vw,7rem); }
  .service-hero-title { font-size:clamp(2rem,12vw,3.25rem); }
  .service-hero-frame { width:min(100%,88vw); border-radius:1rem; }
  .service-hero-img { border-radius:.75rem; }
}

.article-hero { background:linear-gradient(135deg,#0e1831 0%,#183383 68%,#243f78 100%); color:#fff; padding:clamp(3rem,7vw,5.75rem) 0 clamp(7.5rem,14vw,11.5rem); }
.article-hero-inner { max-width:64rem; }
.article-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; color:rgba(255,255,255,.62); font-size:var(--text-sm); margin-bottom:clamp(1.5rem,4vw,2.5rem); }
.article-breadcrumb a { color:rgba(255,255,255,.62); text-decoration:none; }
.article-breadcrumb a:hover { color:#fff; }
.article-kicker { color:var(--blue-cyan); font-size:var(--text-sm); font-weight:800; letter-spacing:.18em; line-height:1; text-transform:uppercase; margin:0 0 1rem; }
.article-hero-title { color:#fff; font-size:clamp(2.35rem,6vw,4.9rem); font-weight:900; line-height:.98; letter-spacing:-.035em; max-width:60rem; margin:0; text-wrap:balance; }
.article-meta { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem; color:rgba(255,255,255,.68); font-size:clamp(1rem,1.6vw,1.2rem); margin:1.25rem 0 0; }
.article-hero-media { position:relative; z-index:2; background:linear-gradient(180deg,transparent 0 clamp(4rem,8vw,7.5rem),#fff clamp(4rem,8vw,7.5rem)); margin-top:clamp(-8rem,-11vw,-4.5rem); padding-bottom:clamp(2rem,5vw,3.5rem); }
.article-hero-frame { width:min(44rem,86vw); margin:0 auto; padding:.35rem; border-radius:1.35rem; background:#fff; border:1px solid rgba(214,227,255,.82); box-shadow:0 30px 90px rgba(24,51,131,.2); overflow:hidden; }
.article-hero-img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:1rem; margin:0; }
.article-content { padding-top:clamp(.5rem,2vw,1.25rem); }
.article-hero + .article-hero-media + .container .article-content { padding-top:clamp(1rem,3vw,2rem); }
.article-hero + .container .article-content { padding-top:clamp(2.5rem,5vw,4rem); }
@media(max-width:720px) {
  .article-hero { padding-bottom:clamp(5.5rem,18vw,7rem); }
  .article-hero-title { font-size:clamp(2rem,12vw,3.25rem); }
  .article-breadcrumb { font-size:var(--text-xs); }
  .article-hero-frame { width:min(100%,88vw); border-radius:1rem; }
  .article-hero-img { border-radius:.75rem; }
}

/* --- Prose (HTML content) --- */
.prose { line-height:1.75; color:var(--fg-1); }
.prose h1,.prose h2,.prose h3,.prose h4 { color:var(--blue-deep); font-weight:700; line-height:1.3; margin:1.5em 0 .5em; }
.prose h1 { font-size:var(--text-2xl); }
.prose h2 { font-size:var(--text-xl); }
.prose h3 { font-size:var(--text-lg); }
.prose p { margin-bottom:1em; }
.prose a { color:var(--blue); text-decoration:underline; }
.prose ul,.prose ol { padding-left:1.5em; margin-bottom:1em; }
.prose ul { list-style:disc; }
.prose ol { list-style:decimal; }
.prose li { margin-bottom:.375em; }
.prose blockquote { border-left:4px solid var(--blue-cyan); padding:.5em 1em; background:var(--bg-alt); border-radius:0 var(--radius-sm) var(--radius-sm) 0; margin:1em 0; }
.prose img { border-radius:var(--radius-md); margin:1em 0; }
.prose .content-illustration { margin:2rem 0; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--bg-alt); overflow:hidden; box-shadow:var(--shadow-sm); }
.prose .content-illustration img { width:100%; margin:0; border-radius:0; object-fit:cover; }
.prose table { width:100%; border-collapse:collapse; margin:1em 0; }
.prose th,.prose td { padding:.5em 1em; border:1px solid var(--border); text-align:left; }
.prose th { background:var(--bg-alt); font-weight:600; }
@media (max-width:640px) { .prose table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; } }
.single-post > .container > .single-content.prose { padding-top:var(--space-6); }
.prose .page-lead { font-size:clamp(1.1rem,1.65vw,1.35rem); line-height:1.62; color:var(--fg-1); font-weight:600; max-width:100%; margin:0 0 2.5rem; text-align:left; background:linear-gradient(135deg, var(--bg-alt) 0%, #EDF3FF 100%); border:2px solid var(--blue); border-radius:var(--radius-lg); padding:1.45rem 1.7rem; box-shadow:var(--shadow-sm); }
.prose .page-section { margin:2.5rem 0; }
.prose .feature-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1.125rem; padding-left:0; list-style:none; }
.prose .feature-card { display:flex; flex-direction:column; gap:.75rem; border:1px solid var(--border); border-radius:.875rem; padding:1.5rem; background:#fff; box-shadow:var(--shadow-sm); margin:0; transition:transform var(--dur-base) var(--ease-tide), box-shadow var(--dur-base) var(--ease-tide), border-color var(--dur-base) var(--ease-tide); }
.prose .feature-card:hover { transform:translateY(-3px); border-color:rgba(0,0,255,.3); box-shadow:var(--shadow-md); }
.prose .feature-icon { width:44px; height:44px; border-radius:.75rem; background:var(--bg-alt); color:var(--blue); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-bottom:.125rem; }
.prose .feature-icon svg { width:22px; height:22px; }
.prose .feature-card h3 { display:block; color:var(--fg-1); font-size:1.2rem; font-weight:900; line-height:1.1; letter-spacing:-.02em; text-transform:uppercase; margin:0; }
.prose .feature-copy { display:block; color:var(--fg-2); font-size:.95rem; line-height:1.65; }
/* Cartes services cliquables (lien-calque sur toute la carte) */
.prose .feature-card { position:relative; }
.prose .feature-card .feature-cover { position:absolute; inset:0; z-index:1; border-radius:inherit; text-decoration:none; }
.prose .feature-card:hover h3 { color:var(--blue); }
.prose .highlight-panel { background:var(--bg-alt); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.5rem; margin:1.5rem 0; }
.prose .demo-access { display:grid; gap:.75rem; background:linear-gradient(145deg,var(--blue) 0%,var(--blue-deep) 100%); color:#fff; border-radius:var(--radius-lg); padding:1.5rem; margin:1.5rem 0; }
.prose .demo-access h2,.prose .demo-access h3,.prose .demo-access p { color:#fff; margin:0; }
.prose .demo-access dl { display:grid; grid-template-columns:max-content 1fr; gap:.5rem 1rem; margin:0; }
.prose .demo-access dt { color:rgba(255,255,255,.72); font-weight:700; }
.prose .demo-access dd { margin:0; font-weight:700; overflow-wrap:anywhere; }
.prose .demo-access a { color:#fff; text-decoration:none; }
.prose .demo-access a:hover { color:#fff; text-decoration:underline; }
.prose .demo-access code { background:rgba(255,255,255,.16); color:#fff; border-radius:.35rem; padding:.12rem .4rem; }
.prose .page-cta { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-top:2rem; }
.prose a.btn { text-decoration:none; }
.prose a.btn-primary { color:#fff; }
.prose a.btn-primary:hover { color:#fff; text-decoration:none; }
.prose a.btn-ghost { color:var(--blue); }
.prose a.btn-ghost:hover { color:#fff; text-decoration:none; }

/* --- Breadcrumb --- */
.breadcrumb { display:flex; align-items:center; gap:.5rem; font-size:var(--text-sm); color:var(--fg-3); margin-bottom:var(--space-4); flex-wrap:wrap; }
.breadcrumb a { color:var(--fg-2); }
.breadcrumb a:hover { color:var(--blue); }

/* --- Rating --- */
.rating { display:inline-flex; gap:2px; }
.rating--inline { margin-left:.5rem; }
.star { color:var(--border); font-size:1rem; }
.star--filled { color:#F59E0B; }

/* --- Testimonial --- */
.testimonial { border-left:3px solid var(--blue-cyan); padding:.75em 1em; margin:0; }
.testimonial p { font-style:italic; margin-bottom:.25em; }
.testimonial cite { font-size:var(--text-sm); color:var(--fg-3); font-style:normal; }

/* --- Pagination --- */
.pagination { display:flex; align-items:center; justify-content:center; gap:var(--space-4); margin-top:var(--space-7); padding-top:var(--space-5); border-top:1px solid var(--border); }
.page-link { font-weight:600; color:var(--blue); }
.page-info { font-size:var(--text-sm); color:var(--fg-2); }

/* --- Empty state --- */
.empty-msg { text-align:center; color:var(--fg-3); padding:var(--space-8) 0; font-size:var(--text-lg); }

/* ============================================================
   HOME v2 - sections statiques
   ============================================================ */

/* Eyebrow label */
.eyebrow { display:block; font-size:16px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--blue); margin-bottom:.5rem; }
.eyebrow--light { color:#fff; }

/* Display headings (uppercase, tight) */
.h2-display { font-size:clamp(2rem,4.5vw,3.5rem); font-weight:900; line-height:.95; letter-spacing:-.02em; color:var(--fg-1); margin:0 0 1rem; text-transform:uppercase; }
.h2-display--white { color:#fff; }

/* Section intro paragraph */
.section-intro { font-size:1.0625rem; color:var(--fg-2); max-width:600px; line-height:1.6; margin:0 auto; }
.section-eyebrow { display:block; font-size:16px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--blue); margin-bottom:.5rem; }

/* --- Hero v2 --- */
.hero-v2 { position:relative; z-index:1; margin-top:calc(-1 * var(--nav-h,85px)); padding-top:var(--nav-h,85px); background:linear-gradient(180deg,#fff 0%,var(--bg-alt) 66%,transparent 100%); overflow:hidden; }
/* Plancher du Hero : bouche le bas transparent du degrade pour MASQUER le fond voyage (le voilier)
   tant qu'on n'approche pas de la section 2. S'efface au scroll (--hero-floor pilotee en JS) -> le
   voilier n'apparait qu'apres la plage, a l'entree de la transition. Premier enfant = sous la video plage. */
.hero-v2::before { content:""; position:absolute; left:0; right:0; bottom:0; height:52%; background:linear-gradient(180deg,transparent 0%,var(--bg-alt) 30%,var(--bg-alt) 74%,transparent 100%); opacity:var(--hero-floor,1); z-index:0; pointer-events:none; }
/* Fondu blanc au scroll : voile (plus fort vers le bas) dont l'opacite s'intensifie en approchant la section 2 (var --hero-white pilotee en JS). Au-dessus du BG, sous le contenu. */
.hero-v2::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 25%,#fff 100%); opacity:var(--hero-white,0); z-index:0; pointer-events:none; }
/* Vidéo de fond plage : opacité pilotée par le scroll (JS), 0 en haut -> pleine aux 3/4. Contenue dans le Hero, sans impact sur le voyage. */
.hero-bg-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; opacity:var(--hero-bg-opacity,0); pointer-events:none; -webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%); mask-image:linear-gradient(180deg,#000 70%,transparent 100%); }
.hero-bg-scrim { position:absolute; inset:0; z-index:0; opacity:var(--hero-scrim-opacity,0); pointer-events:none; background:linear-gradient(90deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.72) 52%, rgba(240,246,255,.64) 100%); -webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%); mask-image:linear-gradient(180deg,#000 70%,transparent 100%); }
.hero-v2-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:3rem; align-items:center; padding-block:clamp(4rem,9vw,6rem); }
.hero-v2-left { display:flex; flex-direction:column; gap:1.375rem; }
.hero-v2-intro { display:flex; flex-direction:column; gap:inherit; margin:0; }
.hero-v2-title { display:block; font-size:clamp(3rem,7vw,6rem); font-weight:900; line-height:.93; letter-spacing:-.02em; text-transform:uppercase; color:var(--fg-1); margin:0; }
.hero-v2-accent { color:var(--blue); }
.hero-v2-lead { font-size:1.125rem; line-height:1.55; color:var(--fg-2); max-width:540px; margin:0; }
.hero-v2-ctas { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:.375rem; }
.btn-hero { padding:.875rem 1.75rem; font-size:.9375rem; font-weight:700; border-radius:var(--radius-pill); display:inline-flex; align-items:center; gap:.5rem; background:var(--blue); color:#fff; border:none; cursor:pointer; box-shadow:0 12px 32px rgba(0,0,255,.18); transition:all var(--dur-base) var(--ease-tide); text-decoration:none; }
.btn-hero:hover { background:var(--blue-deep); text-decoration:none; }
.btn-hero-ghost { padding:.875rem 1.75rem; font-size:.9375rem; font-weight:700; border-radius:var(--radius-pill); background:#fff; color:var(--blue); border:1.5px solid var(--blue); cursor:pointer; text-decoration:none; transition:all var(--dur-base) var(--ease-tide); display:inline-flex; align-items:center; }
.btn-hero-ghost:hover { background:var(--blue); color:#fff; text-decoration:none; }
/* Bande de stats centree pleine largeur sous le Hero ; max-width pour garder le triangle inverse (2 + 1) */
.hero-trust { position:relative; z-index:1; box-sizing:border-box; display:flex; flex-wrap:wrap; justify-content:center; gap:.75rem; max-width:40rem; margin:1.25rem auto 0; padding-inline:var(--gutter); font-size:1.0625rem; color:var(--fg-2); }
/* Chaque stat dans sa propre bulle blanche (lisible aussi quand le beach apparait au scroll) */
.hero-trust span { display:inline-flex; align-items:center; gap:.4rem; background:#fff; border-radius:999px; padding:.6rem 1.15rem; box-shadow:0 8px 26px rgba(24,51,131,.12); }
.hero-trust b { color:var(--blue); }
.hero-v2-visual { display:flex; flex-direction:column; align-items:center; gap:.875rem; }
.hero-v2-right { width:100%; border-radius:1.5rem; overflow:hidden; background:#fff; border:1px solid var(--border); box-shadow:0 18px 48px rgba(24,51,131,.14); aspect-ratio:1366/768; display:flex; align-items:center; justify-content:center; padding:5%; transition:transform var(--dur-base) var(--ease-tide), box-shadow var(--dur-base) var(--ease-tide), border-color var(--dur-base) var(--ease-tide); }
.hero-v2-right:hover, .hero-v2-right:focus-within { transform:translateY(-4px); border-color:rgba(0,0,255,.3); box-shadow:0 24px 56px rgba(24,51,131,.18); }
.hero-v2-media { width:100%; height:100%; object-fit:contain; object-position:center; display:block; transition:transform 420ms var(--ease-tide), filter 420ms var(--ease-tide); }
.hero-v2-right:hover .hero-v2-media, .hero-v2-right:focus-within .hero-v2-media { transform:scale(1.025); filter:saturate(1.06); }
.hero-values { display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem; width:100%; }
.hero-values span { color:var(--blue); background:var(--bg-alt); border:1px solid var(--border); border-radius:var(--radius-pill); padding:.375rem .75rem; font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; line-height:1; }
@media(max-width:900px) { .hero-v2-inner { grid-template-columns:1fr; } .hero-v2-right { aspect-ratio:16/9; } .hero-values { padding-inline:.25rem; } }

/* --- Services --- */
.services-voyage { --voyage-tint-opacity:0; position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; opacity:0; contain:layout paint; }
.services-voyage.is-active { opacity:1; }
/* Vidéo voyage : fond scrubé au scroll (desktop) ou poster fixe (mobile/reduced-motion). Voile + teinte pour la lisibilité. */
.voyage-video { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:50% 50%; }
.voyage-video-shade { position:absolute; inset:0; background:linear-gradient(180deg, rgba(7,18,69,.30) 0%, rgba(5,14,58,.42) 58%, rgba(3,11,48,.52) 100%); }
.services-voyage__tint { position:absolute; inset:0; opacity:var(--voyage-tint-opacity); background:radial-gradient(circle at 50% 48%,rgba(40,201,249,.10),transparent 34%), linear-gradient(180deg,rgba(3,13,54,.28) 0%,rgba(2,8,38,.46) 55%,rgba(2,7,34,.78) 100%); }
/* Les 3 sections-voyage passent au-dessus du fond fixe (z-index:1) ; transparentes, elles le laissent voir. */
.services-voyage + .section-services,
.services-voyage ~ .sc-realisations,
.services-voyage ~ .section-method { position:relative; z-index:1; }
/* Les sections APRES la Methode repassent aussi au-dessus, mais OPAQUES -> elles RECOUVRENT le fond voyage
   (fixe, encore actif pendant la sortie de la Methode). Le BG voyage se limite ainsi STRICTEMENT aux 3 sections,
   desktop comme mobile (sinon il transparait sous la banniere / le haut des Temoignages, eux en flux statique). */
.services-voyage ~ .section-banner,
.services-voyage ~ .section-testimonials,
.services-voyage ~ .section-contact { position:relative; z-index:1; }
.section-services { background:#fff; padding:clamp(4rem,8vw,6rem) 0; }
.section-services--voyage { position:relative; z-index:1; overflow:hidden; background:linear-gradient(180deg,rgba(7,18,69,.48),rgba(4,13,56,.74)), url("../backgrounds/bg-voilier-poster.webp") center/cover; color:#fff; }
.section-services--voyage > .container,
.voyage-scroll-ready .sc-realisations > .container,
.voyage-scroll-ready .section-method > .container { position:relative; z-index:1; }
.voyage-scroll-ready .section-services--voyage { overflow:visible; background:transparent; }
/* Cote section 2 du voile blanc : meme var --hero-white que le ::after du Hero -> continuite parfaite a la frontiere (aucune ligne). Fond avant le titre (96px). */
.voyage-scroll-ready .section-services--voyage::before { content:""; position:absolute; top:0; left:0; right:0; height:340px; background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.5) 35%,rgba(255,255,255,.18) 65%,transparent 100%); opacity:var(--hero-white,0); z-index:0; pointer-events:none; }
.voyage-scroll-ready .sc-realisations { margin-top:-5rem; padding-top:calc(clamp(3rem,8vw,5rem) + 5rem); background:transparent; color:#fff; }
.voyage-scroll-ready .sc-realisations .section-eyebrow { color:#fff; text-shadow:0 8px 28px rgba(0,0,0,.25); }
.voyage-scroll-ready .sc-realisations .section-title { color:#fff; text-shadow:0 10px 38px rgba(0,0,0,.25); }
.voyage-scroll-ready .sc-realisations .card-item { background:rgba(255,255,255,.9); border-color:rgba(255,255,255,.58); box-shadow:0 24px 70px rgba(0,0,0,.18); color:var(--fg-1); }
.voyage-scroll-ready .sc-realisations .card-title,
.voyage-scroll-ready .sc-realisations .card-title a { color:var(--fg-1); }
.voyage-scroll-ready .sc-realisations .card-excerpt { color:var(--fg-2); }
.voyage-scroll-ready .sc-realisations .read-more { color:var(--blue); }
.voyage-scroll-ready .section-method { z-index:1; background:transparent; }
.voyage-scroll-ready .section-method .method-step { background:rgba(8,18,66,.42); border-color:rgba(255,255,255,.2); box-shadow:0 24px 70px rgba(0,0,0,.2); backdrop-filter:blur(16px) saturate(1.12); -webkit-backdrop-filter:blur(16px) saturate(1.12); }
.section-services--voyage .eyebrow,
.section-services--voyage .h2-display { color:#fff; text-shadow:0 10px 38px rgba(0,0,0,.22); }
.section-services--voyage .section-intro { color:rgba(255,255,255,.86); text-shadow:0 6px 26px rgba(0,0,0,.2); }
.services-header { text-align:center; margin-bottom:3.5rem; display:flex; flex-direction:column; gap:.75rem; align-items:center; }
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.125rem; }
.service-card { display:flex; flex-direction:column; gap:.75rem; background:#fff; border:1px solid var(--border); border-radius:.875rem; padding:1.5rem; box-shadow:var(--shadow-sm); transition:all var(--dur-base) var(--ease-tide); cursor:default; }
.service-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.section-services--voyage .service-card { background:rgba(255,255,255,.82); border-color:rgba(255,255,255,.58); box-shadow:0 24px 70px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.58); backdrop-filter:blur(18px) saturate(1.22); -webkit-backdrop-filter:blur(18px) saturate(1.22); }
.section-services--voyage .service-card:hover { transform:translateY(-5px); border-color:rgba(40,201,249,.58); box-shadow:0 30px 80px rgba(0,0,0,.22), 0 0 0 1px rgba(255,255,255,.28) inset; }
.service-icon { width:44px; height:44px; border-radius:.75rem; background:var(--bg-alt); color:var(--blue); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.section-services--voyage .service-icon { background:rgba(244,248,255,.88); box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 10px 24px rgba(0,0,255,.08); }
.service-icon svg { width:22px; height:22px; }
.service-title { font-size:1.625rem; font-weight:900; letter-spacing:-.02em; line-height:1; text-transform:uppercase; color:var(--fg-1); margin:.375rem 0 0; }
.service-body { font-size:.9rem; color:var(--fg-2); line-height:1.6; flex:1; }
.service-link { display:inline-flex; align-items:center; gap:.375rem; color:var(--blue); font-weight:600; font-size:.8125rem; }
@media(max-width:1024px) { .services-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px)  { .services-grid { grid-template-columns:1fr; } }

/* --- Méthode --- */
.section-method { background:linear-gradient(180deg,#183383,#0f1f6e); color:#fff; padding:clamp(4rem,8vw,6rem) 0; position:relative; overflow:hidden; }
.method-head { margin-bottom:3.5rem; display:flex; flex-direction:column; gap:.75rem; }
.method-steps { display:grid; grid-template-columns:repeat(4,minmax(0,17rem)); justify-content:center; align-items:stretch; gap:1.5rem; }
.method-step { width:100%; max-width:17rem; height:100%; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:.875rem; padding:1.5rem; backdrop-filter:blur(8px); }
.method-n { font-family:monospace; font-size:16px; color:var(--blue-cyan); letter-spacing:.1em; display:block; }
.method-title { font-size:1.75rem; font-weight:900; letter-spacing:-.02em; text-transform:uppercase; color:#fff; margin:.625rem 0 .5rem; }
.method-body { font-size:.9rem; color:rgba(255,255,255,.78); line-height:1.6; }
@media(max-width:1100px) { .method-steps { grid-template-columns:repeat(2,minmax(0,17rem)); } }
@media(max-width:640px) {
  .method-steps { grid-template-columns:minmax(0,min(100%,22rem)); }
  .method-step { max-width:22rem; }
}

/* --- Entry motion --- */
.js-reveal { opacity:0; transform:translateY(22px); transition:opacity 520ms var(--ease-tide), transform 520ms var(--ease-tide); }
.js-reveal.is-visible { opacity:1; transform:translateY(0); }
.services-grid .js-reveal:nth-child(2), .method-steps .js-reveal:nth-child(2), .testimonials-grid .js-reveal:nth-child(2) { transition-delay:80ms; }
.services-grid .js-reveal:nth-child(3), .method-steps .js-reveal:nth-child(3), .testimonials-grid .js-reveal:nth-child(3) { transition-delay:160ms; }
.services-grid .js-reveal:nth-child(4), .method-steps .js-reveal:nth-child(4) { transition-delay:240ms; }
.service-card.js-reveal.is-visible:hover { transform:translateY(-3px); }
.section-services--voyage .service-card.js-reveal.is-visible:hover { transform:translateY(-5px); }
/* Cartes (realisations / articles / blog) revelees au scroll : cascade + maintien du lift au survol */
.cards-grid .js-reveal:nth-child(2) { transition-delay:80ms; }
.cards-grid .js-reveal:nth-child(3) { transition-delay:160ms; }
.cards-grid .js-reveal:nth-child(4) { transition-delay:240ms; }
.card-item.js-reveal.is-visible:hover { transform:translateY(-4px); }
/* Carte service cliquable (devient un lien) */
a.service-card { cursor:pointer; text-decoration:none; color:inherit; }
a.service-card .service-link { transition:gap var(--dur-base) var(--ease-tide); }
a.service-card:hover .service-link { gap:.625rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .hero-v2-right,
  .hero-v2-media,
  .nav-toggle,
  .nav-toggle-icon path,
  .js-reveal {
    transition:none;
  }
  .hero-v2-right:hover,
  .hero-v2-right:focus-within,
  .hero-v2-right:hover .hero-v2-media,
  .hero-v2-right:focus-within .hero-v2-media,
  .js-reveal {
    transform:none;
  }
  .js-reveal { opacity:1; }
  .services-voyage { display:none; }
}

/* --- Banner CTA --- */
.section-banner { position:relative; overflow:hidden; }
.banner-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.banner-overlay { position:absolute; inset:0; background:linear-gradient(135deg,rgba(0,0,255,.65),rgba(11,31,92,.55)); }
.banner-content { position:relative; padding:clamp(5rem,12vw,7.5rem) var(--gutter); text-align:center; color:#fff; display:flex; flex-direction:column; align-items:center; gap:1rem; }
.banner-title { font-size:clamp(3rem,7vw,5.5rem); font-weight:900; line-height:.93; letter-spacing:-.02em; text-transform:uppercase; color:#fff; text-shadow:0 4px 32px rgba(0,0,255,.4); }
.banner-lead { font-size:1.125rem; color:rgba(255,255,255,.9); max-width:520px; line-height:1.5; }
.btn-banner { display:inline-flex; align-items:center; gap:.625rem; background:transparent; color:#fff; border:2px solid #fff; padding:.875rem 1.625rem; border-radius:var(--radius-pill); font-weight:700; font-size:.9375rem; cursor:pointer; margin-top:.5rem; text-decoration:none; transition:all var(--dur-base) var(--ease-tide); }
.btn-banner:hover { background:#fff; color:var(--blue); text-decoration:none; }

/* --- Témoignages --- */
.section-testimonials { background:var(--bg-alt); padding:clamp(4rem,8vw,6rem) 0; }
.section-testimonials .h2-display { margin-bottom:2.5rem; }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.125rem; }
.testimonial-card { min-height:15rem; background:linear-gradient(145deg,var(--blue) 0%,#1234d8 52%,var(--blue-deep) 100%); border-radius:.625rem; padding:1.5rem; border:1px solid rgba(255,255,255,.18); display:flex; flex-direction:column; align-items:flex-start; gap:.625rem; box-shadow:0 18px 42px rgba(0,0,255,.16); color:#fff; }
.testimonial-quote { color:rgba(40,201,249,.82); display:block; font-size:3.75rem; font-weight:900; line-height:.55; height:2rem; margin:0 0 .375rem; }
.testimonial-card blockquote { font-size:1.35rem; color:#fff; line-height:1.18; font-weight:900; letter-spacing:0; margin:0; text-transform:none; }
.testimonial-card figcaption { display:flex; flex-direction:column; gap:.25rem; font-size:.84375rem; margin-top:auto; }
.testimonial-card figcaption::before { content:"Témoignage"; color:var(--blue-cyan); font-size:.72rem; font-weight:800; letter-spacing:.14em; line-height:1; text-transform:uppercase; order:-1; margin-bottom:.125rem; }
.testimonial-card figcaption strong { color:#fff; }
.testimonial-card figcaption span { color:rgba(255,255,255,.72); }
@media(max-width:900px) { .testimonials-grid { grid-template-columns:1fr; } }

/* --- Contact --- */
.section-contact { background:#fff; padding:clamp(4rem,8vw,6rem) 0; }
.contact-inner { display:grid; grid-template-columns:1fr 1.1fr; gap:4rem; align-items:start; }
.contact-col { display:flex; flex-direction:column; gap:.875rem; }
.contact-lead { font-size:1rem; color:var(--fg-2); line-height:1.6; max-width:480px; }
.contact-list { list-style:none; margin:.75rem 0 0; padding:0; display:flex; flex-direction:column; gap:.75rem; }
.contact-list li { display:flex; align-items:center; gap:.75rem; font-size:.9375rem; color:var(--fg-1); }
.contact-icon { width:2rem; height:2rem; border-radius:var(--radius-pill); display:inline-flex; align-items:center; justify-content:center; flex:0 0 2rem; color:var(--blue); background:var(--bg-alt); border:1px solid var(--border); }
.contact-icon svg { width:1rem; height:1rem; }
.contact-form { background:var(--bg-alt); border-radius:1rem; padding:1.75rem; display:flex; flex-direction:column; gap:1rem; border:1px solid var(--border); }
.contact-honeypot { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:.875rem; }
.form-field { display:flex; flex-direction:column; gap:.375rem; }
.form-field label { font-size:.75rem; font-weight:700; color:var(--fg-1); text-transform:uppercase; letter-spacing:.08em; }
.form-field input, .form-field textarea { font-family:inherit; font-size:.9375rem; padding:.75rem .875rem; border-radius:.5rem; background:#fff; border:1px solid var(--border); color:var(--fg-1); outline:none; transition:border-color .2s, box-shadow .2s; }
.form-field input:focus, .form-field textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,0,255,.08); }
.form-field textarea { resize:vertical; }
.form-check { display:flex; align-items:center; gap:.5rem; font-size:.875rem; color:var(--fg-2); cursor:pointer; }
.form-check a { color:var(--blue); }
.btn-submit { display:inline-flex; align-items:center; justify-content:center; gap:.625rem; background:var(--blue); color:#fff; border:none; padding:.875rem 1.375rem; border-radius:var(--radius-pill); font-weight:700; font-size:.9375rem; cursor:pointer; margin-top:.25rem; box-shadow:0 12px 32px rgba(0,0,255,.18); width:100%; transition:background var(--dur-base); }
.btn-submit:hover { background:var(--blue-deep); }
@media(max-width:900px) { .contact-inner { grid-template-columns:1fr; gap:2.5rem; } .form-row { grid-template-columns:1fr; } }

/* ============================================================
   Footer v2
   ============================================================ */
.site-footer-v2 { background:var(--fg-1); color:rgba(255,255,255,.78); padding-top:4rem; }
.footer-v2-inner { display:grid; grid-template-columns:1.2fr 2fr; gap:3.5rem; padding-bottom:3rem; }
.footer-v2-brand { display:flex; gap:1rem; align-items:flex-start; }
.footer-v2-home { display:inline-flex; line-height:0; border-radius:10px; transition:opacity var(--dur-base) var(--ease-tide); }
.footer-v2-home img { width:84px; height:84px; border-radius:inherit; object-fit:contain; }
.footer-v2-home:hover { opacity:.82; }
.footer-v2-name a { color:inherit; text-decoration:none; transition:color var(--dur-base) var(--ease-tide); }
.footer-v2-name a:hover { color:var(--blue-cyan); }
.footer-mark { width:56px; height:56px; border-radius:10px; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:900; letter-spacing:.05em; flex-shrink:0; }
.footer-v2-name { font-size:1.375rem; font-weight:900; color:#fff; text-transform:uppercase; letter-spacing:-.01em; }
.footer-v2-tag { font-size:.875rem; color:rgba(255,255,255,.6); line-height:1.6; margin:.375rem 0 0; }
/* Reseaux sociaux sous le logo du pied de page */
.footer-social { display:flex; gap:.5rem; list-style:none; margin:.875rem 0 0; padding:0; }
.footer-social a { display:inline-flex; align-items:center; justify-content:center; width:2.25rem; height:2.25rem; border-radius:50%; border:1px solid rgba(255,255,255,.35); color:#fff; transition:background var(--dur-base) var(--ease-tide), color var(--dur-base) var(--ease-tide); }
.footer-social a:hover, .footer-social a:focus-visible { background:#fff; color:var(--blue); }
.footer-v2-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.footer-v2-col { display:flex; flex-direction:column; gap:.625rem; }
.footer-col-title { font-size:.875rem; font-weight:700; color:var(--blue-cyan); text-transform:uppercase; letter-spacing:.1em; margin-bottom:.25rem; }
.footer-v2-col ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.5rem; }
.footer-v2-col a { color:rgba(255,255,255,.78); text-decoration:none; font-size:.875rem; }
.footer-v2-col a:hover { color:#fff; }
.footer-v2-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; padding-block:.75rem 1.25rem; border-top:1px solid rgba(255,255,255,.1); font-size:.78125rem; color:rgba(255,255,255,.45); }
@media(max-width:900px) { .footer-v2-inner { grid-template-columns:1fr; gap:2rem; } .footer-v2-cols { grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px) { .footer-v2-cols { grid-template-columns:1fr; } .footer-v2-bottom { flex-direction:column; } }

/* Contact alerts */
.contact-alert { padding:.9rem 1.2rem; border-radius:.5rem; margin-bottom:1.25rem; font-size:.9375rem; line-height:1.5; }
.contact-alert--success { background:rgba(40,201,100,.12); border:1px solid rgba(40,201,100,.35); color:#0d6e35; }
.contact-alert--error   { background:rgba(220,53,53,.1);  border:1px solid rgba(220,53,53,.3);  color:#8b1a1a; }
.contact-alert--error a { color:inherit; font-weight:600; }

.error-page { min-height:60vh; display:flex; align-items:center; text-align:center; }
.error-page h1 { font-size:6rem; margin:0; }
.error-page p { font-size:1.25rem; margin:1rem 0 2rem; }
