/* theme.css — direction artistique FABRIQUÉE. NE PAS ÉDITER À LA MAIN.
 * Site : volets-touraine.fr — DA V1 « Documentaire austère », famille « bleu roi »,
 * tirage 2793f552d0ed. Généré le 2026-10-16 par
 * common/infra/fabriquer_theme.py, depuis common/da/directions.json.
 * La STRUCTURE reste celle du Worker ; ce thème pose ses tokens et le
 * style des treize composants du contrat. */

:root{
  --fond: #f7f7f5;
  --encre: #1f1d1d;
  --gris: #605c5c;
  --trait: #a39d9d;
  --trait-epaisseur: 1px;
  --accent: #24469c;
  --accent-encre: #ffffff;
  --lien: #24469c;
  --alerte: #f7f7f5;
  --famille-titres: Georgia, 'Times New Roman', Times, serif;
  --famille-corps: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --interligne: 1.48;
  --rayon: 0;
  --rayon-pilule: 0;
  --ombre: none;
  --espace-s: 0.375rem;
  --espace-m: 1rem;
  --espace-l: 2rem;
  --gouttiere: 0.875rem;
  --accent-fonce: #1c377b;
}

/* page et texte */
body{background:var(--fond);color:var(--encre);font-family:var(--famille-corps);line-height:var(--interligne)}
h1,h2,h3{font-family:var(--famille-titres);font-weight:700;color:var(--encre);line-height:1.2}
a{color:var(--lien);text-decoration-thickness:var(--trait-epaisseur);text-underline-offset:.18em}
a:hover{color:var(--accent-fonce)}
.chapo,.intro{color:var(--gris)}
.surtitre{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:700}
.marque{color:var(--encre);font-family:var(--famille-titres);font-weight:700}

/* ombres interdites par la DA : le survol garde l'anneau, sans ombre portée */
.devis .bouton:hover,.bandeau nav a.nav-devis:hover,#cc-root .cc-bouton:hover{box-shadow:0 0 0 2px var(--encre)}

/* bouton */
.bouton{display:inline-block;padding:.7rem 1.25rem;line-height:1.3;background:var(--accent);color:var(--accent-encre);border:var(--trait-epaisseur) solid var(--accent);border-radius:var(--rayon);font-family:var(--famille-corps);font-weight:700;text-decoration:none}
.bouton:hover,.bandeau nav a.nav-devis:hover{background:var(--accent-fonce);border-color:var(--accent-fonce);color:var(--accent-encre)}
.bouton:focus-visible,.bandeau nav a.nav-devis:focus-visible{outline:2px solid var(--encre);outline-offset:3px}

/* encadre_limites, encadre_titre */
.limites{background:var(--alerte);border:0;border-top:var(--trait-epaisseur) solid var(--gris);border-bottom:var(--trait-epaisseur) solid var(--gris);border-radius:0;color:var(--encre)}
.limites strong{display:block;font-family:var(--famille-titres);font-weight:700;margin-bottom:var(--espace-s)}

/* tableau_conteneur, tableau, tableau_entete, tableau_cellule, tableau_legende */
.tableau-defilant{overflow-x:auto;margin:var(--espace-m) 0;border-radius:var(--rayon)}
table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
th{text-align:left;font-weight:700}
td{color:var(--encre)}
table{border:var(--trait-epaisseur) solid var(--encre)}
th,td{border:var(--trait-epaisseur) solid var(--trait)}
th{background:var(--encre);color:var(--fond)}
table caption{caption-side:top;text-align:left;color:var(--gris);font-size:.875rem;padding:0 0 var(--espace-s)}

/* faq_question, faq_reponse */
.faq dt{font-family:var(--famille-titres);font-weight:700;color:var(--encre);margin-top:var(--espace-m);padding-top:var(--espace-s);border-top:var(--trait-epaisseur) solid var(--trait)}
.faq dd{color:var(--encre);margin:var(--espace-s) 0 0}

/* formulaire_champ */
input, select, textarea{font:inherit;color:var(--encre);background:var(--fond);border:var(--trait-epaisseur) solid var(--gris);border-radius:var(--rayon);padding:var(--espace-s) .6rem}
input:hover, select:hover, textarea:hover{border-color:var(--encre)}
input:focus-visible, select:focus-visible, textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* fil_ariane */
.ariane{font-size:.8125rem}
.ariane a{color:var(--gris);text-decoration:underline}
.ariane a:hover{color:var(--encre)}

/* pied — les marges sont celles du réseau, jamais écrasées ici */
.pied{color:var(--gris);border-top:var(--trait-epaisseur) solid var(--trait)}
.pied a:hover{color:var(--encre);text-decoration:underline}
