/* =====================================================================
   Gabarit premium « defaut » · indépendant au métier libre (clé defaut du hub)
   Jetons et touches propres seulement : le reste vient de base.css (kit, tel quel).
   Trois palettes claires, tirées du slug (html[data-palette], script du head) :
   0 outremer et soleil (aussi sans JS), 1 sapin et pêche, 2 brique et moutarde.
   Polices : Fraunces (titres) + Public Sans (texte), deux familles.
   Signature : le trait qui se trace sous l'enseigne, repris dans le monogramme.
   Ce fichier passe par le moteur de gabarits : jamais deux accolades de suite.
   ===================================================================== */

/* ---------- Jetons (contrastes vérifiés, voir chaque palette) ---------- */
:root{
  --c-fond:#FFFCF7;
  --c-encre:#141A2E;
  --c-encre-2:#4A5068;        /* 7,8:1 sur le fond, 7,1:1 sur --c-doux */
  --c-accent:#2A55D4;         /* texte blanc 6,3:1 */
  --c-accent-encre:#FFFFFF;
  --c-accent-fonce:#1F43AE;   /* 8,3:1 sur le fond, 7,6:1 sur --c-doux */
  --c-accent-2:#FFC94D;       /* encre 11,3:1 */
  --c-accent-2-encre:#141A2E;
  --c-doux:#EEF2FC;
  --c-sombre:#131B3C;
  --c-sombre-encre:#F4F3EE;
  --f-titre:"Fraunces",Georgia,"Times New Roman",serif;
  --f-texte:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --g-titre:700;
  --g-fort:600;
  --ls-titre:-.025em;
  --r-bouton:14px;
}
/* 1 · sapin et pêche : encre-2 7,6 / 6,9 · blanc sur accent 5,8 · accent-fonce 7,7 / 7,0 · encre sur pêche 9,7 */
html[data-palette="1"]{--c-fond:#FBFCF8;--c-encre:#12211B;--c-encre-2:#45564E;--c-accent:#0E7357;--c-accent-fonce:#0B5C46;--c-accent-2:#FFB48C;--c-accent-2-encre:#12211B;--c-doux:#E8F3EE;--c-sombre:#0F2A22}
/* 2 · brique et moutarde : encre-2 8,1 / 7,3 · blanc sur accent 5,7 · accent-fonce 7,6 / 6,8 · encre sur moutarde 10,7 */
html[data-palette="2"]{--c-fond:#FFFBF6;--c-encre:#25160F;--c-encre-2:#5D4A43;--c-accent:#B0432A;--c-accent-fonce:#8F351F;--c-accent-2:#F4C445;--c-accent-2-encre:#25160F;--c-doux:#FAEDE7;--c-sombre:#2B1711}

/* Bandeau d'aperçu posé par api-hub (collant en ligne) : il défile avec la page, sous l'en-tête */
.apex-bandeau-apercu{position:relative!important;top:auto!important;z-index:60!important}

/* ---------- Monogramme : initiales du nom, soulignées du trait de la signature ---------- */
.lm-fond{fill:var(--c-accent)}
.lm-trait{fill:none;stroke:var(--c-accent-2);stroke-width:3.2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:trace 1s var(--courbe) .4s forwards}
.lm-lettres{fill:var(--c-accent-encre);font:var(--g-titre) 15px var(--f-titre);letter-spacing:-.02em}
.pied .lm-fond{fill:var(--c-accent-2)}
.pied .lm-lettres{fill:var(--c-accent-2-encre)}
.pied .lm-trait{stroke:var(--c-accent)}
.logo-nom>*{overflow:hidden;text-overflow:ellipsis}
.logo-nom small:empty{display:none}
.nom-long .logo-nom{font-size:1.0625rem;line-height:1.08}
.nom-long .logo-nom>span{display:-webkit-box;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media (max-width:479.98px){.nom-long .logo-nom small{display:none}}
.tete-cta{white-space:nowrap}

/* ---------- Héros : l'enseigne en grand, puis le trait qui se trace (la signature) ---------- */
.hero-titre{max-width:15ch;font-size:clamp(2.4rem,1.45rem + 3.9vw,4.9rem);-webkit-hyphens:auto;hyphens:auto}
.nom-long .hero-titre{max-width:none;font-size:clamp(2rem,1.3rem + 2.5vw,3.5rem)}
.trait-titre{display:block;width:min(80%,340px);height:20px;margin:calc(var(--e-3) * -1) 0 var(--e-5);overflow:visible;color:var(--c-accent-2)}
.trait-titre path{fill:none;stroke:currentColor;stroke-width:8;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:trace 1.3s var(--courbe) .7s forwards}
@keyframes trace{to{stroke-dashoffset:0}}
.hero-sous{max-width:30em;margin:0 0 var(--e-4);font-family:var(--f-titre);font-size:var(--t-xl);font-weight:600;line-height:1.3;color:var(--c-accent-fonce)}
.sous-libelle:not(:empty)+.sous-repli{display:none}
.hero .media{box-shadow:var(--ombre-forte)}

/* ---------- Illustrations : toujours étiquetées, jamais présentées comme un travail du client ---------- */
.cadre-illu{position:relative;margin:0}
.illu{position:absolute;left:14px;bottom:14px;padding:4px 11px;border-radius:var(--r-pill);background:rgba(255,255,255,.9);color:var(--c-encre);font-size:.6875rem;font-weight:700;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}
.hero .illu{left:auto;right:18px;bottom:18px}

/* ---------- Activités : en-tête illustré, grille qui s'adapte au nombre de cartes ---------- */
.activites-tete{margin-bottom:var(--e-7);align-items:end}
.activites-tete .bande-tete{margin:0}
#activites .cartes{--min:250px}
#activites .cartes:has(>.carte:nth-child(3):last-child),#activites .cartes:has(>.carte:nth-child(5):last-child),#activites .cartes:has(>.carte:nth-child(6):last-child),#activites .cartes:has(>.carte:nth-child(9):last-child){--min:300px}
#activites .cartes:has(>.carte:nth-child(2):last-child){--min:420px}

/* ---------- Avis : la note relevée et sa source ; les vrais avis se recopient ensemble ---------- */
.avis-note{display:flex;flex-wrap:wrap;align-items:center;gap:var(--e-4) var(--e-5);margin-top:var(--e-6);padding:var(--e-5);border:1px solid var(--c-trait);border-radius:var(--r-l);background:var(--c-carte);box-shadow:var(--ombre)}
.avis-chiffre{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--f-titre);font-size:var(--t-2xl);font-weight:var(--g-titre);line-height:1;white-space:nowrap}
.avis-chiffre .ico{width:1em;height:1em;fill:#E3A008;stroke:none}
.avis-texte{display:grid;flex:1 1 220px;gap:4px;margin:0;color:var(--c-encre-2)}
.avis-texte b{color:var(--c-encre)}

/* ---------- Réseaux : liens trouvés en pastilles pleines, emplacements libres en pointillés ---------- */
.reseaux{display:flex;flex-wrap:wrap;align-items:center;gap:var(--e-4) var(--e-5);margin-top:var(--e-6);padding:var(--e-5);border:1px solid var(--c-trait);border-radius:var(--r-l);background:var(--c-carte)}
.reseaux-tete{display:inline-flex;align-items:center;gap:10px;margin:0;font-weight:var(--g-fort)}
.reseaux-tete .ico{color:var(--c-accent-fonce)}
.reseaux-liste,.reseaux-liens{display:flex;flex-wrap:wrap;gap:var(--e-2);margin:0;font-size:0}
.reseaux-liens a,.reseau-vide{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:var(--r-pill);font-size:var(--t-s);font-weight:var(--g-fort);line-height:1.2}
.reseaux-liens a{background:var(--c-accent);color:var(--c-accent-encre);text-decoration:none;transition:background-color .25s}
.reseaux-liens a:hover{background:var(--c-accent-fonce);color:var(--c-accent-encre)}
.reseaux-liens a::after{content:"";width:.9em;height:.9em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M10 14 21 3M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M10 14 21 3M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center/contain no-repeat}
.reseau-vide{border:1.5px dashed color-mix(in srgb,var(--c-encre) 30%,transparent);color:var(--c-encre-2)}
.reseau-vide small{font-size:var(--t-xs);font-weight:400}

/* ---------- Contact : anneaux clairs dans la bande, numéro et e-mail directs ---------- */
.contact{overflow:hidden}
.contact::before{content:"";position:absolute;right:-140px;top:-90px;width:520px;aspect-ratio:1;border-radius:50%;border:2px solid rgba(255,255,255,.16);box-shadow:0 0 0 70px rgba(255,255,255,.05);pointer-events:none}
@media (max-width:759.98px){.contact::before{right:-300px;top:-200px}}
.contact .boite{position:relative}
.contact-appel{display:grid;gap:var(--e-3);margin:var(--e-6) 0 0;padding-top:var(--e-5);border-top:1px solid rgba(255,255,255,.24)}
.contact-appel>span{font-weight:var(--g-fort);opacity:.92}
.contact-mail{display:flex;align-items:center;gap:10px;margin:var(--e-4) 0 0;font-weight:var(--g-fort)}
.contact-mail a{overflow-wrap:anywhere}

/* ---------- Infos pratiques ---------- */
.infos-duo{margin-top:var(--e-2);align-items:start}
