/* ============================================================
   PROTECXIA — Feuille de style
   Palette issue du logo. Ne pas modifier hors du bloc :root.
   ============================================================ */

:root{
  --noir:#0D0F14;
  --noir-2:#171A21;
  --noir-3:#242832;
  --rouge:#E8312A;
  --rouge-fonce:#C41E17;
  --rouge-pale:#FDECEB;
  --texte:#1F2229;
  --texte-2:#5C6270;
  --bordure:#DDE0E5;
  --fond:#F5F6F8;
  --vert:#1E8E4E;

  --max:1140px;
  --gouttiere:24px;
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:17px;
  line-height:1.7;
  color:var(--texte);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:'Barlow Condensed','Inter',sans-serif;
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.005em;
  margin:0 0 .5em;
  color:var(--noir);
}
h1{ font-size:46px; }
h2{ font-size:34px; line-height:1.2; }
h3{ font-size:24px; line-height:1.3; }
h4{ font-family:'Inter',sans-serif; font-weight:600; font-size:19px; margin:0 0 .4em; color:var(--noir); }

p{ margin:0 0 1.1em; max-width:72ch; }
a{ color:var(--noir); text-decoration-color:var(--bordure); text-underline-offset:3px; }
a:hover{ color:var(--rouge); text-decoration-color:currentColor; }

a:focus-visible,button:focus-visible,input:focus-visible,
textarea:focus-visible,select:focus-visible{
  outline:2px solid var(--rouge);
  outline-offset:2px;
}

.enveloppe{ max-width:var(--max); margin:0 auto; padding:0 var(--gouttiere); }
.etroit{ max-width:760px; }

/* ---------- En-tête ---------- */

.entete{
  position:sticky; top:0; z-index:900;
  background:var(--noir);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.entete__inner{
  max-width:var(--max); margin:0 auto; padding:0 var(--gouttiere);
  display:flex; align-items:center; justify-content:space-between;
  min-height:74px; gap:20px;
}
.entete__logo{ display:flex; align-items:center; flex-shrink:0; }
.entete__logo img{ height:26px; width:auto; display:block; }

.nav{ display:flex; align-items:center; gap:4px; }
.nav a{
  color:#E7E9EC; text-decoration:none;
  font-size:15px; font-weight:600;
  padding:9px 13px; border-radius:2px;
  white-space:nowrap;
}
.nav a:hover{ color:#fff; background:var(--noir-2); }
.nav a[aria-current="page"]{ color:var(--rouge); }

.bouton{
  display:inline-block;
  background:var(--rouge); color:#fff !important;
  font-weight:600; font-size:16px; letter-spacing:.2px;
  padding:14px 28px; border-radius:2px;
  text-decoration:none; border:none; cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:background .18s;
}
.bouton:hover{ background:var(--rouge-fonce); color:#fff !important; }
.bouton--petit{ padding:10px 18px; font-size:15px; }
.bouton--ligne{
  background:transparent; color:#fff !important;
  border:1.5px solid rgba(255,255,255,.35);
}
.bouton--ligne:hover{ background:rgba(255,255,255,.09); border-color:#fff; }

.burger{
  display:none; background:none; border:none; cursor:pointer;
  padding:8px; color:#fff;
}
.burger svg{ display:block; }

/* ---------- Bandeau principal ---------- */

.hero{
  position:relative; overflow:hidden;
  background:var(--noir); color:#D7DAE0;
  padding:88px 0 84px;
}
/* Faisceaux de couverture : rappel du champ de vision d'une caméra.
   Motif discret, sans image, uniquement en CSS. */
.hero::before{
  content:""; position:absolute; inset:0;
  background:
    repeating-linear-gradient(74deg,
      rgba(232,49,42,.055) 0 1px,
      transparent 1px 116px),
    repeating-linear-gradient(106deg,
      rgba(255,255,255,.03) 0 1px,
      transparent 1px 92px);
  pointer-events:none;
}
.hero > *{ position:relative; }
.hero h1{ color:#fff; max-width:19ch; margin-bottom:22px; }
.hero p{ font-size:19px; max-width:56ch; color:#B9BEC7; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero__note{
  margin-top:26px; font-size:14.5px; color:#7E8592;
  border-top:1px solid rgba(255,255,255,.1); padding-top:16px;
  max-width:52ch;
}

/* ---------- Sections ---------- */

.section{ padding:76px 0; }
.section--gris{ background:var(--fond); }
.section--sombre{ background:var(--noir); color:#C9CDD5; }
.section--sombre h2,.section--sombre h3{ color:#fff; }
.section--serre{ padding:52px 0; }

.section__intro{ max-width:66ch; margin-bottom:44px; }
.section__intro p:last-child{ margin-bottom:0; }

/* ---------- Bandeau de réassurance ---------- */

.reassurance{
  background:var(--noir-2);
  border-top:1px solid rgba(255,255,255,.07);
}
.reassurance__grille{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:rgba(255,255,255,.07);
}
.reassurance__item{ background:var(--noir-2); padding:26px 22px; }
.reassurance__item strong{
  display:block; color:#fff; font-size:15.5px; margin-bottom:5px;
}
.reassurance__item span{ color:#8D94A1; font-size:14px; line-height:1.55; display:block; }

/* ---------- Blocs à filet (remplace les cartes arrondies) ---------- */

.filets{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px; }
.filet{ border-top:2px solid var(--noir); padding-top:20px; }
.filet--rouge{ border-top-color:var(--rouge); }
.filet h3{ margin-bottom:10px; }
.filet p{ font-size:16px; color:var(--texte-2); }
.filet a{ font-weight:600; font-size:15.5px; }

.deux{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }

/* ---------- Étapes numérotées (c'est bien une séquence) ---------- */

.etapes{ counter-reset:etape; display:grid; gap:2px; }
.etape{
  counter-increment:etape;
  display:grid; grid-template-columns:64px 1fr; gap:20px;
  padding:22px 0; border-bottom:1px solid var(--bordure);
}
.etape:first-child{ border-top:1px solid var(--bordure); }
.etape::before{
  content:counter(etape);
  font-family:'Barlow Condensed',sans-serif; font-weight:700;
  font-size:38px; line-height:1; color:var(--rouge);
}
.etape h3{ font-size:20px; margin-bottom:4px; }
.etape p{ margin:0; font-size:16px; color:var(--texte-2); }

/* ---------- Liste de points ---------- */

.points{ list-style:none; padding:0; margin:0; }
.points li{
  padding:11px 0 11px 26px; position:relative;
  border-bottom:1px solid var(--bordure); font-size:16.5px;
}
.points li::before{
  content:""; position:absolute; left:0; top:20px;
  width:9px; height:2px; background:var(--rouge);
}

/* ---------- Encadré ---------- */

.encadre{
  background:var(--rouge-pale);
  border-left:3px solid var(--rouge);
  padding:20px 24px; margin:28px 0;
}
.encadre p:last-child{ margin-bottom:0; }
.encadre--neutre{ background:var(--fond); border-left-color:var(--noir); }

/* ---------- Tableau des forfaits ---------- */

.table-enveloppe{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.tarifs{
  width:100%; border-collapse:collapse;
  font-size:15px; min-width:720px;
}
.tarifs th,.tarifs td{
  padding:13px 14px; text-align:center;
  border-bottom:1px solid var(--bordure);
}
.tarifs th:first-child,.tarifs td:first-child{
  text-align:left; font-weight:500; color:var(--texte-2);
  min-width:190px;
}
.tarifs thead th{
  background:var(--noir); color:#fff;
  font-family:'Barlow Condensed',sans-serif;
  font-size:21px; font-weight:700; letter-spacing:.3px;
  vertical-align:bottom; padding-top:20px;
}
.tarifs thead th span{
  display:block; font-family:'Inter',sans-serif;
  font-size:12.5px; font-weight:400; color:#9aa1ad;
  letter-spacing:0; margin-top:3px;
}
.tarifs tbody tr:nth-child(even){ background:var(--fond); }
.tarifs .oui{ color:var(--vert); font-weight:700; }
.tarifs .non{ color:#B9BEC7; }
.tarifs .prix{
  font-family:'Barlow Condensed',sans-serif;
  font-size:27px; font-weight:700; color:var(--noir);
}
.tarifs .phare{
  background:var(--rouge-pale) !important;
  border-left:2px solid var(--rouge);
  border-right:2px solid var(--rouge);
}
.tarifs thead th.phare{ background:var(--rouge) !important; border-color:var(--rouge); }
.tarifs thead th.phare span{ color:rgba(255,255,255,.8); }
.tarifs tbody tr:last-child .phare{ border-bottom:2px solid var(--rouge); }

/* ---------- Questions fréquentes ---------- */

.faq{ border-top:1px solid var(--bordure); }
.faq details{ border-bottom:1px solid var(--bordure); }
.faq summary{
  cursor:pointer; list-style:none;
  padding:18px 40px 18px 0; position:relative;
  font-weight:600; font-size:17px; color:var(--noir);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; position:absolute; right:6px; top:15px;
  font-size:24px; font-weight:400; color:var(--rouge);
  line-height:1;
}
.faq details[open] summary::after{ content:"–"; }
.faq details > *:not(summary){ margin-bottom:18px; font-size:16px; color:var(--texte-2); }

/* ---------- Formulaire ---------- */

.formulaire{ display:grid; gap:18px; }
.champ label{
  display:block; font-weight:600; font-size:14.5px;
  margin-bottom:6px; color:var(--noir);
}
.champ input,.champ textarea,.champ select{
  width:100%; font-family:inherit; font-size:16px;
  padding:13px 14px;
  border:1px solid var(--bordure); border-radius:2px;
  background:#fff; color:var(--texte);
}
.champ textarea{ min-height:120px; resize:vertical; }
.champ input:focus,.champ textarea:focus,.champ select:focus{
  border-color:var(--rouge); outline:none;
  box-shadow:0 0 0 3px rgba(232,49,42,.12);
}
.duo{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.cases{ display:flex; flex-wrap:wrap; gap:8px 20px; }
.cases label{
  display:flex; align-items:center; gap:8px;
  font-weight:400; font-size:15.5px; margin:0;
}
.cases input{ width:auto; }
.consentement{
  display:flex; gap:11px; align-items:flex-start;
  font-size:15px; line-height:1.5;
}
.consentement input{ width:auto; margin-top:4px; flex-shrink:0; }
.mention-rgpd{ font-size:13.5px; color:var(--texte-2); line-height:1.55; }
.obligatoire{ color:var(--rouge); }

.message{ padding:16px 20px; border-radius:2px; margin-bottom:24px; font-size:16px; }
.message--ok{ background:#E8F5EE; border-left:3px solid var(--vert); }
.message--erreur{ background:var(--rouge-pale); border-left:3px solid var(--rouge); }

/* ---------- Coordonnées ---------- */

.coordonnees dt{
  font-size:13px; font-weight:600; color:var(--texte-2);
  margin-top:20px;
}
.coordonnees dd{ margin:2px 0 0; font-size:17px; }
.coordonnees dd a{ font-weight:600; text-decoration:none; }

/* ---------- Appel à l'action de bas de page ---------- */

.cta-final{ background:var(--noir); color:#B9BEC7; padding:70px 0; text-align:center; }
.cta-final h2{ color:#fff; }
.cta-final p{ margin:0 auto 26px; max-width:56ch; }

/* ---------- Pied de page ---------- */

.pied{ background:var(--noir); color:#8D94A1; padding:56px 0 28px; font-size:15px;
       border-top:1px solid rgba(255,255,255,.08); }
.pied__grille{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; }
.pied img{ height:28px; margin-bottom:16px; }
.pied h3{ color:#fff; font-size:16px; font-family:'Inter',sans-serif;
          font-weight:600; margin-bottom:12px; letter-spacing:0; }
.pied ul{ list-style:none; padding:0; margin:0; }
.pied li{ margin-bottom:8px; }
.pied a{ color:#8D94A1; text-decoration:none; }
.pied a:hover{ color:#fff; }
.pied__bas{
  margin-top:40px; padding-top:22px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex; flex-wrap:wrap; gap:8px 22px;
  font-size:13.5px; color:#6C7381;
}

/* ---------- Barre d'appel mobile ---------- */

.appel-mobile{ display:none; }

/* ---------- Adaptation aux petits écrans ---------- */

@media (max-width:980px){
  .reassurance__grille{ grid-template-columns:repeat(2,1fr); }
  .filets{ grid-template-columns:1fr; gap:28px; }
  .deux{ grid-template-columns:1fr; gap:32px; }
  .pied__grille{ grid-template-columns:1fr 1fr; gap:30px; }
}

@media (max-width:820px){
  .burger{ display:block; }
  .nav{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--noir-2);
    border-bottom:1px solid rgba(255,255,255,.1);
    padding:8px 12px 16px;
  }
  .nav.ouvert{ display:flex; }
  .nav a{ padding:13px 12px; font-size:16px; }
  .nav .bouton{ margin-top:10px; text-align:center; }
  .entete__inner{ position:relative; }
}

@media (max-width:640px){
  body{ font-size:16px; }
  h1{ font-size:32px; }
  h2{ font-size:26px; }
  h3{ font-size:20px; }
  .hero{ padding:52px 0 48px; }
  .hero p{ font-size:17px; }
  .hero__actions .bouton{ width:100%; text-align:center; }
  .section{ padding:48px 0; }
  .duo{ grid-template-columns:1fr; }
  .reassurance__grille{ grid-template-columns:1fr; }
  .pied__grille{ grid-template-columns:1fr; }
  .etape{ grid-template-columns:44px 1fr; gap:14px; }
  .etape::before{ font-size:30px; }

  .appel-mobile{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:950;
    background:var(--noir); border-top:1px solid rgba(255,255,255,.12);
  }
  .appel-mobile a{
    flex:1; padding:15px 8px; text-align:center;
    color:#fff !important; font-weight:600; font-size:15px;
    text-decoration:none;
  }
  .appel-mobile a + a{ background:var(--rouge); }
  body{ padding-bottom:54px; }
}

/* ---------- Impression ---------- */

@media print{
  .entete,.appel-mobile,.cta-final,.hero__actions{ display:none; }
  body{ color:#000; font-size:12pt; }
  .hero{ background:#fff; color:#000; padding:0; }
  .hero h1{ color:#000; }
}

/* ---------- Texte réservé aux lecteurs d'écran ---------- */
.visually-hidden{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ---------- Figures et schémas ---------- */
.figure{ margin:0; }
.figure img,.figure svg{ width:100%; height:auto; display:block; }
.figure figcaption{
  margin-top:12px; font-size:14.5px; color:var(--texte-2); line-height:1.55;
}
.figure--cadre{
  background:#fff; border:1px solid var(--bordure); padding:22px;
}

/* ---------- Pictogrammes ---------- */
.picto{ color:var(--rouge); margin-bottom:14px; display:block; }

/* ---------- Galerie de réalisations ---------- */
.galerie{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.galerie figure{ margin:0; }
.galerie img{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
  background:var(--fond);
}
.galerie figcaption{
  margin-top:9px; font-size:14px; color:var(--texte-2); line-height:1.5;
}
.avant-apres{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.avant-apres span{
  display:inline-block; font-size:12px; font-weight:600;
  letter-spacing:.8px; text-transform:uppercase; color:var(--rouge);
  margin-bottom:6px;
}
@media (max-width:820px){ .galerie{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .galerie{ grid-template-columns:1fr; } }

/* ---------- Bandeau partenaires ---------- */
.partenaires{
  border-top:1px solid var(--bordure);
  border-bottom:1px solid var(--bordure);
  padding:34px 0;
  background:#fff;
}
.partenaires__titre{
  font-size:12.5px; font-weight:600; letter-spacing:1.4px;
  text-transform:uppercase; color:var(--texte-2);
  text-align:center; margin:0 0 24px;
}
.partenaires__rangee{
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:center; gap:26px 52px;
}
.partenaires__item{
  display:flex; align-items:center; justify-content:center;
  min-height:44px;
}
/* Logos images : neutralisés au repos, révélés au survol.
   Évite qu'une mosaïque de couleurs concurrence ton propre rouge. */
.partenaires__item img{
  max-height:38px; width:auto; display:block;
  filter:grayscale(1); opacity:.62;
  transition:filter .2s, opacity .2s;
}
.partenaires__item:hover img{ filter:none; opacity:1; }
/* Version typographique, utilisée tant que les logos ne sont pas autorisés */
.partenaires__mot{
  font-family:'Barlow Condensed',sans-serif;
  font-size:27px; font-weight:700; letter-spacing:.5px;
  color:var(--noir); opacity:.72;
}
.partenaires__note{
  text-align:center; font-size:13.5px; color:var(--texte-2);
  margin:22px 0 0;
}
@media (max-width:640px){
  .partenaires__rangee{ gap:20px 32px; }
  .partenaires__mot{ font-size:22px; }
}
