/* =================================================================
   LA PINASSE : Feuille de style
   Mobile first. Tout est pilote par les variables ci-dessous :
   change une couleur ici et elle se met a jour partout.
   ================================================================= */

:root {
  /* --- Palette du Bassin --- */
  --ecume:        #FBF8F1;  /* ecume, le plus clair (fonds de cartes) */
  --sable:        #F4EDE1;  /* sable, fond principal */
  --sable-fonce:  #E8DDC8;  /* sable plus profond, bordures douces */
  --eau:          #1C4B4A;  /* eau profonde du Bassin, vert/petrole */
  --eau-encre:    #16302E;  /* encre, texte principal */
  --eau-claire:   #2E7A72;  /* lagune, accents et kickers */
  --eau-pale:     #DCEAE5;  /* eau pale, fonds doux */
  --bois:         #B5733A;  /* bois verni de la coque */
  --soleil:       #E8A13C;  /* soleil, ambre lumineux */
  --corail:       #D86B43;  /* corail chaud, boutons d'action */
  --corail-fonce: #C2592F;  /* corail survol */

  /* --- Typographie --- */
  --font-titre: "Fraunces", Georgia, serif;
  --font-corps: "Space Grotesk", system-ui, -apple-system, sans-serif;

  /* --- Mesures --- */
  --max:    1140px;
  --gutter: 1.25rem;
  --radius: 18px;
  --radius-sm: 12px;

  /* --- Ombres --- */
  --shadow-soft: 0 14px 40px rgba(22, 48, 46, 0.10);
  --shadow-card: 0 18px 50px rgba(22, 48, 46, 0.14);

  /* --- Transitions --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =================================================================
   BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-corps);
  color: var(--eau-encre);
  background: var(--sable);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-titre);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Liberte d'acces : focus visible */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--eau-claire);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =================================================================
   BOUTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--corail);
  color: #fff;
  box-shadow: 0 10px 24px rgba(216, 107, 67, 0.35);
}
.btn-primary:hover { background: var(--corail-fonce); }

.btn-ghost {
  background: transparent;
  color: var(--eau);
  border-color: rgba(28, 75, 74, 0.25);
}
.btn-ghost:hover { border-color: var(--eau); background: rgba(28, 75, 74, 0.05); }

.btn-outline {
  background: transparent;
  color: var(--eau);
  border-color: var(--eau);
}
.btn-outline:hover { background: var(--eau); color: var(--ecume); }

.btn-full { width: 100%; }

/* =================================================================
   EN-TETE
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 237, 225, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 75, 74, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--eau);
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.3rem;
}
.brand-mark { width: 48px; height: 48px; margin: -6px -4px -6px -8px; }
.brand-name { letter-spacing: -0.02em; }

/* Navigation */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--eau-encre);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--corail); }
.nav-cta {
  background: var(--eau);
  color: var(--ecume) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--eau-encre); }

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}
.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--eau);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin-inline: auto;
}
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  padding-top: 2.5rem;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(232, 161, 60, 0.18), transparent 55%),
    linear-gradient(180deg, var(--sable) 0%, var(--ecume) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eau-claire);
  margin: 0 0 1rem;
}
.kicker-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--corail);
  flex: none;
  box-shadow: 0 0 0 4px rgba(216, 107, 67, 0.18);
}
.hero h1 {
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  font-weight: 800;
  color: var(--eau-encre);
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--corail);
  font-weight: 600;
}
.lead {
  font-size: clamp(1.05rem, 3.5vw, 1.22rem);
  color: var(--eau);
  max-width: 38ch;
  margin-bottom: 1.6rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}
.hero-actions .btn { flex: 1 1 auto; min-width: 180px; }
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.9rem;
  color: var(--eau);
  font-weight: 500;
}
.hero-trust li {
  position: relative;
  padding-left: 1.3rem;
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 0.7rem; height: 0.4rem;
  border-left: 2px solid var(--eau-claire);
  border-bottom: 2px solid var(--eau-claire);
  transform: rotate(-45deg);
}

/* Scene pinasse (autour du logo) */
.hero-scene {
  display: flex;
  justify-content: center;
}
.scene { width: 100%; max-width: 460px; height: auto; overflow: visible; }

/* Soleil */
.scene .sun-group { animation: sun-drift 9s ease-in-out infinite; }
.scene .sun { fill: var(--soleil); opacity: 0.95; }
.scene .sun-rays line { stroke: var(--soleil); stroke-width: 3; stroke-linecap: round; opacity: 0.7; }
.scene .sun-rays { animation: rays-spin 24s linear infinite; transform-origin: center; transform-box: fill-box; }

/* Oiseaux */
.scene .bird { fill: none; stroke: var(--eau); stroke-width: 2; stroke-linecap: round; opacity: 0.5; }
.scene .bird:nth-of-type(1) { animation: glide 9s ease-in-out infinite; }
.scene .bird:nth-of-type(2) { animation: glide 11s ease-in-out infinite reverse; }

/* Reflet du soleil */
.scene .reflet line { stroke: var(--soleil); stroke-width: 3; stroke-linecap: round; opacity: 0.45; }
.scene .reflet { animation: shimmer 4s ease-in-out infinite; }

/* Couches d'eau */
.scene .water-back { fill: var(--eau-pale); }
.scene .water-front { fill: var(--eau-claire); }
.scene .water-back { animation: sway 8s ease-in-out infinite; }
.scene .water-front { animation: sway 6s ease-in-out infinite reverse; }

/* Ecume (lignes de vagues) */
.scene .wave-line { fill: none; stroke: var(--ecume); stroke-width: 2.4; stroke-linecap: round; opacity: 0.55; }
.scene .foam .wave-line { animation: drift 7s ease-in-out infinite; }
.scene .foam .wave-line-2 { animation: drift 9s ease-in-out infinite reverse; opacity: 0.35; }

/* L'embleme (le bateau du logo) */
.scene .emblem-boat { fill: var(--eau-encre); }
.scene .emblem-wave { fill: var(--eau); }
.emblem-bob {
  animation: bob 5.5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

/* --- Animations de la scene --- */
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-1.4deg); }
}
@keyframes sway {
  0%, 100% { transform: translateX(-9px); }
  50%      { transform: translateX(9px); }
}
@keyframes drift {
  0%, 100% { transform: translateX(-14px); }
  50%      { transform: translateX(14px); }
}
@keyframes sun-pulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50%      { transform: scale(1.05); opacity: 1; }
}
@keyframes rays-spin {
  to { transform: rotate(360deg); }
}
@keyframes sun-drift {
  0%, 100% { transform: translateX(-16px); }
  50%      { transform: translateX(16px); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.25; transform: translateX(0); }
  50%      { opacity: 0.6; transform: translateX(4px); }
}
@keyframes glide {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(14px, -6px); }
}

/* --- Animation : le client (poisson) attire par le site (appat) --- */
.scene .fishing-line { stroke: #1a3a2a; stroke-width: 1.8; stroke-linecap: round; }
.scene .hook { fill: none; stroke: #8c969b; stroke-width: 3; stroke-linecap: round; }

.scene .site-frame { fill: var(--ecume); stroke: #1a3a2a; stroke-width: 1.8; }
.scene .site-bar { stroke: #1a3a2a; stroke-width: 1.4; opacity: 0.55; }
.scene .site-dot { fill: var(--corail); }
.scene .site-hero { fill: var(--eau-claire); }
.scene .site-line { stroke: #1a3a2a; stroke-width: 1.6; stroke-linecap: round; opacity: 0.5; }

.scene .fish-body,
.scene .fish-tail,
.scene .fish-fin,
.scene .fish-gill { fill: none; stroke: #1a3a2a; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.scene .fish-eye { fill: #1a3a2a; }

.fishing-rig {
  transform-box: view-box;
  transform-origin: 240px 260px;
  animation: rig-sway 4.6s ease-in-out infinite;
}
.bait-site {
  transform-box: fill-box;
  transform-origin: center;
  animation: site-pop 4.6s ease-in-out infinite;
}
.fish-swim { animation: swim 4.6s ease-in-out infinite; }

@keyframes rig-sway {
  0%, 100% { transform: rotate(2.5deg); }
  50%      { transform: rotate(-2.5deg); }
}
@keyframes site-pop {
  0%, 50%   { transform: scale(1); }
  55%       { transform: scale(1.2); }
  60%       { transform: scale(0.95); }
  65%       { transform: scale(1.08); }
  70%, 100% { transform: scale(1); }
}
@keyframes swim {
  0%   { transform: translate(210px, -20px); opacity: 0; }
  8%   { opacity: 1; }
  14%  { transform: translate(150px, 9px); }
  24%  { transform: translate(106px, -7px); }
  36%  { transform: translate(56px, 9px); }
  47%  { transform: translate(8px, -2px); }
  52%  { transform: translate(-1px, 0); opacity: 1; }
  55%  { transform: translate(-4px, -1px); }
  57%  { transform: translate(1px, 1px); }
  59%  { transform: translate(-3px, -1px); }
  61%  { transform: translate(0, 0); }
  70%  { transform: translate(-1px, -7px); opacity: 1; }
  84%  { transform: translate(40px, -32px); opacity: 0; }
  100% { transform: translate(210px, -20px); opacity: 0; }
}

/* Vagues de separation */
.wave-divider {
  position: relative;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg { width: 100%; height: 56px; display: block; }
.wave-divider path { fill: var(--ecume); }
.wave-flip svg { transform: rotate(180deg); }
/* Separateur vert -> sable : le sable remonte sous les escales par une vague */
.wave-sable path { fill: var(--sable); }

/* =================================================================
   TITRES DE SECTION (communs)
   ================================================================= */
.section-kicker {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--eau-claire);
  margin: 0 0 0.7rem;
}
.section-kicker-light { color: var(--soleil); }
.section-title {
  font-size: clamp(1.7rem, 6.5vw, 2.7rem);
  font-weight: 800;
  color: var(--eau-encre);
  max-width: 22ch;
  margin-bottom: 1rem;
}
.section-intro {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--eau);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

/* Espacement vertical des sections */
.constat, .services, .process, .tarifs, .apropos, .realisations, .faq, .contact {
  padding-block: clamp(3.5rem, 9vw, 6rem);
}

/* =================================================================
   LE CONSTAT
   ================================================================= */
.constat { background: var(--ecume); padding-top: clamp(2rem, 5vw, 3rem); }
.constat-grid { display: grid; gap: 2rem; }
.constat-text p { font-size: 1.06rem; color: var(--eau); }
.constat-punch {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--eau-encre);
  border-left: 4px solid var(--corail);
  padding-left: 1.1rem;
  margin-top: 1.5rem;
}
.compare { display: grid; gap: 1rem; }
.compare-card {
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.compare-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.compare-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.compare-card li { position: relative; padding-left: 1.7rem; font-size: 0.98rem; }
.compare-card li::before {
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
}
.compare-bad {
  background: var(--sable);
  border: 1px solid var(--sable-fonce);
  color: var(--eau);
}
.compare-bad li::before { content: "\2715"; color: var(--bois); }
.compare-good {
  background: var(--eau);
  color: var(--ecume);
}
.compare-good .compare-label { color: var(--soleil); }
.compare-good li::before { content: "\2713"; color: var(--soleil); }

/* =================================================================
   SERVICES
   ================================================================= */
.cards { display: grid; gap: 1.2rem; }
.card {
  background: var(--ecume);
  border: 1px solid var(--sable-fonce);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--eau-pale);
  color: var(--eau);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 1.4rem;
  color: var(--eau-encre);
  margin-bottom: 0.5rem;
}
.card p { color: var(--eau); margin: 0; font-size: 0.99rem; }

/* =================================================================
   PROCESS
   ================================================================= */
.process { background: var(--eau); color: var(--ecume); position: relative; padding-top: 0; padding-bottom: 0; }
.process > .wrap { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.process .section-kicker { color: var(--soleil); }
.process .section-title { color: var(--ecume); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
}
.step-num {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 2rem;
  color: var(--soleil);
  display: block;
  margin-bottom: 0.4rem;
}
.step h3 { font-size: 1.25rem; color: var(--ecume); margin-bottom: 0.4rem; }
.step p { color: rgba(251, 248, 241, 0.8); margin: 0; font-size: 0.98rem; }

/* Apparition en cascade des escales quand la section entre dans l'écran */
.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(2) { transition-delay: 0.3s; }
.steps .step:nth-child(3) { transition-delay: 0.6s; }
.steps .step:nth-child(4) { transition-delay: 0.9s; }

/* =================================================================
   TARIFS
   ================================================================= */
.tarifs { background: var(--sable); }

.creation-banner {
  background: linear-gradient(120deg, var(--eau) 0%, var(--eau-claire) 100%);
  color: var(--ecume);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}
.creation-label {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
}
.creation-desc { margin: 0; color: rgba(251, 248, 241, 0.85); font-size: 0.98rem; }
.creation-price {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 2rem;
  margin: 0;
  white-space: nowrap;
}
.creation-price span { font-size: 2.8rem; }
.creation-price small {
  display: block;
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--soleil);
  letter-spacing: 0.02em;
}

.abo-intro {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--eau-encre);
  margin-bottom: 1.4rem;
  text-align: center;
}

.plans { display: grid; gap: 1.2rem; }
.plan {
  position: relative;
  background: var(--ecume);
  border: 1px solid var(--sable-fonce);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.plan-popular {
  background: var(--eau-encre);
  color: var(--ecume);
  border-color: var(--eau-encre);
  box-shadow: var(--shadow-card);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--corail);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(216, 107, 67, 0.4);
}
.plan-name {
  font-size: 1.5rem;
  color: var(--eau-encre);
  margin-bottom: 0.3rem;
}
.plan-popular .plan-name { color: var(--ecume); }
.plan-tag {
  font-size: 0.95rem;
  color: var(--eau-claire);
  font-weight: 500;
  margin-bottom: 1.2rem;
  min-height: 2.6em;
}
.plan-popular .plan-tag { color: var(--soleil); }
.plan-price {
  font-family: var(--font-titre);
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: var(--eau-encre);
}
.plan-popular .plan-price { color: var(--ecume); }
.price-now { font-size: 3rem; }
.price-unit { font-family: var(--font-corps); font-size: 1rem; font-weight: 500; }
.plan-after {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--corail);
  margin: 0 0 1.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(216, 107, 67, 0.1);
  border-radius: 999px;
  display: inline-block;
}
.plan-popular .plan-after {
  color: var(--soleil);
  background: rgba(232, 161, 60, 0.15);
}
.plan-features {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.96rem;
  color: var(--eau);
}
.plan-popular .plan-features li { color: rgba(251, 248, 241, 0.88); }
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 0.7rem; height: 0.4rem;
  border-left: 2.5px solid var(--eau-claire);
  border-bottom: 2.5px solid var(--eau-claire);
  transform: rotate(-45deg);
}
.plan-popular .plan-features li::before {
  border-color: var(--soleil);
}
.plan-cta { margin-top: auto; }
.plan-popular .btn-primary { box-shadow: 0 10px 24px rgba(216, 107, 67, 0.45); }

.tarifs-note {
  text-align: center;
  max-width: 50ch;
  margin: 2.2rem auto 0;
  color: var(--eau);
  font-size: 0.98rem;
}

/* =================================================================
   A PROPOS
   ================================================================= */
.apropos { background: var(--ecume); }
.apropos-inner { display: grid; gap: 2.5rem; align-items: center; }
.apropos-media { display: flex; justify-content: center; }
.apropos-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--eau-pale);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.apropos-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apropos-illus .ap-bg { fill: var(--eau-pale); }
.apropos-illus .ap-water { fill: var(--eau-claire); opacity: 0.85; }
.apropos-illus .ap-sun { fill: var(--soleil); }
.apropos-illus .ap-hull { fill: var(--bois); }
.apropos-illus .ap-sail { fill: var(--ecume); stroke: var(--corail); stroke-width: 2; }
.apropos-illus .ap-boat line { stroke: var(--eau-encre); stroke-width: 3; stroke-linecap: round; }
.apropos-copy p { color: var(--eau); font-size: 1.05rem; }
.apropos-sign {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--eau-encre);
  margin-top: 1.4rem;
}
.apropos-sign a {
  color: var(--corail);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =================================================================
   MES REALISATIONS (slider au survol)
   ================================================================= */
.realisations { background: var(--sable); padding-top: clamp(4rem, 10vw, 6.5rem); }
.reals { display: grid; gap: 2rem; margin-top: 0.5rem; }

.reals-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  align-content: center;
}

.real-name {
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  padding: 0.3rem 0 0.3rem 0.9rem;
  cursor: pointer;
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(1rem, 2.3vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--eau-encre);
  text-align: left;
  text-decoration: none;
  display: block;
  width: 100%;
  white-space: nowrap;
  opacity: 0.45;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.real-name.is-active {
  opacity: 1;
  color: var(--corail);
  border-left-color: var(--corail);
}

.real-text { opacity: 1; }

.reals-media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--eau-pale);
}
.real-img {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  margin: 0;
  background: linear-gradient(135deg, var(--eau) 0%, var(--eau-claire) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}
.real-img.is-active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.real-img figcaption {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  color: var(--ecume);
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  letter-spacing: -0.01em;
}
.real-link {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.real-img img,
.real-img .real-media-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.real-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(27, 59, 54, 0.78);
  backdrop-filter: blur(4px);
  color: var(--ecume);
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (min-width: 760px) {
  .reals {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .reals-media { aspect-ratio: 16 / 10; }
}

/* =================================================================
   FAQ
   ================================================================= */
.faq { background: var(--ecume); }
.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 760px;
}
.faq-col {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.faq-item {
  background: var(--sable);
  border: 1px solid var(--sable-fonce);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item.open { border-color: var(--eau-claire); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--eau-encre);
  text-align: left;
  line-height: 1.3;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--corail);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { top: 50%; left: 2px; right: 2px; height: 2.5px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 2px; bottom: 2px; width: 2.5px; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a p {
  padding: 0 1.4rem 1.3rem;
  margin: 0;
  color: var(--eau);
  font-size: 0.99rem;
}

/* =================================================================
   CONTACT
   ================================================================= */
.contact {
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(46, 122, 114, 0.5), transparent 55%),
    var(--eau-encre);
  color: var(--ecume);
}
.contact-inner { display: grid; gap: 2.5rem; }
.contact .section-title { color: var(--ecume); }
.contact-copy p { color: rgba(251, 248, 241, 0.85); font-size: 1.06rem; }
.contact-direct {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.contact-direct li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.contact-direct-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soleil);
  font-weight: 600;
}
.contact-direct a, .contact-direct span:not(.contact-direct-label) {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ecume);
}
.contact-direct a:hover { color: var(--soleil); }

/* Carte de prise de rendez-vous */
.contact-book {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  text-align: center;
  align-self: start;
}
.book-title {
  font-size: 1.55rem;
  color: var(--ecume);
  margin-bottom: 0.6rem;
}
.book-desc {
  color: rgba(251, 248, 241, 0.8);
  font-size: 0.99rem;
  margin-bottom: 1.6rem;
}
.contact-book .btn { margin-bottom: 1rem; }
.book-or {
  font-size: 0.9rem;
  color: rgba(251, 248, 241, 0.7);
  margin: 0;
}
.book-or a {
  color: var(--soleil);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =================================================================
   PIED DE PAGE
   ================================================================= */
.site-footer {
  background: var(--sable-fonce);
  color: var(--eau-encre);
  padding-block: 1.6rem;
  border-top: 1px solid rgba(22, 48, 46, 0.08);
}
.footer-inner { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--eau);
}
.footer-brand .brand-mark { width: 40px; height: 40px; margin: 0 0 0 -6px; }
.footer-brand .brand-name {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.35rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
}
.footer-nav a {
  color: var(--eau-encre);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--corail); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  border-top: 1px solid rgba(22, 48, 46, 0.1);
  padding-top: 1rem;
}
.footer-bottom p { margin: 0; }
.footer-desc { font-size: 0.82rem; color: var(--eau); max-width: 62ch; }
.footer-legal { font-size: 0.8rem; color: rgba(22, 48, 46, 0.6); }
.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.7rem;
  margin-left: 0.5rem;
}
.footer-legal-links a { color: inherit; text-decoration: underline; }
.footer-legal-links a:hover { color: var(--eau-encre); }

/* =================================================================
   BANDEAU COOKIES
   ================================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--eau-encre);
  color: var(--ecume);
  box-shadow: 0 -10px 30px rgba(22, 48, 46, 0.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.2rem var(--gutter);
  display: grid;
  gap: 1rem;
  align-items: center;
}
.cookie-banner-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(251, 248, 241, 0.85);
}
.cookie-banner-text a { color: var(--soleil); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.cookie-banner .btn-outline { color: var(--ecume); border-color: rgba(251, 248, 241, 0.4); }
.cookie-banner .btn-outline:hover { background: rgba(251, 248, 241, 0.12); color: var(--ecume); }

@media (min-width: 700px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr auto;
  }
}

/* =================================================================
   ANIMATIONS AU DEFILEMENT
   ================================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* =================================================================
   RESPONSIVE : on monte progressivement (mobile first)
   ================================================================= */

/* Petites tablettes et grands telephones */
@media (min-width: 560px) {
  .hero-actions .btn { flex: 0 1 auto; }
  .constat-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr 1fr; }
  .creation-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .creation-price { text-align: right; }
}

/* Tablettes */
@media (min-width: 760px) {
  :root { --gutter: 2rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .faq-list { grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 980px; align-items: start; }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-nav { justify-content: flex-end; flex-wrap: nowrap; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* Ordinateurs portables et plus */
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
    padding-block: 2.5rem 1rem;
  }
  .hero-copy { order: 1; }
  .hero-scene { order: 2; }
  .scene { max-width: 430px; }

  .constat-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
  /* Les cartes démarrent vers la moitié du titre (ajuste cette valeur si besoin) */
  .compare { grid-template-columns: 1fr; margin-top: 3.5rem; }

  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan-popular { transform: scale(1.04); }
  .plan-popular:hover { transform: scale(1.04) translateY(-5px); }

  .apropos-inner { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }

  .contact-inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  .wave-divider svg { height: 80px; }
}

/* Grands ecrans */
@media (min-width: 1140px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* Menu mobile : bascule sous le point de rupture du bureau */
@media (max-width: 880px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ecume);
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--sable-fonce);
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--sable-fonce);
    font-size: 1.1rem;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    margin-top: 0.8rem;
    text-align: center;
    border-bottom: none !important;
  }
}

/* =================================================================
   PAGES LEGALES (mentions legales / politique de cookies)
   ================================================================= */
.legal-hero {
  background: var(--eau);
  color: var(--ecume);
  padding-block: clamp(3rem, 8vw, 4.5rem) clamp(2rem, 5vw, 3rem);
}
.legal-hero .section-kicker { color: var(--soleil); }
.legal-hero .section-title { color: var(--ecume); max-width: none; margin-bottom: 0; }

.legal-content {
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  max-width: 72ch;
}
.legal-content h2 {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  color: var(--eau-encre);
  margin: 2.4rem 0 0.8rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--eau); margin: 0 0 1rem; }
.legal-content ul { color: var(--eau); margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--eau-claire); }
.legal-content strong { color: var(--eau-encre); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--sable-fonce);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--sable);
  font-family: var(--font-corps);
  font-weight: 600;
  color: var(--eau-encre);
}
.legal-table td { color: var(--eau); }
