/* ================================================================
   MINUTE PAPILLON — Feuille de style commune (v2)
   Identité alignée sur la carte de visite :
   fond crème, bandes rouges alsaciennes, rouge dominant,
   nom en cursive rouge, doré du logo en touche discrète.
   Typos : Dancing Script (nom), Cormorant Garamond (titres),
           Nunito Sans (texte).
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&display=swap');

/* ---------- Variables de charte ---------- */
:root {
  --creme:        #FDFBF7;   /* fond principal (comme la carte) */
  --ecru:         #F7F0E6;
  --ecru-fonce:   #ECE0CE;
  --rouge:        #C0392F;   /* rouge alsacien de la carte */
  --rouge-fonce:  #A32A22;
  --rouge-profond:#7E2721;   /* rouge sombre (feuille du logo) */
  --rouge-tint:   #FBF1EE;   /* fond rouge très pâle */
  --or:           #B08442;   /* doré du logo — touche discrète */
  --or-clair:     #CBA46A;
  --brun:         #5A463A;   /* texte principal */
  --brun-doux:    #9A8371;   /* texte secondaire */
  --sauge:        #9DAE97;   /* utilisé seulement pour le calendrier / zone événement */
  --blanc:        #FFFFFF;
  --ombre:        0 8px 30px rgba(126, 39, 33, 0.08);
  --ombre-forte:  0 14px 40px rgba(126, 39, 33, 0.14);
  --radius:       18px;
  --radius-sm:    12px;
  --max:          1120px;
  --nom:          'Dancing Script', cursive;
  --titre:        'Cormorant Garamond', Georgia, serif;
  --texte:        'Nunito Sans', -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
/* Verrou anti-défilement horizontal (clip ne casse pas l'en-tête collant) */
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; }
/* Empêche un enfant de grille/flex de forcer la largeur */
.grid > *, .steps > *, .duo > *, .price-grid > *, .paiement-grid > *,
.part-grid > *, .map-block > *, .dispo-layout > *, .hero-grid > * { min-width: 0; }
/* Les longues adresses ne débordent jamais */
a[href^="mailto"], a[href^="http"], .footer-grid li, .form input, .form textarea { overflow-wrap: anywhere; }
body {
  margin: 0;
  font-family: var(--texte);
  color: var(--brun);
  background: var(--creme);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  color: var(--brun);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: .5px; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--rouge); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--texte);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--rouge);
  margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--brun-doux); max-width: 620px; }

/* ---------- Bande rouge alsacienne (motif signature de la carte) ---------- */
.bande-alsace {
  height: 10px;
  background:
    linear-gradient(var(--rouge), var(--rouge)) top/100% 5px no-repeat,
    linear-gradient(rgba(192,57,47,.45), rgba(192,57,47,.45)) bottom/100% 2px no-repeat;
  background-color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--texte);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .3px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--rouge); color: #fff; box-shadow: 0 8px 22px rgba(192,57,47,.30); }
.btn-primary:hover { background: var(--rouge-fonce); }
.btn-ghost { background: transparent; color: var(--brun); border-color: var(--ecru-fonce); }
.btn-ghost:hover { border-color: var(--rouge); color: var(--rouge); }
.btn-or { background: var(--or); color: #fff; }
.btn-or:hover { background: #997134; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,251,247,.94);
  backdrop-filter: blur(10px);
  border-top: 5px solid var(--rouge);           /* bande rouge du haut, comme la carte */
  box-shadow: 0 1px 0 rgba(192,57,47,.35), 0 6px 20px rgba(126,39,33,.05);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand-block { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--nom); font-size: 1.9rem; color: var(--rouge); font-weight: 700; line-height: 1; }
.brand-name span { color: var(--rouge); }
.brand-slogan {
  font-family: var(--texte); font-weight: 800; font-size: .68rem;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--brun-doux); margin-top: 4px;
}
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--brun); font-weight: 600; font-size: .92rem; }
.nav-links a:hover { color: var(--rouge); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--brun); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--creme);
    border-bottom: 1px solid var(--ecru-fonce); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-ecru { background: var(--ecru); }
.section-rouge { background: var(--rouge-tint); border-top: 1px solid #F1DCD6; border-bottom: 1px solid #F1DCD6; }
/* compat : ancienne classe, désormais teinte chaude */
.section-sauge { background: var(--rouge-tint); border-top: 1px solid #F1DCD6; border-bottom: 1px solid #F1DCD6; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 520px at 78% -12%, var(--ecru) 0%, var(--creme) 62%);
  padding: 62px 0 66px;
  border-bottom: 1px solid #F1E4D3;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #F0D6CF;
  border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem;
  color: var(--rouge); box-shadow: var(--ombre); margin-bottom: 22px;
}
.hero-badge .ic { width:1.1em; height:1.1em; }
.hero h1 { color: var(--brun); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: #fff; border-radius: 22px; padding: 40px 40px 34px; box-shadow: var(--ombre-forte);
  border: 1px solid #F0E2D2; text-align: center; max-width: 340px; position: relative;
}
.hero-card::before, .hero-card::after {
  content:""; position:absolute; left:22px; right:22px; height:4px; border-radius:2px; background: var(--rouge);
}
.hero-card::before { top: 14px; } .hero-card::after { bottom: 14px; opacity:.5; }
.hero-card img { width: 168px; margin: 12px 0 14px; }
.hero-card .cursive { font-family: var(--nom); font-size: 2.4rem; color: var(--rouge); font-weight: 700; }
.hero-mini { display: flex; gap: 22px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.hero-mini div { font-size: .82rem; color: var(--brun-doux); }
.hero-mini strong { display: block; font-family: var(--titre); font-size: 1.5rem; color: var(--rouge); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero .lead { margin-inline: auto; } .hero-cta { justify-content: center; } }

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid #F0E2D2; border-radius: var(--radius);
  padding: 30px; box-shadow: var(--ombre); transition: transform .2s ease, box-shadow .2s ease;
  border-top: 3px solid var(--rouge);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.card .icone {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--rouge-tint); font-size: 1.6rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 6px; }
.card .age { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--or); background: var(--ecru); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.card p { color: var(--brun-doux); font-size: .96rem; margin: 0; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid #F0E2D2; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--titre); font-size: 1.5rem; font-weight: 700; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; background: var(--rouge);
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--brun-doux); font-size: .93rem; margin: 0; }

/* ---------- Carte d'Alsace ---------- */
.map-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .map-block { grid-template-columns: 1fr; } }
.map-svg { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--ombre); border: 1px solid #F0E2D2; }
.zone-list { list-style: none; padding: 0; margin: 18px 0 0; }
.zone-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.zone-list .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; flex: none; }
.dot-colmar { background: var(--rouge); }
.dot-event  { background: var(--or); }

/* ---------- Tarifs ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background:#fff; border:1px solid #F0E2D2; border-radius: var(--radius); padding: 36px; text-align:center; box-shadow: var(--ombre); }
.price-card.mise-avant { border: 2px solid var(--rouge); }
.price-card .montant { font-family: var(--titre); font-size: 3rem; color: var(--rouge); line-height: 1; }
.price-card .montant small { font-size: 1rem; color: var(--brun-doux); font-family: var(--texte); }
.price-card ul { list-style: none; padding: 0; margin: 18px 0; text-align: left; }
.price-card li { padding: 8px 0 8px 28px; position: relative; color: var(--brun-doux); font-size: .95rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--rouge); font-weight: 800; }

/* ---------- Avis ---------- */
.avis-vide { background:#fff; border:1px dashed var(--rouge); border-radius: var(--radius); padding: 34px; text-align:center; }

/* ---------- Encadré « À compléter » ---------- */
.a-completer {
  background: #FFF6E9; border: 1px solid #F0C987; border-left: 5px solid #E39A2A;
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 18px 0;
  font-size: .92rem; color: #8a5a12;
}
.a-completer strong { color: #b26a06; }
.a-completer::before { content: "✎ À COMPLÉTER — "; font-weight: 800; color: #b26a06; }

/* ---------- Note discrète ---------- */
.note { font-size: .85rem; color: var(--brun-doux); }

/* ---------- Formulaire ---------- */
.form { max-width: 640px; margin: 0 auto; background:#fff; border:1px solid #F0E2D2; border-radius: var(--radius); padding: 34px; box-shadow: var(--ombre); border-top: 4px solid var(--rouge); }
.form label { display:block; font-weight:700; font-size:.9rem; margin: 14px 0 6px; }
.form input, .form select, .form textarea {
  width:100%; padding: 12px 14px; border:1px solid var(--ecru-fonce); border-radius: 10px;
  font-family: var(--texte); font-size: 1rem; color: var(--brun); background: var(--creme);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--rouge); border-color: var(--rouge); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form .rgpd { display:flex; gap:10px; align-items:flex-start; margin-top: 16px; font-size:.88rem; color: var(--brun-doux); }
.form .rgpd input { width:auto; margin-top:4px; }

/* ---------- Bandeau SAP ---------- */
.sap-band {
  display:flex; align-items:center; gap:20px; flex-wrap:wrap; justify-content:center;
  background:#fff; border:1px solid #F0E2D2; border-radius: var(--radius);
  padding: 22px 28px; box-shadow: var(--ombre); max-width: 760px; margin: 0 auto;
}
.sap-logo-slot {
  width: 120px; height: 78px; border:1px dashed var(--or); border-radius: 10px;
  display:grid; place-items:center; text-align:center; font-size:.66rem; color:#b26a06; padding:6px; flex:none;
}
.sap-logo { width: 132px; height:auto; flex:none; }
.sap-band p { margin:0; font-size:.92rem; color: var(--brun-doux); max-width: 520px; }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--rouge) 0%, var(--rouge-fonce) 100%); color:#fff; border-radius: 26px; padding: 54px 40px; text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn-ghost { color:#fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.15); color:#fff; border-color:#fff; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--brun); color: #EDE3D2; padding: 0 0 28px; border-top: 5px solid var(--rouge); }
.site-footer .footer-grid { padding-top: 56px; }
.site-footer a { color: #EDE3D2; }
.site-footer a:hover { color: var(--or-clair); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color:#fff; font-family: var(--texte); text-transform: uppercase; letter-spacing:2px; font-size:.78rem; margin-bottom: 14px; }
.footer-grid ul { list-style:none; padding:0; margin:0; }
.footer-grid li { margin-bottom: 8px; font-size:.95rem; }
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom: 14px; }
.footer-brand img { width: 42px; }
.footer-brand span { font-family: var(--nom); font-size: 1.9rem; color:#fff; line-height:1; }
.footer-slogan { font-family: var(--titre); font-style: italic; color: var(--or-clair); font-size: 1.05rem; margin: 0 0 12px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.15); margin-top: 34px; padding-top: 20px; font-size:.82rem; color: rgba(237,227,210,.7); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- Page intérieure : hero léger ---------- */
.page-hero { background: var(--ecru); padding: 66px 0 56px; text-align:center; border-bottom: 1px solid #F1E4D3; }
.page-hero .lead { margin-inline:auto; }
.breadcrumb { font-size:.85rem; color: var(--brun-doux); margin-bottom: 10px; }
.breadcrumb a { color: var(--brun-doux); }

/* ---------- Frise parcours ---------- */
.timeline { max-width: 760px; margin: 0 auto; border-left: 2px solid var(--ecru-fonce); padding-left: 28px; }
.timeline .tl-item { position: relative; padding-bottom: 30px; }
.timeline .tl-item::before { content:""; position:absolute; left:-37px; top:2px; width:16px; height:16px; border-radius:50%; background: var(--rouge); border:3px solid var(--creme); }
.timeline .tl-when { font-family: var(--titre); font-size:1.15rem; color: var(--rouge); font-weight:600; }
.timeline .tl-item p { margin:.2rem 0 0; color: var(--brun-doux); }

/* ---------- Badges formations ---------- */
.badges { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0; }
.badge-f { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #F0E2D2; border-left:4px solid var(--or); border-radius:12px; padding:12px 16px; box-shadow:var(--ombre); font-weight:700; font-size:.92rem; color:var(--brun); }
.badge-f small { display:block; font-weight:400; color:var(--brun-doux); font-size:.8rem; }

/* ---------- Listes je fais / mes limites ---------- */
.duo { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:720px){ .duo { grid-template-columns:1fr; } }
.liste-check, .liste-cross { list-style:none; padding:0; margin:0; }
.liste-check li, .liste-cross li { padding:9px 0 9px 32px; position:relative; color:var(--brun); border-bottom:1px solid var(--ecru); }
.liste-check li::before { content:"✓"; position:absolute; left:4px; color:#4c8a4a; font-weight:900; }
.liste-cross li::before { content:"✕"; position:absolute; left:4px; color:var(--rouge); font-weight:900; }

/* ---------- FAQ (accordéon natif) ---------- */
.faq { max-width:820px; margin:0 auto; }
.faq details { background:#fff; border:1px solid #F0E2D2; border-radius:12px; padding:0 22px; margin-bottom:12px; box-shadow:var(--ombre); }
.faq summary { cursor:pointer; padding:18px 0; font-weight:700; color:var(--brun); list-style:none; display:flex; justify-content:space-between; gap:14px; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color:var(--rouge); font-size:1.5rem; font-weight:400; line-height:1; }
.faq details[open] summary::after { content:"–"; }
.faq details[open] summary { color:var(--rouge); }
.faq details > *:not(summary) { padding-bottom:18px; color:var(--brun-doux); }
.faq .grp-titre { font-family:var(--titre); color:var(--rouge); font-size:1.5rem; margin:30px 0 14px; text-align:center; }

/* ---------- Tableau tarifs ---------- */
.tarif-table { width:100%; border-collapse:collapse; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--ombre); border:1px solid #F0E2D2; }
.tarif-table th, .tarif-table td { padding:15px 18px; text-align:left; border-bottom:1px solid var(--ecru); }
.tarif-table thead th { background:var(--rouge); color:#fff; font-family:var(--texte); font-weight:700; font-size:.9rem; }
.tarif-table td.montant-c { font-family:var(--titre); font-size:1.3rem; color:var(--rouge); white-space:nowrap; }
.tarif-table tr:last-child td { border-bottom:0; }
.encadre-fiscal { background:linear-gradient(120deg,#fff 0%, var(--rouge-tint) 100%); border:1px solid #F0D6CF; border-radius:var(--radius); padding:28px 30px; box-shadow:var(--ombre); }
.encadre-fiscal .gros { font-family:var(--titre); font-size:2rem; color:var(--rouge); }

/* ---------- Galerie ---------- */
.galerie-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:800px){ .galerie-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .galerie-grid { grid-template-columns:1fr; } }
.galerie-item { aspect-ratio:4/3; border-radius:var(--radius); background:var(--ecru); border:1px dashed var(--or); display:grid; place-items:center; color:#b28a4a; text-align:center; padding:14px; font-size:.85rem; }
.video-slot { aspect-ratio:16/9; border-radius:var(--radius); background:var(--ecru); border:1px dashed var(--or); display:grid; place-items:center; color:#b28a4a; text-align:center; max-width:820px; margin:0 auto; }

/* ---------- Cartes partenaires ---------- */
.part-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:820px){ .part-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .part-grid { grid-template-columns:1fr; } }

/* ---------- Charte / engagements ---------- */
.engagement { background:#fff; border:1px solid #F0E2D2; border-top:3px solid var(--rouge); border-radius:var(--radius); padding:26px; box-shadow:var(--ombre); }
.engagement h3 { color:var(--rouge); font-size:1.25rem; }
.engagement ul { padding-left:20px; margin:10px 0 0; color:var(--brun-doux); }
.engagement li { margin-bottom:8px; }

/* ---------- Encadré info (rythme de réponse, etc.) ---------- */
.info-box { background:var(--rouge-tint); border:1px solid #F0D6CF; border-left:5px solid var(--rouge); border-radius:12px; padding:18px 22px; margin:18px 0; }
.info-box strong { color:var(--rouge); }

/* =====================================================================
   ICÔNES (Lucide) — remplacent les emojis, style ligne élégant
   ===================================================================== */
.ic { display:inline-block; width:1.1em; height:1.1em; vertical-align:-0.18em; stroke-width:2; color:var(--rouge); flex:none; }
.ic-or { color:var(--or); }
.ic-sauge { color:#4c8a4a; }
/* grande icône dans les cartes */
.card .icone svg, .icone svg { width:28px; height:28px; color:var(--rouge); stroke-width:1.75; }
.card .icone { transition: transform .25s ease, background .25s ease; }
.card:hover .icone { transform: translateY(-2px) scale(1.06) rotate(-3deg); background: #fff; }
.card:hover .icone svg { color: var(--or); }
/* icônes dans badges formations / listes */
.badge-f .ic { margin-right:2px; color:var(--or); width:1.25em; height:1.25em; }
.zone-list .ic, .hero-mini .ic { color:var(--rouge); }
.engagement h3 .ic, .faq .grp-titre .ic, .prose h3 .ic { width:1.15em; height:1.15em; margin-right:.35em; vertical-align:-0.15em; }
.footer-grid .ic { color: var(--or-clair); margin-right:6px; }
.site-footer .footer-brand + .footer-slogan { }
/* apparition douce des icônes une fois dessinées */
svg.lucide { animation: icoIn .5s ease both; }
@keyframes icoIn { from { opacity:0; transform:scale(.7); } to { opacity:1; transform:scale(1); } }

/* =====================================================================
   MOTION DESIGN
   ===================================================================== */
/* --- Apparition à l'ouverture (hero) --- */
.hero-badge { animation: fadeUp .7s .05s ease both; }
.hero h1     { animation: fadeUp .8s .12s ease both; }
.hero .lead  { animation: fadeUp .8s .22s ease both; }
.hero-cta    { animation: fadeUp .8s .32s ease both; }
.hero-mini   { animation: fadeUp .8s .42s ease both; }
.hero-card   { animation: cardIn 1s .15s cubic-bezier(.2,.8,.2,1) both; }
.hero-card img { animation: logoPop 1.2s .3s cubic-bezier(.2,.9,.25,1.3) both, floaty 5.5s 1.6s ease-in-out infinite; }
.hero-card .cursive { animation: fadeUp .8s .6s ease both; }

@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes cardIn { from { opacity:0; transform:translateY(30px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes logoPop { 0% { opacity:0; transform:scale(.4) rotate(-14deg); } 60% { opacity:1; transform:scale(1.08) rotate(4deg); } 100% { transform:scale(1) rotate(0); } }

/* léger flottement continu du logo dans la carte hero */
.hero-card { position:relative; }
.hero-card::after { animation: none; } /* neutralise l'ancien filet animé si besoin */
.hero-card img { will-change: transform; }
.hero-card:hover img { filter: drop-shadow(0 12px 18px rgba(126,39,33,.22)); }
@keyframes floaty { 0%,100% { transform:translateY(0) rotate(0); } 50% { transform:translateY(-7px) rotate(2deg); } }

/* logo de l'en-tête : petit rebond au survol */
.brand img { transition: transform .4s cubic-bezier(.2,.9,.25,1.4); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

/* --- Révélation au défilement --- */
.js .reveal { opacity:0; transform:translateY(26px); }
.js .reveal.in { opacity:1; transform:none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity:1 !important; transform:none !important; transition:none; }
  .hero-badge,.hero h1,.hero .lead,.hero-cta,.hero-mini,.hero-card,.hero-card img,.hero-card .cursive,svg.lucide { animation:none !important; }
}

/* --- Interactions : survol & clic --- */
.btn { position:relative; overflow:hidden; }
.btn::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,255,255,.5), transparent 45%); opacity:0; transition:opacity .5s ease; }
.btn:hover::after { opacity:.35; }
.btn:active { transform:translateY(0) scale(.96); }
.card, .step, .engagement, .price-card, .badge-f, .galerie-item { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.step:hover, .engagement:hover { transform:translateY(-4px); box-shadow:var(--ombre-forte); }
.badge-f:hover { transform:translateY(-3px); box-shadow:var(--ombre-forte); }
.galerie-item:hover { transform:scale(1.03); border-style:solid; color:var(--rouge); }
/* liens de navigation : soulignement animé */
.nav-links a:not(.btn) { position:relative; }
.nav-links a:not(.btn)::after { content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0; background:var(--rouge); transition:width .28s ease; }
.nav-links a:not(.btn):hover::after { width:100%; }
/* accordéon FAQ : ouverture animée */
.faq details[open] > *:not(summary) { animation: fadeUp .35s ease both; }

/* =====================================================================
   TITRE SIGNATURE DU HERO (slogan en serif, deux lignes)
   ===================================================================== */
.hero h1.titre-slogan {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
  font-size: clamp(2rem, 3.9vw, 3.25rem);
  margin-bottom: .35em;
}
.hero h1.titre-slogan .l1 { display:block; color: var(--rouge-profond); }
.hero h1.titre-slogan .l2 { display:block; color: var(--rouge); font-style: italic; }

/* =====================================================================
   CARTE « LE 15 » — rythme des demandes
   ===================================================================== */
.carte-15 {
  background: linear-gradient(160deg, #8E2A20 0%, var(--rouge-fonce) 55%, #8E2A20 100%);
  color: #fff; border-radius: 22px; padding: 40px 36px;
  box-shadow: 0 16px 40px rgba(126,39,33,.22);
}
.carte-15 .quinze {
  font-family: var(--titre); font-size: clamp(3.4rem, 7vw, 4.6rem);
  color: var(--or-clair); line-height: .95; display:block; margin-bottom: 14px;
}
.carte-15 h3 { color:#fff; font-size: clamp(1.5rem,2.6vw,2rem); margin-bottom: 16px; }
.carte-15 p { color: rgba(255,255,255,.88); font-size: .97rem; }
.carte-15 .btn-blanc {
  display:inline-block; background:#fff; color: var(--rouge-fonce); font-weight:800;
  padding: 14px 30px; border-radius: 999px; margin-top: 8px; text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.carte-15 .btn-blanc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); text-decoration:none; }
.carte-15 .fine { font-size:.84rem; color: rgba(255,255,255,.72); margin: 16px 0 0; }
.carte-15 .etapes-15 { list-style:none; padding:0; margin: 0 0 22px; }
.carte-15 .etapes-15 li { display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; font-size:.97rem; color: rgba(255,255,255,.92); }
.carte-15 .etapes-15 .num {
  flex:none; width:26px; height:26px; border-radius:50%; background: rgba(255,255,255,.16);
  color: var(--or-clair); font-weight:800; font-size:.8rem; display:grid; place-items:center; margin-top:1px;
}
.dispo-layout { display:grid; grid-template-columns: 1.35fr .85fr; gap: 32px; align-items:start; }
@media (max-width: 900px){ .dispo-layout { grid-template-columns:1fr; } }

/* =====================================================================
   CARTE DE PRÉSENTATION « CHRYSTEL » (page À propos)
   ===================================================================== */
.carte-chrystel {
  background: var(--ecru); border-radius: 20px; padding: 44px 34px 38px; text-align:center;
  position: relative; overflow: hidden; box-shadow: var(--ombre);
  border: 1px solid var(--ecru-fonce);
}
/* coin supérieur droit « corné » */
.carte-chrystel::after {
  content:""; position:absolute; top:0; right:0; width:74px; height:74px;
  background: var(--creme); border-bottom-left-radius: 20px;
}
.carte-chrystel img { width: 190px; display:block; margin: 0 auto 18px; position:relative; z-index:1; }
.carte-chrystel .prenom {
  font-family: var(--nom); font-size: 3.1rem; color: var(--rouge); line-height:1; margin-bottom: 6px;
}
.carte-chrystel .fonction {
  font-family: var(--texte); font-weight: 800; font-size: .78rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brun-doux);
}

/* =====================================================================
   BANDEAU PAIEMENT (crédit d'impôt + CESU)
   ===================================================================== */
.paiement-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:22px; max-width:860px; margin:0 auto; }
@media (max-width:720px){ .paiement-grid { grid-template-columns:1fr; } }
.paiement-card {
  background:#fff; border:1px solid #F0E2D2; border-top:3px solid var(--or); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--ombre);
}
.paiement-card h3 { color: var(--rouge); font-size:1.2rem; margin-bottom:8px; }
.paiement-card p { color: var(--brun-doux); font-size:.95rem; margin:0; }
.badge-cesu {
  display:inline-flex; align-items:center; gap:8px; background: var(--sauge-clair, #E7ECE3);
  color:#3f7a3d; font-weight:800; font-size:.82rem; padding:6px 14px; border-radius:999px; margin-bottom:10px;
}

/* ---------- Divers ---------- */
.pill { display:inline-block; background:var(--rouge-tint); color:var(--rouge); font-weight:700; font-size:.8rem; padding:4px 14px; border-radius:999px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--rouge); }
hr.sep { border:0; border-top:1px solid var(--ecru-fonce); margin: 40px 0; }

/* =====================================================================
   OPTIMISATION MOBILE
   ===================================================================== */

/* --- Tablette --- */
@media (max-width: 860px) {
  section { padding: 58px 0; }
  .wrap { padding: 0 20px; }
  .hero { padding: 44px 0 50px; }
  .section-head { margin-bottom: 34px; }
}

/* --- Téléphone --- */
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 46px 0; }
  .wrap { padding: 0 18px; }

  h2 { font-size: clamp(1.6rem, 6.5vw, 2rem); }
  h3 { font-size: 1.22rem; }
  .lead { font-size: 1.05rem; }
  .eyebrow { letter-spacing: 2px; font-size: .72rem; }

  /* Hero plus compact */
  .hero { padding: 34px 0 42px; }
  .hero h1.titre-slogan { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .hero-card { padding: 30px 24px 26px; max-width: 100%; }
  .hero-card img { width: 132px; }
  .hero-card .cursive { font-size: 2rem; }
  .hero-mini { gap: 14px; }
  .hero-mini div { font-size: .78rem; }
  .hero-mini strong { font-size: 1.25rem; }

  /* Boutons confortables au doigt */
  .btn { padding: 13px 22px; font-size: .94rem; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; text-align: center; }

  /* Cartes et blocs */
  .card, .step, .engagement, .price-card, .paiement-card { padding: 22px 20px; }
  .cta-band { padding: 36px 22px; border-radius: 20px; }
  .form { padding: 24px 20px; }
  .prose h2 { margin-top: 1.3em; }

  /* Bandeau Services à la Personne */
  .sap-band { padding: 20px; gap: 14px; }
  .sap-logo { width: 108px; }

  /* Carte « Le 15 » */
  .carte-15 { padding: 30px 24px; }

  /* Carte de présentation Chrystel */
  .carte-chrystel { padding: 32px 22px 28px; }
  .carte-chrystel img { width: 150px; }
  .carte-chrystel .prenom { font-size: 2.5rem; }

  /* Frise du parcours */
  .timeline { padding-left: 22px; }
  .timeline .tl-item::before { left: -31px; width: 14px; height: 14px; }
  .timeline .tl-when { font-size: 1.05rem; }

  /* Badges formations */
  .badges { gap: 9px; }
  .badge-f { padding: 10px 13px; font-size: .87rem; }

  /* FAQ */
  .faq details { padding: 0 18px; }
  .faq summary { padding: 15px 0; font-size: .98rem; }

  /* Pied de page */
  .site-footer .footer-grid { padding-top: 40px; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* --- Tableau des tarifs : en blocs sur mobile (évite le débordement) --- */
@media (max-width: 640px) {
  .tarif-table { display: block; }
  .tarif-table thead { display: none; }
  .tarif-table tbody, .tarif-table tr, .tarif-table td { display: block; width: 100%; }
  .tarif-table tr { padding: 14px 18px; border-bottom: 1px solid var(--ecru); }
  .tarif-table tr:last-child { border-bottom: 0; }
  .tarif-table td { border: 0; padding: 2px 0; }
  .tarif-table td:first-child { font-weight: 800; color: var(--brun); }
  .tarif-table td.montant-c { white-space: normal; font-size: 1.45rem; margin: 4px 0; }
  .tarif-table td:last-child { color: var(--brun-doux); font-size: .9rem; }
}

/* --- Widget de réservation : jamais plus large que l'écran --- */
.calendly-inline-widget { min-width: 0 !important; width: 100%; }
.rdv-embed-box { max-width: 100%; }
.rdv-embed-box iframe { width: 100%; }
@media (max-width: 620px) {
  .calendly-inline-widget { height: 620px; }
  .rdv-setup ol li { padding-left: 42px; }
}

/* --- Calendrier : plus compact sur petit écran --- */
@media (max-width: 620px) {
  .cal { padding: 18px 14px; }
  .cal-title { font-size: 1.3rem; }
  .cal-nav { width: 38px; height: 38px; }
  .cal-grid { gap: 4px; }
  .legende { gap: 12px; }
  .legende span { font-size: .78rem; }
}

/* --- Galerie --- */
@media (max-width: 620px) {
  .galerie-grid { gap: 12px; }
  .video-slot { aspect-ratio: 4/3; }
}

/* =====================================================================
   EN-TÊTE MOBILE — le nom ET l'accroche restent visibles
   ===================================================================== */
@media (max-width: 860px) {
  .nav { padding: 10px 18px; gap: 10px; }
  .brand { gap: 10px; flex: 1 1 auto; min-width: 0; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.6rem; }
  .brand-slogan { font-size: .6rem; letter-spacing: 1.1px; margin-top: 3px; white-space: nowrap; }
  .nav-toggle { flex: none; width: 44px; height: 44px; line-height: 1; border-radius: 12px; }
  .nav-toggle:hover { background: var(--rouge-tint); }
}

@media (max-width: 400px) {
  .nav { padding: 9px 14px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.42rem; }
  .brand-slogan { font-size: .55rem; letter-spacing: .8px; }
}

/* Très petits écrans : l'accroche passe sur deux lignes plutôt que de disparaître */
@media (max-width: 340px) {
  .brand-slogan { white-space: normal; line-height: 1.25; font-size: .53rem; }
}

/* Menu déroulant mobile : plus lisible et plus confortable */
@media (max-width: 860px) {
  .nav-links {
    box-shadow: 0 12px 28px rgba(126,39,33,.10);
    padding: 6px 0 14px;
  }
  .nav-links a:not(.btn) {
    padding: 13px 20px; font-size: 1rem;
    border-bottom: 1px solid var(--ecru);
  }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn {
    margin: 12px 20px 2px; text-align: center; display: block;
  }
}
