/* ══════════════════════════════════════════════════════
   Lune et Marée — généalogie
   Charte : bleu nuit, crème lunaire, or · Great Vibes + Cormorant Garamond
   ══════════════════════════════════════════════════════ */

:root {
  --night:      #1B2B2E;
  --midnight:   #284044;
  --teal:       #546E6A;
  --sea:        #96ACA3;
  --offwhite:   #F2F0E0;
  --cream:      #E4DEC4;
  --beige:      #BEB08C;
  --gold:       #D8BF87;
  --gold-deep:  #A88B4E;
  --ink:        #22363A;
  --ink-soft:   #4C5F5F;

  --script: 'Great Vibes', cursive;
  --serif:  'Cormorant Garamond', Garamond, Georgia, serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --line-gold: rgba(216,191,135,0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(18px, 1.15vw + 12px, 20px);
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }

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

/* ── Petits éléments ─────────────────────────────────── */
.eyebrow {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.dark .eyebrow { color: var(--gold); }

.script-title {
  font-family: var(--script);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--midnight);
  line-height: 1.15;
}
.dark .script-title { color: var(--offwhite); }

.lede {
  font-size: 1.15em;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 40em;
}
.dark .lede { color: var(--cream); opacity: .85; }

.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-deep); margin: 1.4rem auto 0; max-width: 340px;
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: .7;
}
.ornament span { font-size: .7rem; letter-spacing: .3em; }
.dark .ornament { color: var(--gold); }

.section-head { text-align: center; margin-bottom: clamp(1.3rem, 2.5vw, 1.9rem); }
.section-head .lede { margin: 1rem auto 0; }

/* ── Boutons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--serif);
  font-size: .95rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.1em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn-gold {
  background: var(--gold); color: var(--night);
  box-shadow: 0 8px 24px -10px rgba(216,191,135,.7);
}
.btn-gold:hover { background: #E4CF9E; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-gold); color: var(--offwhite); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink { background: var(--midnight); color: var(--offwhite); }
.btn-ink:hover { background: var(--night); transform: translateY(-2px); }

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(27,43,46,.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line-gold);
  padding: 10px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--offwhite);
}
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--script); font-size: 1.9rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--cream);
  font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links .btn { padding: .75em 1.4em; font-size: .78rem; color: var(--night); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-gold); border-radius: var(--radius);
  color: var(--offwhite); width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ── Hero : faire-part gravé, profondeur par couches ── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--offwhite);
  padding: 140px 0 120px;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(84,110,106,.38), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 120%, rgba(8,14,15,.9), transparent 60%),
    linear-gradient(180deg, #1F3337 0%, var(--night) 45%, #111C1E 100%);
}
/* grain papier */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* vignettage */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  box-shadow: inset 0 0 220px 40px rgba(5,10,11,.75);
}
/* double filet doré, comme un cadre gravé */
.hero-frame {
  position: absolute; inset: clamp(14px, 2.4vw, 32px); top: clamp(76px, 9vw, 96px);
  border: 1px solid rgba(216,191,135,.28);
  pointer-events: none;
}
.hero-frame::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(216,191,135,.12);
}
.hero .wrap { position: relative; }
.hero-content { max-width: 820px; margin: 0 auto; }
.hero .eyebrow { color: var(--gold); letter-spacing: .42em; margin-bottom: 2rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -.005em;
  color: var(--offwhite);
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.rule {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 2.2rem auto 2rem; max-width: 280px; color: var(--gold);
}
.rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(216,191,135,.7)); }
.rule span:last-child { background: linear-gradient(90deg, rgba(216,191,135,.7), transparent); }
.rule i { font-style: normal; font-size: .55rem; }
.hero p.intro {
  color: rgba(242,240,224,.78); max-width: 36em; margin: 0 auto 2.6rem;
  font-size: 1.12em; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; justify-content: center; }
.link-quiet {
  text-decoration: none; color: var(--cream);
  font-size: .9rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid rgba(216,191,135,.45);
  transition: color .2s, border-color .2s;
}
.link-quiet:hover { color: var(--gold); border-color: var(--gold); }
.scroll-cue {
  position: absolute; bottom: clamp(30px, 5vw, 52px); left: 50%; transform: translateX(-50%);
  width: 1px; height: 54px; overflow: hidden;
}
.scroll-cue span {
  display: block; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.nav-cta {
  border: 1px solid rgba(216,191,135,.55); border-radius: var(--radius);
  padding: .65em 1.3em;
}
.nav-cta:hover { border-color: var(--gold); }

/* ── Sections ────────────────────────────────────────── */
section { position: relative; padding: clamp(36px, 4.5vw, 60px) 0; isolation: isolate; }

/* Grain papier commun à toutes les sections */
section::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Fonds clairs : crème lunaire, lumière douce, pointe de vert d'eau */
.bg-cream {
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(150,172,163,.28), transparent 70%),
    radial-gradient(ellipse 55% 45% at 95% 100%, rgba(190,176,140,.35), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(242,240,224,.85), transparent 75%),
    var(--cream);
}
#faq {
  background:
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(150,172,163,.18), transparent 70%),
    linear-gradient(180deg, #F2F0E0 0%, #EEEAD6 100%);
}

/* Fonds sombres : bleu nuit en profondeur, halo bleu canard */
.dark {
  color: var(--offwhite);
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(84,110,106,.45), transparent 70%),
    radial-gradient(ellipse 45% 40% at 100% 100%, rgba(150,172,163,.12), transparent 70%),
    linear-gradient(180deg, #2A4448 0%, var(--midnight) 50%, #22383B 100%);
}
.dark.deep {
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(84,110,106,.35), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(8,14,15,.6), transparent 60%),
    linear-gradient(180deg, #213538 0%, var(--night) 60%, #172426 100%);
}
.dark::after { opacity: 1; mix-blend-mode: overlay; }

/* Transition en vague : la section précédente « déborde » doucement sur la suivante */
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(28px, 4vw, 54px);
  z-index: 0; pointer-events: none;
  background: var(--prev);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V22C1300 46 1140 54 960 38S620 6 440 22 140 56 0 34Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V22C1300 46 1140 54 960 38S620 6 440 22 140 56 0 34Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
#services  { --prev: #111C1E; }
#offres    { --prev: var(--cream); }
#aides     { --prev: #22383B; }
#methode   { --prev: var(--cream); }
#a-propos  { --prev: #172426; }
#faq       { --prev: var(--cream); }
#contact   { --prev: #EEEAD6; }

/* ── Ce que je fais ──────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.pillar {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(150,172,163,.22), transparent 70%),
    linear-gradient(180deg, #F6F4E8 0%, #EFEBD9 100%);
  border: 1px solid rgba(190,176,140,.55);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  text-align: center;
  box-shadow: 0 18px 36px -28px rgba(40,64,68,.45);
  transition: transform .3s, box-shadow .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(40,64,68,.45); }
.pillar-icon {
  width: 58px; height: 58px; margin: 0 auto 1.2rem;
  border-radius: 50%; border: 1px solid var(--gold-deep);
  display: grid; place-items: center; color: var(--gold-deep);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--midnight); margin-bottom: .6rem; }
.pillar p { color: var(--ink-soft); margin: 0; }

/* ── Arbre personnalisé ──────────────────────────────── */
.family {
  display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 52px);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(150,172,163,.12), transparent 65%),
    rgba(10,18,20,.35);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 48px);
  margin-bottom: clamp(18px, 2.5vw, 28px);
}
.family-controls label, .gen-label {
  color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: .6rem;
}
.family-controls input {
  background: transparent; color: var(--offwhite);
  border: none; border-bottom: 1px solid var(--line-gold); border-radius: 0;
  font-size: 1.6rem; font-style: italic; padding: .2em 0 .35em;
}
.family-controls input::placeholder { color: rgba(228,222,196,.35); }
.family-controls input:focus { box-shadow: none; border-color: var(--gold); }
.gen-label { margin-top: 2rem; }
.gen-picker { display: flex; gap: 8px; }
.gen-picker button {
  flex: 1; height: 52px;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  color: var(--cream); background: transparent;
  border: 1px solid var(--line-gold); border-radius: var(--radius);
  cursor: pointer; transition: all .2s;
}
.gen-picker button:hover { border-color: var(--gold); color: var(--gold); }
.gen-picker button[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.gen-hint { margin-top: .6rem; font-size: .9rem; font-style: italic; color: var(--cream); opacity: .7; }

.family-tree { min-width: 0; display: flex; flex-direction: column; }
.family-title {
  font-family: var(--script); font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1.1;
  color: var(--offwhite); text-align: center; margin-bottom: 1rem;
  min-height: 1.1em;
}
#treeSvg { width: 100%; display: block; overflow: visible; }
#treeSvg .tree-lines path {
  fill: none; stroke: rgba(216,191,135,.45); stroke-width: 1;
  opacity: 0; animation: fadeIn .6s ease forwards;
}
#treeSvg .node {
  fill: var(--night); stroke: var(--gold); stroke-width: 1.2;
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: popIn .5s cubic-bezier(.3,1.4,.6,1) forwards;
}
#treeSvg .node.you { fill: var(--gold); }
#treeSvg .row-label {
  fill: var(--cream); font-family: var(--serif); font-size: 15px; font-style: italic;
  opacity: 0; animation: fadeIn .6s ease forwards;
}
@keyframes popIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }
.family-summary {
  margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-gold);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
}
.family-summary p { margin: 0; color: var(--cream); }
.family-summary strong { color: var(--gold); font-weight: 600; font-size: 1.15em; }

/* ── Offres ──────────────────────────────────────────── */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.offer {
  position: relative;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(150,172,163,.16), transparent 70%),
    linear-gradient(180deg, rgba(84,110,106,.22) 0%, rgba(20,33,36,.35) 100%);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(216,191,135,.25), 0 24px 40px -30px rgba(0,0,0,.6);
  padding: 1.8rem 1.6rem 1.6rem;
  text-align: center;
  display: flex; flex-direction: column;
}
.offer .gen { font-family: var(--script); font-size: 3.4rem; color: var(--gold); line-height: 1; }
.offer h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin: .6rem 0 .3rem; }
.offer .reach { font-style: italic; color: var(--cream); opacity: .85; }
.offer .count { margin: .8rem 0; padding: .6rem 0; border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold); }
.offer .count strong { font-size: 1.6rem; color: var(--offwhite); font-weight: 600; }
.offer .price { margin-top: auto; font-size: .95rem; letter-spacing: .08em; color: var(--cream); }
.offer .price b { display: block; font-size: 2.3rem; font-weight: 600; color: var(--gold); letter-spacing: 0; }

.coffret {
  margin-top: clamp(16px, 2.2vw, 24px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 48px);
  background:
    radial-gradient(ellipse at 15% 50%, rgba(216,191,135,.16), transparent 60%),
    linear-gradient(135deg, #2E4A4F, var(--night));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.coffret img { width: clamp(80px, 10vw, 120px); }
.coffret .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--night); background: var(--gold); padding: .35em 1em; border-radius: 99px; margin-bottom: .8rem;
}
.coffret h3 { font-family: var(--script); font-size: clamp(2.6rem, 4.5vw, 3.6rem); color: var(--offwhite); line-height: 1.05; margin-bottom: .5rem; }
.coffret p { color: var(--cream); margin: 0; }
.coffret .price { text-align: center; color: var(--cream); white-space: nowrap; }
.coffret .price b { display: block; font-size: 2.6rem; color: var(--gold); font-weight: 600; }

.offer-notes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(16px, 2.2vw, 24px);
}
.note {
  border-left: 2px solid var(--gold);
  padding: .4rem 0 .4rem 1.2rem;
  color: var(--cream);
}
.note h4 { margin: 0 0 .3rem; font-size: 1.2rem; font-weight: 600; color: var(--offwhite); }
.note p { margin: 0; font-size: .95em; }
.note .from { color: var(--gold); font-weight: 600; }


/* ── Aides & petits services ─────────────────────────── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
/* Petits services : trois colonnes ouvertes, séparées par un filet doré, sans boîte */
.services { gap: 0; }
.service { padding: .4rem clamp(18px, 3vw, 40px); text-align: center; display: flex; flex-direction: column; }
.services .service .price { margin-top: .9rem; }
.service + .service { border-left: 1px solid rgba(168,139,78,.35); }
.service h3::after {
  content: ""; display: block; width: 36px; height: 1px; margin: .9rem auto 0;
  background: var(--gold-deep); opacity: .6;
}
@media (max-width: 980px) {
  .service { padding: 1.6rem 0; }
  .service + .service { border-left: none; border-top: 1px solid rgba(168,139,78,.35); }
}
.service h3 { font-size: 1.5rem; font-weight: 600; color: var(--midnight); margin-bottom: .5rem; }
.service p { color: var(--ink-soft); }
.service .price { font-weight: 700; color: var(--gold-deep); letter-spacing: .04em; margin: 0; }

.quote-band {
  margin-top: clamp(20px, 3vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: var(--offwhite);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 5vw, 56px);
}
.quote-band h3 { font-family: var(--script); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--midnight); margin-bottom: .3rem; }
.quote-band p { margin: 0; color: var(--ink-soft); max-width: 34em; }

/* ── Méthode ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 30px); counter-reset: step; }
.step { position: relative; padding-top: 4rem; }
.step .num {
  position: absolute; top: 0; left: 0;
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 600; letter-spacing: .04em;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 29px; left: 72px; right: -18px; height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
}
.step h3 { font-size: 1.5rem; font-weight: 600; color: var(--offwhite); margin-bottom: .5rem; }
.step p { color: var(--cream); opacity: .9; margin: 0; }
.delays {
  margin: clamp(18px, 3vw, 28px) auto 0; max-width: 46em; text-align: center;
  color: var(--cream); font-style: italic; opacity: .9;
}
.delays strong { color: var(--gold); font-style: normal; font-weight: 600; }

/* ── À propos ────────────────────────────────────────── */
/* Une seule colonne, comme une lettre */
.about { max-width: 760px; }
.about .section-head { margin-bottom: 2.4rem; }
.about-text { font-size: 1.06em; }
.about-text p { color: var(--ink); }
.about-text .signature { font-style: italic; font-size: 1.15em; color: var(--midnight); text-align: right; margin: 1rem 0 0; }
.name-origin {
  margin-top: 2rem; padding: 1.6rem 1.8rem;
  background: var(--offwhite); border-left: 2px solid var(--gold-deep); border-radius: 0 var(--radius) var(--radius) 0;
}
.name-origin h3 { font-size: 1.35rem; font-weight: 700; color: var(--midnight); margin-bottom: .5rem; }
.name-origin p:last-child { margin: 0; }

/* ── Questions fréquentes ────────────────────────────── */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--beige); }
.faq details:first-of-type { border-top: 1px solid var(--beige); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem 0;
  font-size: 1.22rem; font-weight: 600; color: var(--midnight);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--gold-deep); }
.faq details p { margin: 0 0 1.5rem; padding-right: 2.5rem; color: var(--ink-soft); }

/* ── Contact ─────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info p { color: var(--cream); }
.contact-lines { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-lines li { display: flex; align-items: center; gap: 14px; }
.contact-lines .ic {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--line-gold); display: grid; place-items: center; color: var(--gold);
}
.contact-lines .ic svg { width: 19px; height: 19px; }
.contact-lines a { text-decoration: none; color: var(--offwhite); }
.contact-lines a:hover { color: var(--gold); }

form.card {
  background: var(--offwhite); color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .4rem; }
input, select, textarea {
  width: 100%;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #FBFAF2;
  border: 1px solid var(--beige); border-radius: var(--radius);
  padding: .75em .9em;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--midnight); box-shadow: 0 0 0 3px rgba(40,64,68,.15); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 1.4rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.consent input { width: 18px; height: 18px; margin-top: .25em; flex-shrink: 0; accent-color: var(--midnight); }
form .btn { width: 100%; }
.hidden { display: none; }

/* ── Pied de page ────────────────────────────────────── */
footer {
  background: #142124; color: var(--cream);
  padding: 56px 0 36px; text-align: center;
}
footer .brand { justify-content: center; margin-bottom: 1rem; }
footer .brand span { font-size: 2.3rem; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin: 1.4rem 0; }
footer nav a { text-decoration: none; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); opacity: .8; }
footer nav a:hover { color: var(--gold); opacity: 1; }
footer small { display: block; opacity: .55; font-size: .85rem; }

/* ── Offre du moment ─────────────────────────────────── */
.promo {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 60;
  width: min(290px, calc(100vw - 32px));
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216,191,135,.16), transparent 65%),
    linear-gradient(170deg, #253C40, var(--night));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.3rem;
  text-align: center;
  font-size: .92em;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.65);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.promo::before, .promo::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(216,191,135,.5); }
.promo::before { inset: 8px; }
.promo::after { inset: 12px; border-color: rgba(216,191,135,.18); }
.promo.open { opacity: 1; transform: none; pointer-events: auto; }
.promo-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 30px; height: 30px; padding: 5px;
  background: none; border: none; color: var(--cream); opacity: .6; cursor: pointer;
}
.promo-close:hover { opacity: 1; color: var(--gold); }
.promo-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.promo-title {
  font-family: var(--serif); font-weight: 500; font-size: 2.7rem; line-height: 1.1;
  color: var(--offwhite); margin: .2rem 0 .3rem;
}
.promo p { font-style: italic; margin: 0 0 1.1rem; line-height: 1.5; }
.promo-actions .btn { padding: .8em 1.4em; font-size: .85rem; }
.promo-actions { position: relative; z-index: 1; display: grid; gap: .5rem; justify-items: center; }
.promo-actions .btn { width: 100%; }
.promo-later {
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); opacity: .6; padding: .4rem;
}
.promo-later:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .promo { transition: opacity .2s; transform: none; } }

/* ── Apparition au défilement ────────────────────────── */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  #treeSvg * { animation-duration: .01s !important; animation-delay: 0s !important; }
}

/* Badge « Powered by Netlify » injecté par l'hébergeur (offre gratuite) */
#nl-badge-frame, [id^="nl-badge"] { display: none !important; }

/* ── Bandeau de titre des pages intérieures ──────────── */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center; color: var(--offwhite);
  padding: clamp(108px, 11vw, 130px) 0 clamp(36px, 4.5vw, 52px);
  background:
    radial-gradient(ellipse 55% 60% at 50% 35%, rgba(84,110,106,.38), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 130%, rgba(8,14,15,.9), transparent 60%),
    linear-gradient(180deg, #1F3337 0%, var(--night) 55%, #111C1E 100%);
}
.page-hero::after { box-shadow: inset 0 0 180px 30px rgba(5,10,11,.6); mix-blend-mode: normal; }
.page-hero .eyebrow { color: var(--gold); letter-spacing: .42em; margin-bottom: 1rem; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.06;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.page-hero h1 em { color: var(--gold); }
.page-hero .rule { margin: 1.2rem auto 1rem; }
.page-hero .intro { max-width: 40em; margin: 0 auto; color: rgba(242,240,224,.78); font-size: 1.08em; line-height: 1.7; }

/* Page en cours dans le menu */
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a.nav-cta[aria-current="page"] { border-color: var(--gold); }

/* Accueil : liens des cartes et phrase de clôture */
/* Cartes en colonne : le lien est poussé en bas, à la même hauteur partout */
.pillar { display: flex; flex-direction: column; align-items: center; }
.pillar p { flex-grow: 1; }
.pillar-link {
  display: inline-block; margin-top: 1.4rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); text-decoration: none;
  border-bottom: 1px solid rgba(168,139,78,.4); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.pillar-link:hover { color: var(--midnight); border-color: var(--midnight); }
.closing { text-align: center; }
.closing-quote {
  font-family: var(--script); font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.2;
  color: var(--offwhite); max-width: 18em; margin: 0 auto 2.2rem;
}

/* ── Arbre en éventail ───────────────────────────────── */
.side-picker { display: flex; gap: 8px; }
.side-picker button {
  flex: 1; height: 46px;
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600;
  color: var(--cream); background: transparent;
  border: 1px solid var(--line-gold); border-radius: var(--radius);
  cursor: pointer; transition: all .2s;
}
.side-picker button:hover { border-color: var(--gold); color: var(--gold); }
.side-picker button[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.family-controls .gen-hint { margin-bottom: .2rem; }
.family-controls .gen-label { margin-top: 1.7rem; }

#treeSvg .seg { opacity: 0; transform-box: view-box; animation: fanIn .55s ease forwards; cursor: pointer; outline: none; }
#treeSvg .seg path { stroke: rgba(216,191,135,.75); stroke-width: 1; transition: filter .2s, fill .2s; }
#treeSvg .seg:hover path, #treeSvg .seg:focus path { filter: brightness(1.18) saturate(1.1); }
#treeSvg .seg.dim { opacity: .22 !important; animation: none; pointer-events: none; }
#treeSvg .fan-person { fill: rgba(242,240,224,.82); pointer-events: none; }
#treeSvg .fan-dot { fill: rgba(242,240,224,.7); pointer-events: none; }
#treeSvg .fan-center path { fill: var(--gold); stroke: rgba(255,245,215,.6); stroke-width: 1; }
#treeSvg .fan-center .fan-person { fill: var(--night); }
#treeSvg .fan-base { stroke: var(--gold); stroke-width: 1; opacity: .6; }
#treeSvg .fan-side {
  fill: var(--cream); font-family: var(--serif); font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; text-anchor: middle; opacity: .8;
}
#treeSvg .fan-side.dim { opacity: .25; }
#treeSvg .fan-name { fill: var(--offwhite); font-family: var(--script); font-size: 26px; text-anchor: middle; }
@keyframes fanIn { from { opacity: 0; } to { opacity: 1; } }
.fan-caption {
  text-align: center; margin: .4rem 0 0; min-height: 1.6em;
  font-style: italic; color: var(--cream); opacity: .65; transition: opacity .2s, color .2s;
}
.fan-caption.on { opacity: 1; color: var(--gold); font-style: normal; font-weight: 600; font-size: 1.15em; }

@media (min-width: 981px) { .offers { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 561px) and (max-width: 980px) { .offers { grid-template-columns: repeat(2, 1fr); max-width: none; } }
.offers-note { text-align: center; font-style: italic; color: var(--cream); opacity: .8; margin: 1rem auto 0; max-width: 40em; }

/* ── Fondu continu entre sections ────────────────────────
   Chaque section reçoit --g (liste de couleurs) : la fin de l'une
   est le début de la suivante, la page devient un seul dégradé. */
.wave-top::before { display: none; }
section.flow.flow.flow {
  background:
    radial-gradient(ellipse 50% 35% at 15% 30%, rgba(150,172,163,.10), transparent 70%),
    radial-gradient(ellipse 45% 30% at 88% 75%, rgba(216,191,135,.08), transparent 70%),
    linear-gradient(180deg, var(--g));
}

/* Bande de marée : le vrai dégradé entre une section sombre et une section claire,
   en passant par toute la palette (bleu canard, vert d'eau, crème) */

/* Raccord parfait : le haut et le bas des sections claires reprennent exactement
   la couleur des bandes de marée qui les touchent */
.tide + section.bg-cream {
  background:
    linear-gradient(180deg, var(--cream) 0, rgba(228,222,196,0) 180px),
    linear-gradient(0deg, var(--cream) 0, rgba(228,222,196,0) 180px),
    radial-gradient(ellipse 60% 50% at 12% 30%, rgba(150,172,163,.22), transparent 70%),
    radial-gradient(ellipse 55% 45% at 95% 80%, rgba(190,176,140,.3), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(242,240,224,.8), transparent 75%),
    var(--cream);
}
.tide + #faq {
  background:
    linear-gradient(180deg, #F2F0E0 0, rgba(242,240,224,0) 160px),
    linear-gradient(0deg, #EEEAD6 0, rgba(238,234,214,0) 160px),
    radial-gradient(ellipse 50% 40% at 90% 40%, rgba(150,172,163,.16), transparent 70%),
    linear-gradient(180deg, #F2F0E0 0%, #EEEAD6 100%);
}

.tide + section.dark.deep {
  background:
    linear-gradient(180deg, #213538 0, rgba(33,53,56,0) 200px),
    radial-gradient(ellipse 55% 45% at 50% 35%, rgba(84,110,106,.3), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(8,14,15,.6), transparent 60%),
    linear-gradient(180deg, #213538 0%, var(--night) 60%, #172426 100%);
}

/* Du clair vers le sombre : la marée redescend, couleurs dans l'ordre inverse */


/* ── Page légale ─────────────────────────────────────── */
.legal { padding-top: 140px; }
.legal h1 { font-family: var(--script); font-size: clamp(3rem, 6vw, 4.4rem); color: var(--midnight); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.4rem; font-weight: 700; color: var(--midnight); margin: 2rem 0 .6rem; }
.legal .wrap { max-width: 800px; }
.nav.solid { background: var(--night); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .pillars, .offers, .services, .offer-notes { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .step:nth-child(2)::after { display: none; }
  .coffret { grid-template-columns: 1fr; text-align: center; }
  .coffret img { margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .family { grid-template-columns: 1fr; }
  .family-summary { justify-content: center; text-align: center; }
}
@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; gap: 0;
    background: var(--night);
    padding: 90px var(--gutter) 30px;
    transform: translateY(-105%); transition: transform .35s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(216,191,135,.15); }
  .nav-links a { display: block; padding: 1rem 0; font-size: .9rem; }
  .nav-links li:last-child { border: none; padding-top: 1rem; }
  .nav-links .btn { width: 100%; padding: 1em; }
  .nav-toggle { position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; }
  .quote-band .btn { width: 100%; }
}

.price-note { display: block; font-weight: 500; font-size: .85em; color: var(--ink-soft); letter-spacing: 0; margin-top: .15rem; }

/* ── Petits services : présentés comme une carte ────── */
.carte { max-width: 760px; margin: 0 auto; }
.carte-item { padding: 1.1rem 0 1.05rem; border-bottom: 1px solid rgba(168,139,78,.28); }
.carte-item:first-child { border-top: 1px solid rgba(168,139,78,.28); }
.carte-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; }
.carte-line h3 { font-size: 1.35rem; font-weight: 600; color: var(--midnight); margin: 0; white-space: nowrap; }
.carte-dots { flex: 1; border-bottom: 1px dotted rgba(84,110,106,.55); transform: translateY(-.3em); min-width: 1.5rem; }
.carte-price { font-size: 1.35rem; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.carte-price small { font-size: .7em; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.carte-item p { margin: .35rem 0 0; font-style: italic; color: var(--ink-soft); max-width: 36em; }
.carte-extra { font-style: normal; font-weight: 600; color: var(--teal); }
@media (max-width: 560px) {
  .carte-line h3, .carte-price { font-size: 1.15rem; }
  .carte-line h3 { white-space: normal; }
}

/* Les images gardent toujours leurs proportions (logo jamais déformé) */
img { height: auto; }
.coffret img, .brand img { aspect-ratio: 1 / 1; object-fit: contain; }

/* Devis gratuit : une phrase et un bouton, sans boîte */
.quote-band {
  background: none; border: none; padding: 0;
  margin-top: clamp(22px, 3vw, 34px);
  flex-direction: column; justify-content: center; text-align: center; gap: 1rem;
}
.quote-band h3 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: .2rem; }
.quote-band p { margin: 0 auto; }


/* ── Marée v3 : bande courte + fondu prolongé dans les marges des sections claires ──
   La bande (courte) fait le passage sombre → vert d'eau ; le reste du fondu
   vers le crème se fait dans l'espace vide en haut/bas de la section claire. */
.tide {
  --mist: #CFD1BD;
  height: clamp(70px, 8vw, 104px);
  background: linear-gradient(180deg,
    var(--from) 0%,
    color-mix(in oklab, var(--from) 50%, #546E6A) 24%,
    #546E6A 46%,
    color-mix(in oklab, #546E6A 45%, #96ACA3) 62%,
    #96ACA3 80%,
    #CFD1BD 100%);
}
.tide.down {
  background: linear-gradient(180deg,
    #CFD1BD 0%,
    #96ACA3 20%,
    color-mix(in oklab, #96ACA3 45%, #546E6A) 38%,
    #546E6A 54%,
    color-mix(in oklab, #546E6A 50%, var(--to)) 76%,
    var(--to) 100%);
}
section:not(.hero):not(.page-hero)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    var(--fade-top, rgba(207,209,189,0)) 0,
    rgba(207,209,189,0) 130px,
    rgba(207,209,189,0) calc(100% - 130px),
    var(--fade-bottom, rgba(207,209,189,0)) 100%);
}
.tide:not(.down) + section { --fade-top: #CFD1BD; }
section:has(+ .tide.down) { --fade-bottom: #CFD1BD; }

/* Réglages de l'arbre : colonne un peu plus large, boutons homogènes, texte jamais coupé */
.family { grid-template-columns: 300px 1fr; }
.gen-picker button, .side-picker button {
  flex: 1 1 0; min-width: 0; height: 46px; padding: 0 4px;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
}
.gen-picker button { font-size: 1.3rem; }
.side-picker button { font-size: .95rem; letter-spacing: .01em; }
@media (max-width: 980px) { .family { grid-template-columns: 1fr; } }

/* Résumé sous l'éventail : centré sur l'arbre, filet court et centré */
.family-summary {
  flex-direction: column; justify-content: center; align-items: center;
  text-align: center; gap: .9rem;
  border-top: none; padding-top: 0; margin-top: 1rem;
}
.family-summary::before {
  content: ""; display: block; width: min(280px, 60%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6; margin-bottom: .3rem;
}

/* ── Ligne de tarifs (remplace les cartes) ───────────── */
.price-row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto; }
.price-cell {
  background: none; border: none; cursor: pointer; font: inherit; color: var(--cream);
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: .7rem .5rem .8rem; border-radius: var(--radius);
  transition: background .2s;
}
.price-cell + .price-cell { border-left: 1px solid var(--line-gold); border-radius: 0; }
.price-cell:hover, .price-cell.on { background: rgba(216,191,135,.08); }
.pc-gen { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--offwhite); }
.pc-count { font-style: italic; font-size: .95rem; opacity: .75; }
.pc-price { font-size: 1.7rem; font-weight: 600; color: var(--gold); line-height: 1.2; }
.price-cell.on .pc-gen { color: var(--gold); }
@media (max-width: 560px) {
  .price-row { grid-template-columns: repeat(2, 1fr); }
  .price-cell:nth-child(3) { border-left: none; }
  .price-cell:nth-child(n+3) { border-top: 1px solid var(--line-gold); }
}

/* Arbre + tarifs : tout tient sur un écran */
.family { padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px); margin-bottom: 14px; gap: clamp(18px, 3vw, 36px); }
.family-title { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: .2rem; }
.family-controls input { font-size: 1.35rem; padding: .1em 0 .25em; }
.family-controls .gen-label { margin-top: 1.1rem; margin-bottom: .45rem; }
.family-controls .gen-hint { font-size: .85rem; margin-top: .35rem; }
.fan-caption { margin-top: .1rem; font-size: .95rem; }
.family-summary { margin-top: .5rem; gap: .55rem; }
.family-summary::before { margin-bottom: .1rem; }
.family-summary .btn { padding: .75em 1.8em; }
.price-cell { padding: .45rem .4rem .5rem; gap: 0; }
.pc-price { font-size: 1.45rem; }
.offers-note { margin-top: .5rem; font-size: .95rem; }

/* Éventail purement illustratif : aucune réaction au survol */
#treeSvg .seg { cursor: default; pointer-events: none; }
#treeSvg .seg:hover path, #treeSvg .seg:focus path { filter: none; }

/* Bouton « Contact » du menu : sans cadre, simple lien doré */
.nav-links a.nav-cta { border: none; border-radius: 0; padding: 0; color: var(--gold); }
.nav-links a.nav-cta:hover { color: var(--offwhite); }
.nav-links a.nav-cta[aria-current="page"] { color: var(--offwhite); }
@media (max-width: 820px) {
  .nav-links a.nav-cta { padding: 1rem 0; }
}

/* ── Téléphone : cibles tactiles confortables et étiquettes lisibles ── */
@media (max-width: 820px) {
  .link-quiet, .pillar-link { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding-top: 10px; }
  .contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
  .coffret .tag, .promo-eyebrow { font-size: .78rem; }
  .hero-actions { gap: 6px 26px; }
}
@media (max-width: 560px) {
  .family { padding: 16px 16px 18px; gap: 14px; }
  .family-controls .gen-label { margin-top: .8rem; }
  .family-title { font-size: 1.9rem; }
  .family-summary { margin-top: .2rem; }
}
@media (max-width: 560px) {
  .steps { row-gap: 1.6rem; }
  .step { padding: 0 0 0 62px; min-height: 46px; }
  .step .num { width: 44px; height: 44px; font-size: 1.05rem; }
  .step h3 { font-size: 1.3rem; margin-bottom: .25rem; padding-top: .45rem; }
  .faq details p { padding-right: 0; }
}

/* ── Conseils (articles) ─────────────────────────────── */
.article { max-width: 760px; font-size: 1.04em; }
.article h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); font-weight: 700; color: var(--midnight); margin: 2.2rem 0 .7rem; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.25rem; font-weight: 700; color: var(--midnight); margin: 1.6rem 0 .5rem; }
.article ul, .article ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.article li { margin-bottom: .4em; }
.article li::marker { color: var(--gold-deep); }
.article a { color: var(--midnight); text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
.article a:hover { color: var(--gold-deep); }
.article .tip {
  margin: 1.6rem 0; padding: 1.3rem 1.6rem;
  background: var(--offwhite); border-left: 2px solid var(--gold-deep); border-radius: 0 var(--radius) var(--radius) 0;
}
.article .tip p:last-child { margin: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95em; }
.article th, .article td { text-align: left; padding: .5em .8em; border-bottom: 1px solid var(--beige); vertical-align: top; }
.article th { color: var(--midnight); font-weight: 700; }
.article-end { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--beige); text-align: center; }
.article-end p { font-style: italic; color: var(--ink-soft); }
.article-meta { margin-top: .9rem; font-size: .9rem; letter-spacing: .08em; color: rgba(242,240,224,.6); }
.article-list { max-width: 820px; display: grid; gap: 1.2rem; }
.article-card {
  display: block; text-decoration: none; padding: 1.5rem 1.8rem;
  background: var(--offwhite); border: 1px solid var(--beige); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.article-card:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.article-card h2 { font-size: 1.45rem; font-weight: 700; color: var(--midnight); margin-bottom: .4rem; }
.article-card p { margin: 0; color: var(--ink-soft); }
.article-card .more { display: inline-block; margin-top: .7rem; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
