/* Palette du site (2026-11-11) : boutons « lin-écru » + rouge voile #D62631 bien présent.
   Le rouge sert aux accents, aux coutures pointillées et au survol des boutons. */

html[data-palette]{
  --lin:#E4DAC8; --lin-fonce:#D6C9B1; --lin-clair:#F1EBE0;
}

/* Petits titres : texte rouge + couture devant */
html[data-palette] .eyebrow{color:var(--rouge);display:inline-flex;align-items:center;gap:12px}
html[data-palette] .eyebrow::before{content:"";width:28px;border-top:2px dashed var(--rouge)}
html[data-palette] .collecte .eyebrow{color:#F2A6AB}
html[data-palette] .collecte .eyebrow::before{border-color:#F2A6AB}
html[data-palette] .hero h1 em{color:var(--rouge)}
html[data-palette] .annonce span{color:#F2A6AB}

/* Boutons (2026-11-22) : au survol, une couture rouge en pointillés se coud tout autour du bouton.
   L'angle --couture va de 0 à 360° : le masque conique dévoile la couture dans le sens des aiguilles d'une montre. */
@property --couture{syntax:'<angle>';inherits:false;initial-value:0deg}
html[data-palette] .btn{position:relative;isolation:isolate}
html[data-palette] .btn::after{content:"";position:absolute;inset:4px;border:3px dashed var(--rouge);border-radius:999px;pointer-events:none;
  -webkit-mask:conic-gradient(from 0deg,#000 var(--couture),transparent 0);mask:conic-gradient(from 0deg,#000 var(--couture),transparent 0);
  transition:--couture .7s cubic-bezier(.45,0,.2,1)}
html[data-palette] .btn:hover::after,html[data-palette] .btn:focus-visible::after{--couture:360deg}
html[data-palette] .btn:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(31,42,54,.14)}
html[data-palette] .btn:active{transform:translateY(0);box-shadow:none}
html[data-palette] .btn-rouge{background:var(--lin);color:var(--nuit)}
html[data-palette] .btn-rouge:hover{background:var(--lin-clair);color:var(--nuit)}
html[data-palette] .btn-ligne{background:transparent}
html[data-palette] .btn-ligne:hover{background:#fff;color:var(--nuit)}
html[data-palette] .btn-ligne::after{inset:3px}
html[data-palette] .collecte .btn-rouge:hover,html[data-palette] .appel .btn-rouge:hover{background:#fff}
html[data-palette] .appel .hero-actions .btn-ligne:hover{background:#fff;color:var(--nuit)}

/* Liens */
html[data-palette] .menu a:hover,html[data-palette] .tel:hover{color:var(--rouge)}
html[data-palette] .carte .lien{color:var(--rouge)}
html[data-palette] .hero-note a{border-bottom:2px dashed var(--rouge)}

/* Icônes : pastille lin + trait rouge + anneau cousu */
html[data-palette] .carte .ico,html[data-palette] .engagement .ico{background:var(--lin-clair);position:relative;transition:.25s}
html[data-palette] .carte .ico svg,html[data-palette] .engagement .ico svg{stroke:var(--rouge)}
html[data-palette] .carte .ico::after{content:"";position:absolute;inset:3px;border:1px dashed var(--rouge);border-radius:9px;opacity:.7}
html[data-palette] .engagement .ico::after{content:"";position:absolute;inset:3px;border:1px dashed var(--rouge);border-radius:50%;opacity:.7}
html[data-palette] a.carte:hover .ico{background:var(--rouge)}
html[data-palette] a.carte:hover .ico svg{stroke:#fff}
html[data-palette] a.carte:hover .ico::after{border-color:#fff}

/* Carte « Demander un devis » : rouge plein + couture blanche */
html[data-palette] .carte-cta{background:var(--rouge)!important;border-color:var(--rouge);position:relative}
html[data-palette] .carte-cta::after{content:"";position:absolute;inset:8px;border:1.5px dashed rgba(255,255,255,.7);border-radius:9px;pointer-events:none}
html[data-palette] .carte-cta p{color:#FBDADC}

/* Collecte : numéros rouges cousus */
html[data-palette] .etape .num{background:var(--rouge);position:relative}
html[data-palette] .etape .num::after{content:"";position:absolute;inset:3px;border:1px dashed rgba(255,255,255,.7);border-radius:50%}
html[data-palette] .collecte .btn-rouge{background:var(--lin)}

/* Réalisations, chiffres, devis */
html[data-palette] .photo .legende small{color:var(--rouge)}
html[data-palette] .photo.avec-photo .legende small{color:#fff;opacity:.92}
html[data-palette] .photo.avec-photo .legende small::before{content:"";display:inline-block;width:18px;height:2px;background:var(--rouge);vertical-align:middle;margin-right:8px}
html[data-palette] .chiffre b{color:var(--rouge);padding-bottom:6px;border-bottom:2px dashed var(--rouge);display:inline-block}
html[data-palette] .contact-direct a span svg{stroke:var(--rouge)}
html[data-palette] .choix label:has(input:checked){border-color:var(--rouge);background:#FDF1F2;color:var(--rouge)}
html[data-palette] .consent input{accent-color:var(--rouge)}

/* Séparations en coutures */
html[data-palette] .sable{background:var(--lin-clair)}
html[data-palette] .engagements,html[data-palette] .sf{border-top:1.5px dashed rgba(214,38,49,.45)}
html[data-palette] .collecte{border-top:3px dashed var(--rouge)}
