@charset "UTF-8";
/* ---------------------------------------------------------------
   TOURRES-INFORMATIQUE — feuille de style unique
   Couleurs relevées au pixel sur le master du logo.
   Aucune ressource externe : tout est servi depuis le site.
   --------------------------------------------------------------- */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* Marque */
  --rouge:        #950000;
  --rouge-vif:    #FC2121;
  --anthracite:   #363C3E;

  /* Neutres */
  --noir:         #1A1D1E;
  --gris-fonce:   #4A5254;
  --gris:         #6E7679;
  --gris-clair:   #D9DCDD;
  --gris-bord:    #E7EAEB;
  --fond:         #FBFAF9;
  --blanc:        #FFFFFF;

  /* Typographie — corps à 18 px minimum, clientèle âgée */
  --police-titre: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --police-corps: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --t-corps:      1.125rem;
  --t-petit:      1rem;
  --t-h1:         clamp(2rem, 1.2rem + 3.2vw, 3.25rem);
  --t-h2:         clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --t-h3:         clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);

  /* Rythme */
  --e1: 0.5rem;  --e2: 1rem;   --e3: 1.5rem;
  --e4: 2.5rem;  --e5: 4rem;   --e6: 6rem;

  --largeur-max:  72rem;   /* grilles de cartes, tableaux, listes */
  --largeur-texte: 44rem;  /* sections de texte suivi : la colonne de lecture
                              est centrée, pour ne pas laisser un vide à droite */
  --rayon:        4px;
  --ombre:        0 1px 3px rgba(26,29,30,.10), 0 6px 20px rgba(26,29,30,.06);
  --transition:   140ms ease-out;
}

*, *::before, *::after { box-sizing: border-box; }

/* scroll-padding compense l'en-tête collant : sans lui, une arrivée par ancre
   place le titre visé sous l'en-tête et le rend invisible. */
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--anthracite);
  font-family: var(--police-corps);
  font-size: var(--t-corps);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: 1.15;
  color: var(--noir);
  margin: 0 0 var(--e2);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 600; }

p, li { max-width: 68ch; }
p { margin: 0 0 var(--e2); }

a { color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--rouge-vif); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rouge-vif);
  outline-offset: 3px;
}

img, svg { max-width: 100%; height: auto; }

strong { font-weight: 600; }

.saut-contenu {
  position: absolute; left: -9999px;
  background: var(--noir); color: var(--blanc);
  padding: var(--e2); z-index: 100;
}
.saut-contenu:focus { left: var(--e2); top: var(--e2); }

/* Titre présent pour la structure, masqué visuellement */
.sr-titre {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Remarque sous un bloc — évite tout style en ligne, que la CSP interdit */
.note { margin-top: var(--e3); }
.note--sombre { color: var(--gris-clair); }

.contenu { width: 100%; max-width: var(--largeur-max); margin-inline: auto; padding-inline: var(--e3); }

/* Sections de texte suivi : colonne de lecture étroite et centrée.
   Sans ce modificateur, un paragraphe plafonné à 68 caractères dans un
   conteneur de 72rem s'arrête au milieu et déséquilibre toute la page. */
.contenu--texte { max-width: var(--largeur-texte); }

/* --- Bandeau de contact en haut de page --- */
.bandeau-contact {
  background: var(--anthracite);
  color: var(--blanc);
  font-size: var(--t-petit);
}
.bandeau-contact .contenu {
  display: flex; flex-wrap: wrap; gap: var(--e2) var(--e3);
  align-items: center; justify-content: space-between;
  min-height: 2.75rem; padding-block: var(--e1);
}
.bandeau-contact a { color: var(--blanc); text-decoration: none; font-weight: 600; }
.bandeau-contact a:hover { text-decoration: underline; color: var(--blanc); }

/* --- En-tête et navigation --- */
.entete { background: var(--blanc); border-bottom: 1px solid var(--gris-bord); position: sticky; top: 0; z-index: 50; }
.entete .contenu { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); min-height: 5rem; }
.entete__logo { display: block; line-height: 0; }
.entete__logo img { width: 220px; display: block; }

.nav-principale ul { display: flex; gap: var(--e3); list-style: none; margin: 0; padding: 0; }
.nav-principale li { max-width: none; }
.nav-principale a {
  display: inline-flex; align-items: center; min-height: 48px;
  font-family: var(--police-titre); font-weight: 600; font-size: var(--t-petit);
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--anthracite); text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav-principale a:hover { color: var(--rouge); }
.nav-principale a[aria-current="page"] { color: var(--rouge); border-bottom-color: var(--rouge); }

#bouton-menu { display: none; }

/* --- Boutons --- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--e1);
  min-height: 52px; padding: 0 var(--e3);
  font-family: var(--police-titre); font-weight: 700; font-size: 1.0625rem;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--rayon);
  cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.bouton--principal { background: var(--rouge); color: var(--blanc); }
.bouton--principal:hover { background: var(--rouge-vif); color: var(--blanc); }
.bouton--secondaire { background: transparent; color: var(--anthracite); border-color: var(--gris-clair); }
.bouton--secondaire:hover { border-color: var(--anthracite); color: var(--noir); }
.bouton--clair { background: var(--blanc); color: var(--noir); }
.bouton--clair:hover { background: var(--gris-bord); color: var(--noir); }
.boutons { display: flex; flex-wrap: wrap; gap: var(--e2); }

/* --- Sections --- */
.section { padding-block: var(--e5); }
.section--serre { padding-block: var(--e4); }
.section--sombre { background: var(--anthracite); color: var(--gris-bord); }
.section--sombre h2, .section--sombre h3 { color: var(--blanc); }
.section--sombre a { color: var(--blanc); }
.section--blanche { background: var(--blanc); }
.section__intro { max-width: 62ch; margin-bottom: var(--e4); }

/* --- Accroche --- */
.accroche { padding-block: var(--e5) var(--e4); }
.accroche h1 { max-width: 20ch; }
.accroche__chapeau { font-size: 1.25rem; max-width: 56ch; color: var(--gris-fonce); }

/* --- Bandeau de réassurance --- */
.reassurance { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e2) var(--e3); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.reassurance li { max-width: none; font-family: var(--police-titre); font-weight: 600; padding-left: var(--e2); border-left: 3px solid var(--rouge-vif); }

/* --- Cartes --- */
.grille-cartes { display: grid; gap: var(--e3); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grille-cartes--large { grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); }
.carte {
  background: var(--blanc); border: 1px solid var(--gris-bord); border-top: 4px solid var(--rouge);
  border-radius: var(--rayon); padding: var(--e3);
}
.carte h3 { margin-bottom: var(--e1); }
.carte p { max-width: none; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.carte__picto { width: 40px; height: 40px; color: var(--rouge); margin-bottom: var(--e2); }
.carte__prix { display: block; font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem; color: var(--rouge); margin-top: var(--e2); }
.carte__lien { display: inline-block; margin-top: var(--e2); font-family: var(--police-titre); font-weight: 600; }

/* --- Listes de prestations détaillées --- */
.prestations { list-style: none; margin: 0 0 var(--e4); padding: 0; display: grid; gap: var(--e3); }
.prestations > li {
  max-width: none; background: var(--blanc); border: 1px solid var(--gris-bord);
  border-left: 4px solid var(--rouge); border-radius: var(--rayon); padding: var(--e3);
  display: grid; gap: var(--e1) var(--e3); grid-template-columns: 1fr auto; align-items: start;
}
.prestations h3 { grid-column: 1; margin: 0; }
.prestations .prix { grid-column: 2; grid-row: 1 / span 2; font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem; color: var(--rouge); white-space: nowrap; text-align: right; }
.prestations p { grid-column: 1; margin: 0; max-width: 62ch; }

/* --- Étapes numérotées --- */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e3); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: etape; }
.etapes li { max-width: none; counter-increment: etape; padding-top: var(--e3); border-top: 3px solid var(--gris-clair); }
.etapes li::before {
  content: counter(etape);
  display: block; font-family: var(--police-titre); font-weight: 700;
  font-size: 2.5rem; line-height: 1; color: var(--rouge); margin-bottom: var(--e1);
}
.etapes h3 { margin-bottom: var(--e1); }
.etapes p { margin: 0; }

/* --- Tableaux de tarifs --- */
.tableau-enveloppe { overflow-x: auto; margin-bottom: var(--e4); }
.tableau-tarifs { width: 100%; border-collapse: collapse; min-width: 34rem; }
.tableau-tarifs caption { text-align: left; font-family: var(--police-titre); font-weight: 700; font-size: var(--t-h3); color: var(--noir); padding-bottom: var(--e2); }
.tableau-tarifs th, .tableau-tarifs td { text-align: left; padding: var(--e2); border-bottom: 1px solid var(--gris-bord); vertical-align: top; }
.tableau-tarifs thead th { background: var(--anthracite); color: var(--blanc); font-family: var(--police-titre); font-size: var(--t-petit); text-transform: uppercase; letter-spacing: .04em; }
.tableau-tarifs td:last-child, .tableau-tarifs thead th:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.tableau-tarifs tbody tr:nth-child(odd) { background: var(--blanc); }

/* --- Zone d'intervention --- */
/* minmax à 16rem pour que les quatre zones tiennent sur une seule ligne
   à 72rem : sinon la zone 4 se retrouve orpheline sur une deuxième ligne. */
.zone-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e3) var(--e2); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.zone-liste li { max-width: none; border-left: 4px solid var(--rouge); padding-left: var(--e2); }
.zone-liste strong { display: block; font-family: var(--police-titre); font-weight: 700; }
.zone-liste .zone-prix { font-family: var(--police-titre); font-weight: 700; color: var(--rouge); }

/* --- Texte long des pages légales --- */
.texte-long h2 { margin-top: var(--e4); }
.texte-long h2:first-child { margin-top: 0; }
.texte-long dl { margin: 0 0 var(--e3); }
.texte-long dt { font-family: var(--police-titre); font-weight: 600; color: var(--noir); margin-top: var(--e2); }
.texte-long dd { margin: 0 0 var(--e1); }
.encadre { background: var(--blanc); border: 1px solid var(--gris-bord); border-left: 4px solid var(--rouge); border-radius: var(--rayon); padding: var(--e3); margin-bottom: var(--e3); }
.encadre p:last-child { margin-bottom: 0; }

/* --- Pied de page --- */
.pied { background: var(--noir); color: var(--gris-clair); padding-block: var(--e4); font-size: var(--t-petit); }
.pied a { color: var(--blanc); }
.pied a:hover { color: var(--gris-clair); }
.pied__grille { display: grid; gap: var(--e4); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.pied h2 { font-family: var(--police-titre); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blanc); margin-bottom: var(--e1); }
.pied p { max-width: none; }

/* --- Barre d'action fixe sur mobile --- */
.barre-mobile { display: none; }

/* --- Adaptatif --- */
@media (max-width: 60rem) {
  .entete .contenu { min-height: 4.25rem; flex-wrap: wrap; }
  .entete__logo img { width: 150px; }

  #bouton-menu {
    display: inline-flex; align-items: center; gap: var(--e1);
    min-height: 48px; padding: 0 var(--e2);
    background: transparent; border: 2px solid var(--gris-clair); border-radius: var(--rayon);
    font-family: var(--police-titre); font-weight: 600; font-size: var(--t-petit);
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--anthracite); cursor: pointer;
  }
  .nav-principale { display: none; width: 100%; order: 3; }
  .nav-principale.est-ouvert { display: block; }
  .nav-principale ul { flex-direction: column; gap: 0; padding-bottom: var(--e2); }
  .nav-principale a { width: 100%; padding-block: var(--e1); border-bottom: 1px solid var(--gris-bord); }
  .nav-principale a[aria-current="page"] { border-bottom-color: var(--rouge); }

  body { padding-bottom: 4.5rem; }
  .barre-mobile {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 60;
    background: var(--anthracite); border-top: 3px solid var(--rouge);
  }
  .barre-mobile a {
    display: flex; align-items: center; justify-content: center;
    min-height: 56px; color: var(--blanc); text-decoration: none;
    font-family: var(--police-titre); font-weight: 600; font-size: var(--t-petit);
    text-transform: uppercase; letter-spacing: .04em;
  }
  .barre-mobile a + a { border-left: 1px solid var(--gris-fonce); }
  .barre-mobile a:first-child { background: var(--rouge); }

  .prestations > li { grid-template-columns: 1fr; }
  .prestations .prix { grid-column: 1; grid-row: auto; text-align: left; }
}

@media (max-width: 30rem) {
  .accroche__chapeau { font-size: 1.125rem; }
  .boutons .bouton { width: 100%; }
}

/* --- Impression : la page Tarifs doit sortir proprement --- */
@media print {
  .bandeau-contact, .barre-mobile, #bouton-menu, .nav-principale, .pied, .boutons { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; padding: 0; }
  .entete { position: static; border: 0; }
  .entete .contenu { min-height: 0; padding-block: 0.4cm; }
  .section { padding-block: 0.4cm; }
  .tableau-enveloppe { overflow: visible; }
  .tableau-tarifs { min-width: 0; }
  .tableau-tarifs th, .tableau-tarifs td { padding: 4pt 6pt; border-bottom: 0.5pt solid #999; }
  .tableau-tarifs thead th { background: #eee !important; color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tableau-tarifs tbody tr:nth-child(odd) { background: transparent; }
  a[href^="tel"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .tableau-tarifs { page-break-inside: auto; }
  .tableau-tarifs tr { page-break-inside: avoid; }
  h2 { page-break-after: avoid; }
}
