/* =========================================================
   RepairExpress — feuille de style
   Design clair, accents bleu ciel, cartes blanches
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root{
  --sky:#29a9e1;          /* bleu ciel principal (boutons, icônes) */
  --sky-dark:#1f8fc2;     /* hover */
  --sky-soft:#5bc4ef;     /* dégradés / icônes claires */
  --ink:#1c1c1c;          /* titres */
  --body:#4a4a4a;         /* texte courant */
  --muted:#8a8a8a;        /* texte secondaire */
  --line:#e8eaed;         /* bordures */
  --bg:#ffffff;
  --bg-soft:#f7f8fa;      /* sections alternées */
  --green:#4caf50;        /* bouton appel */
  --grad-a:#9b8bd6;       /* dégradé titre : violet */
  --grad-b:#5bc4ef;       /* dégradé titre : cyan */
  --radius:10px;
  --shadow:0 4px 18px rgba(20,30,50,.06);
  --shadow-hover:0 12px 32px rgba(20,30,50,.12);
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Roboto', Arial, Helvetica, sans-serif;
  color:var(--body);
  background:var(--bg);
  line-height:1.7;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{font-family:'Poppins', Arial, sans-serif;color:var(--ink);line-height:1.25;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
img,svg{display:block;max-width:100%;}
.container{max-width:1140px;margin:0 auto;padding:0 22px;}

/* ---------- BOUTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--sky);
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:13.5px;
  padding:13px 30px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  transition:background .2s ease, box-shadow .2s ease, transform .2s ease;
  text-align:center;
}
.btn:hover{background:var(--sky-dark);box-shadow:0 8px 20px rgba(41,169,225,.32);transform:translateY(-1px);}
.btn-sm{padding:10px 20px;font-size:12px;width:100%;}
.btn-green{background:var(--green);}
.btn-green:hover{background:#3d9440;box-shadow:0 8px 20px rgba(76,175,80,.3);}
.btn-ghost{
  background:transparent;
  color:var(--sky);
  border:2px solid var(--sky);
}
.btn-ghost:hover{background:var(--sky);color:#fff;}

/* ---------- HEADER ---------- */
header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:200;
  border-bottom:1px solid var(--line);
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}
.logo{
  display:flex;
  align-items:center;
  gap:9px;
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:19px;
  letter-spacing:.5px;
  color:var(--ink);
  text-transform:uppercase;
  flex-shrink:0;
}
.logo .logo-mark{
  width:34px;height:34px;
  border-radius:8px;
  background:linear-gradient(135deg,var(--grad-a),var(--grad-b));
  display:flex;align-items:center;justify-content:center;
  color:#fff;
}
.logo .logo-mark svg{width:20px;height:20px;}
.logo span{
  background:linear-gradient(90deg,var(--grad-a),var(--grad-b));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
nav.mainnav > ul{display:flex;align-items:center;gap:26px;}
nav.mainnav > ul > li{
  position:relative;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:12.5px;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:var(--ink);
  padding:14px 0;
  cursor:pointer;
  white-space:nowrap;
}
nav.mainnav > ul > li:hover{color:var(--sky);}
nav.mainnav > ul > li.has-sub::after{
  content:"";
  display:inline-block;
  width:5px;height:5px;
  margin-left:7px;
  border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
}
nav.mainnav .submenu{
  display:none;
  position:absolute;
  top:100%;left:-14px;
  background:#fff;
  min-width:265px;
  border-radius:8px;
  border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(20,30,50,.14);
  overflow:hidden;
  padding:6px 0;
}
nav.mainnav li:hover .submenu{display:block;}
nav.mainnav .submenu li{
  padding:11px 20px;
  font-family:'Roboto',sans-serif;
  font-size:13.5px;
  font-weight:400;
  text-transform:none;
  letter-spacing:0;
  color:var(--body);
}
nav.mainnav .submenu li:hover{background:var(--bg-soft);color:var(--sky);}
.header-right{display:flex;align-items:center;gap:18px;flex-shrink:0;}
.cart{
  display:flex;align-items:center;gap:7px;
  font-size:12.5px;font-weight:500;color:var(--body);
}
.cart svg{color:var(--sky);}
.burger{display:none;cursor:pointer;color:var(--ink);}

/* ---------- HERO ---------- */
.hero{
  background:#fff;
  padding:58px 0 64px;
  border-bottom:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:40px;
  align-items:center;
}
.hero h1{
  font-size:52px;
  font-weight:800;
  letter-spacing:-.5px;
  margin-bottom:6px;
}
.hero h1 .grad{
  background:linear-gradient(90deg,var(--grad-a) 10%,var(--grad-b) 90%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  display:block;
}
.hero h1 .plain{display:block;color:var(--ink);}
.hero p.lead{
  color:var(--body);
  font-size:15px;
  max-width:520px;
  margin:18px 0 26px;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;}
.hero.compact{padding:44px 0 48px;}
.hero.compact h1{font-size:40px;}
.hero.center{text-align:center;}
.hero.center .hero-inner{max-width:760px;margin:0 auto;}
.hero.center p.lead{margin-left:auto;margin-right:auto;}
.hero.center .hero-actions{justify-content:center;}

/* ---------- BANDEAU TITRE ENCADRÉ (comme "iPhone irréparable, carte mère HS") ---------- */
.title-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px 46px;
  display:inline-block;
  margin:0 auto 26px;
}
.title-card h2{font-size:23px;font-weight:600;}
.head-center{text-align:center;max-width:820px;margin:0 auto 46px;}
.head-center p{color:var(--muted);font-size:14px;}

/* ---------- SECTIONS ---------- */
.section{padding:66px 0;}
.section-soft{background:var(--bg-soft);}
.section-head{text-align:center;margin-bottom:44px;}
.section-head h2{font-size:27px;font-weight:600;margin-bottom:12px;}
.section-head p{color:var(--muted);max-width:760px;margin:0 auto;font-size:14px;}
.eyebrow{
  display:block;
  color:var(--sky);
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:11.5px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  margin-bottom:10px;
}

/* ---------- GRILLE DE CARTES PANNES ---------- */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.grid.cols-4{grid-template-columns:repeat(4,1fr);}
.grid.cols-2{grid-template-columns:repeat(2,1fr);}
.grid.narrow{max-width:370px;margin:26px auto 0;grid-template-columns:1fr;}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:32px 24px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  transition:box-shadow .25s ease, transform .25s ease;
}
.card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px);}
.card-icon{
  color:var(--sky-soft);
  margin:0 auto 18px;
}
.card-icon svg{width:52px;height:52px;stroke-width:1.2;}
.card h3{
  font-size:16px;
  font-weight:600;
  margin-bottom:10px;
}
.card .question{
  color:var(--sky);
  font-size:13.5px;
  font-weight:500;
  margin-bottom:18px;
  min-height:40px;
}
.card .desc{
  color:var(--muted);
  font-size:13.5px;
  margin-bottom:18px;
  text-align:left;
}
.card .card-foot{margin-top:auto;}

/* accordéon "En savoir plus" façon select */
details.more{
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
  margin-bottom:14px;
  text-align:left;
}
details.more summary{
  list-style:none;
  cursor:pointer;
  padding:10px 14px;
  font-size:13px;
  color:var(--body);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
details.more summary::-webkit-details-marker{display:none;}
details.more summary::after{
  content:"";
  width:6px;height:6px;
  border-right:1.6px solid var(--muted);
  border-bottom:1.6px solid var(--muted);
  transform:translateY(-2px) rotate(45deg);
  transition:transform .2s ease;
}
details.more[open] summary::after{transform:translateY(1px) rotate(-135deg);}
details.more .more-body{
  padding:2px 14px 14px;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid var(--line);
  margin-top:2px;
  padding-top:12px;
}
details.more .more-body p{margin-bottom:9px;}
details.more .more-body p:last-child{margin-bottom:0;}

/* ---------- ÉTAPES ENVOI POSTAL ---------- */
.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  max-width:940px;
  margin:0 auto;
  position:relative;
}
.step{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:34px 18px 24px;
  text-align:center;
  transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.step:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
  border-color:var(--sky);
}
/* pastille numérotée en débord */
.step-num{
  position:absolute;
  top:-15px;
  left:50%;
  transform:translateX(-50%);
  width:30px;height:30px;
  border-radius:50%;
  background:var(--sky);
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-size:13px;
  font-weight:600;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 10px rgba(41,169,225,.35);
}
/* icône dans un disque bleu très clair */
.step-icon{
  width:74px;height:74px;
  margin:6px auto 16px;
  border-radius:50%;
  background:rgba(41,169,225,.09);
  color:var(--sky);
  display:flex;align-items:center;justify-content:center;
}
.step h4{
  font-size:14.5px;
  font-weight:600;
  margin-bottom:6px;
  color:var(--ink);
}
.step p{
  font-size:12.5px;
  color:var(--muted);
  line-height:1.55;
}

/* ---------- FORMULAIRE DEVIS ---------- */
.form-wrap{max-width:760px;margin:0 auto;}
.form-title{text-align:center;margin-bottom:30px;}
.form-title h2{font-size:26px;font-weight:600;}
.form-title span{color:var(--muted);font-size:14px;}
.form-row{margin-bottom:12px;}
.form-row select,
.form-row input,
.form-row textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:5px;
  font-family:'Roboto',sans-serif;
  font-size:13.5px;
  color:var(--body);
  background:#fff;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.form-row select:focus,
.form-row input:focus,
.form-row textarea:focus{
  outline:none;
  border-color:var(--sky);
  box-shadow:0 0 0 3px rgba(41,169,225,.12);
}
.form-row textarea{resize:vertical;min-height:92px;}
.form-wrap .btn{width:100%;margin-top:8px;}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

/* ---------- CONTACT ---------- */
.contact{padding:66px 0;}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:26px;
  align-items:stretch;
}
.contact-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px 30px;
}
.contact-box h4{
  font-size:15px;
  font-weight:600;
  margin-bottom:8px;
}
.contact-box p{font-size:13.5px;margin-bottom:3px;}
.contact-box .spacer{height:24px;}
.map-embed{
  width:100%;
  height:100%;
  min-height:280px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  filter:grayscale(.15);
}

/* ---------- BANDEAU GARANTIE ---------- */
.promise{
  background:var(--bg-soft);
  padding:56px 0;
  text-align:center;
}
.promise h2{font-size:25px;font-weight:600;margin-bottom:14px;}
.promise p{color:var(--muted);max-width:700px;margin:0 auto;font-size:14px;}

/* ---------- PAGES TEXTE ---------- */
.prose{max-width:800px;margin:0 auto;}
.prose h1{font-size:32px;margin-bottom:22px;}
.prose h2{font-size:20px;font-weight:600;margin:30px 0 12px;}
.prose p{margin-bottom:13px;}
.prose ul{list-style:disc;padding-left:22px;margin-bottom:14px;}
.prose li{margin-bottom:6px;}

/* ---------- FIL D'ARIANE ---------- */
.crumb{
  background:var(--bg-soft);
  border-bottom:1px solid var(--line);
  padding:11px 0;
  font-size:12.5px;
  color:var(--muted);
}
.crumb a{color:var(--sky);}

/* ---------- PRODUITS ---------- */
.card .price{
  font-family:'Poppins',sans-serif;
  font-size:21px;
  font-weight:700;
  color:var(--sky);
  margin-bottom:6px;
}

/* ---------- FOOTER (clair) ---------- */
footer{
  background:#fff;
  border-top:1px solid var(--line);
  padding:54px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:34px;
}
.footer-grid h5{
  font-size:14px;
  font-weight:600;
  margin-bottom:16px;
  color:var(--ink);
}
.footer-grid p,
.footer-grid li{
  font-size:13px;
  color:var(--body);
  margin-bottom:8px;
}
.footer-grid li a:hover{color:var(--sky);}
.footer-bottom{
  margin-top:36px;
  padding-top:20px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  font-size:12.5px;
  color:var(--muted);
}
.socials{display:flex;gap:8px;}
.socials a{
  width:30px;height:30px;
  border-radius:5px;
  background:var(--sky);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
}
.socials a:hover{background:var(--sky-dark);}
.socials svg{width:15px;height:15px;}

/* ---------- ACCESSIBILITÉ ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible,
select:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--sky);
  outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1000px){
  nav.mainnav{display:none;}
  .burger{display:block;}
  .hero-grid{grid-template-columns:1fr;}
  .hero h1{font-size:38px;}
  .grid, .grid.cols-4{grid-template-columns:repeat(2,1fr);}
  .steps{grid-template-columns:repeat(2,1fr);gap:28px 20px;}
  .contact-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:620px){
  .grid, .grid.cols-4, .grid.cols-2{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr;}
  .hero h1{font-size:31px;}
  .title-card{padding:18px 24px;}
  .title-card h2{font-size:19px;}
  .footer-grid{grid-template-columns:1fr;}
  .form-grid-2{grid-template-columns:1fr;}
  .logo{font-size:16px;}
}

/* ---------- VISUEL HERO (photo) ---------- */
.hero-visual{display:flex;justify-content:flex-end;}
.hero-visual img{
  width:100%;
  max-width:420px;
  height:auto;
  filter:drop-shadow(0 18px 34px rgba(20,30,50,.18));
}
@media (max-width:1000px){
  .hero-visual{justify-content:center;margin-top:10px;}
  .hero-visual img{max-width:330px;}
}

/* ---------- LISTE DES MODÈLES IPHONE ---------- */
.model-search{max-width:440px;margin:0 auto 40px;}
.model-search input{
  width:100%;
  padding:13px 18px;
  border:1px solid var(--line);
  border-radius:30px;
  font-family:'Roboto',sans-serif;
  font-size:14px;
  color:var(--body);
  background:#fff;
  box-shadow:var(--shadow);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.model-search input:focus{
  outline:none;
  border-color:var(--sky);
  box-shadow:0 0 0 3px rgba(41,169,225,.14);
}
.model-serie{margin-bottom:42px;}
.model-serie[hidden]{display:none;}
.serie-title{
  font-size:15px;
  font-weight:600;
  color:var(--ink);
  padding-bottom:10px;
  margin-bottom:22px;
  border-bottom:1px solid var(--line);
}
.model-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.model-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:5px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px 16px 20px;
  transition:box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.model-card[hidden]{display:none;}
.model-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
  border-color:var(--sky);
}
.model-icon{color:var(--sky-soft);margin-bottom:6px;}
.model-name{
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:14.5px;
  color:var(--ink);
}
.model-price{font-size:12.5px;color:var(--muted);}
.model-go{
  font-size:12.5px;
  font-weight:500;
  color:var(--sky);
  margin-top:7px;
}
.no-result{text-align:center;color:var(--muted);font-size:14px;}

@media (max-width:1000px){
  .model-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:700px){
  .model-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:420px){
  .model-grid{grid-template-columns:1fr;}
}

/* =========================================================
   ACCUEIL — blocs spécialiste carte mère
   ========================================================= */

/* points forts sous le hero */
.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  margin-top:26px;
}
.hero-points li{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  color:var(--body);
  font-weight:500;
}
.hero-points svg{color:var(--sky);flex-shrink:0;}
.hero-home .lead strong{color:var(--ink);font-weight:600;}

/* bandeau de chiffres clés */
.trust-bar{
  background:var(--navy, #0f2a44);
  background:linear-gradient(90deg,#12304d,#1b4a72);
  padding:30px 0;
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  text-align:center;
}
.trust-item{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:0 10px;
  border-right:1px solid rgba(255,255,255,.14);
}
.trust-item:last-child{border-right:none;}
.trust-num{
  font-family:'Poppins',sans-serif;
  font-size:24px;
  font-weight:700;
  color:#fff;
  line-height:1.1;
}
.trust-lbl{
  font-size:12.5px;
  color:rgba(255,255,255,.72);
  line-height:1.4;
}

/* méthode en 4 étapes */
.method-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.method{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:28px 22px;
  transition:box-shadow .25s ease, transform .25s ease;
}
.method:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);}
.method-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:60px;height:60px;
  border-radius:12px;
  background:rgba(41,169,225,.09);
  color:var(--sky);
  margin-bottom:16px;
}
.method h3{font-size:15px;font-weight:600;margin-bottom:9px;}
.method p{font-size:13px;color:var(--muted);line-height:1.6;}

/* mini cartes appareils */
.mini-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.mini-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:4px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  box-shadow:var(--shadow);
  padding:22px 14px;
  transition:box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.mini-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-hover);
  border-color:var(--sky);
}
.mini-icon{color:var(--sky-soft);margin-bottom:6px;}
.mini-name{
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:14px;
  color:var(--ink);
}
.mini-desc{font-size:12px;color:var(--muted);}

/* FAQ */
.faq{max-width:820px;margin:0 auto;}
.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  box-shadow:var(--shadow);
  margin-bottom:12px;
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:17px 22px;
  font-family:'Poppins',sans-serif;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"";
  flex-shrink:0;
  width:8px;height:8px;
  border-right:1.8px solid var(--sky);
  border-bottom:1.8px solid var(--sky);
  transform:translateY(-3px) rotate(45deg);
  transition:transform .22s ease;
}
.faq-item[open] summary{color:var(--sky);}
.faq-item[open] summary::after{transform:translateY(2px) rotate(-135deg);}
.faq-body{
  padding:0 22px 18px;
  font-size:13.5px;
  color:var(--body);
  line-height:1.7;
}

@media (max-width:1000px){
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:24px 16px;}
  .trust-item:nth-child(2){border-right:none;}
  .method-grid{grid-template-columns:repeat(2,1fr);}
  .mini-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:620px){
  .trust-grid{grid-template-columns:1fr 1fr;}
  .trust-item{border-right:none;}
  .method-grid{grid-template-columns:1fr;}
  .mini-grid{grid-template-columns:repeat(2,1fr);}
  .hero-points{gap:8px 16px;}
}

/* =========================================================
   AVIS GOOGLE
   ========================================================= */
.avis-zone{min-height:120px;}
.avis-chargement,.avis-erreur{
  text-align:center;color:var(--muted);font-size:13.5px;padding:20px 0;
}
.avis-layout{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:28px;
  align-items:start;
}

/* colonne de gauche : note globale */
.avis-resume{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:28px 22px;
  text-align:center;
  position:sticky;
  top:96px;
}
.avis-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:14px;
  color:var(--ink);
  margin-bottom:14px;
}
.avis-note{
  font-family:'Poppins',sans-serif;
  font-size:44px;
  font-weight:700;
  color:var(--ink);
  line-height:1;
  margin-bottom:8px;
}
.avis-etoiles{
  display:flex;
  justify-content:center;
  gap:3px;
  margin-bottom:8px;
}
.avis-etoiles .etoile{
  width:19px;height:19px;
  fill:#fbbc05;
}
.avis-etoiles .etoile.vide{fill:#dfe3e8;}
.avis-etoiles.petites{justify-content:flex-start;margin-bottom:12px;}
.avis-etoiles.petites .etoile{width:15px;height:15px;}
.avis-compte{font-size:12.5px;color:var(--muted);}
.avis-cta{margin-top:18px;display:inline-flex;width:auto;padding:10px 22px;}

/* colonne de droite : cartes d'avis */
.avis-liste{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.avis-carte{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:22px 20px;
  display:flex;
  flex-direction:column;
  transition:box-shadow .25s ease, transform .25s ease;
}
.avis-carte:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);}
.avis-tete{display:flex;align-items:center;gap:11px;margin-bottom:12px;}
.avis-avatar{
  width:38px;height:38px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--grad-a),var(--grad-b));
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:15px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.avis-meta{display:flex;flex-direction:column;line-height:1.35;min-width:0;}
.avis-auteur{
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:13.5px;
  color:var(--ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.avis-date{font-size:11.5px;color:var(--muted);}
.avis-texte{
  font-size:13px;
  color:var(--body);
  line-height:1.65;
  margin:0;
}
.avis-lien{text-align:center;margin-top:26px;font-size:13.5px;}
.avis-lien a{color:var(--sky);font-weight:500;}
.avis-lien a:hover{text-decoration:underline;}

@media (max-width:1000px){
  .avis-layout{grid-template-columns:1fr;}
  .avis-resume{position:static;}
  .avis-liste{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:620px){
  .avis-liste{grid-template-columns:1fr;}
  .avis-note{font-size:38px;}
}

/* =========================================================
   EXPÉRIENCE MOBILE
   ========================================================= */

/* ---------- MENU COULISSANT ---------- */
.m-voile{
  position:fixed;inset:0;
  background:rgba(12,26,42,.55);
  opacity:0;visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
  z-index:900;
}
.m-panneau{
  position:fixed;top:0;right:0;bottom:0;
  width:min(86vw,340px);
  background:#fff;
  z-index:901;
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  transition:transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow:-8px 0 32px rgba(12,26,42,.18);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
body.menu-ouvert{overflow:hidden;}
body.menu-ouvert .m-voile{opacity:1;visibility:visible;}
body.menu-ouvert .m-panneau{transform:translateX(0);}

.m-entete{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 20px;
  border-bottom:1px solid var(--line);
}
.m-titre{
  font-family:'Poppins',sans-serif;
  font-weight:600;font-size:15px;color:var(--ink);
}
.m-fermer{
  width:38px;height:38px;
  border:none;background:transparent;
  color:var(--ink);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  border-radius:8px;
}
.m-fermer:hover{background:var(--bg-soft);}
.m-fermer svg{width:20px;height:20px;}

.m-liste{padding:8px 0;flex:1;}
.m-item{border-bottom:1px solid var(--line);}
.m-lien,.m-bascule{
  display:flex;align-items:center;justify-content:space-between;
  width:100%;
  padding:15px 20px;           /* cible tactile confortable */
  min-height:52px;
  font-family:'Poppins',sans-serif;
  font-size:14.5px;font-weight:500;
  color:var(--ink);
  background:transparent;border:none;
  text-align:left;cursor:pointer;
}
.m-lien:active,.m-bascule:active{background:var(--bg-soft);}
.m-chevron{display:flex;color:var(--sky);}
.m-chevron svg{width:18px;height:18px;transition:transform .22s ease;}
.m-item.ouvert .m-chevron svg{transform:rotate(180deg);}

.m-sous{
  max-height:0;overflow:hidden;
  background:var(--bg-soft);
  transition:max-height .28s ease;
}
.m-item.ouvert .m-sous{max-height:520px;}
.m-sous a{
  display:block;
  padding:13px 20px 13px 34px;
  min-height:46px;
  font-size:14px;
  color:var(--body);
  border-top:1px solid rgba(0,0,0,.05);
}
.m-sous a:active{color:var(--sky);}

.m-pied{
  padding:18px 20px 24px;
  display:flex;flex-direction:column;gap:10px;
  border-top:1px solid var(--line);
}
.m-pied .btn{width:100%;padding:14px 20px;font-size:14px;}
.m-appel svg{width:16px;height:16px;}

/* ---------- BARRE D'ACTION FIXE ---------- */
.barre-action{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:850;
  display:none;                 /* activée en mobile uniquement */
  gap:10px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(8px);
  border-top:1px solid var(--line);
  box-shadow:0 -4px 18px rgba(12,26,42,.10);
  transition:transform .3s ease, opacity .3s ease;
}
.barre-action.masquee{transform:translateY(110%);opacity:0;pointer-events:none;}
.ba-btn{
  flex:1;
  display:flex;align-items:center;justify-content:center;gap:9px;
  min-height:54px;              /* large et facile à viser */
  padding:8px 10px;
  border-radius:10px;
  color:#fff;
  font-family:'Poppins',sans-serif;
  text-decoration:none;
  transition:transform .15s ease, filter .15s ease;
}
.ba-btn:active{transform:scale(.97);filter:brightness(.94);}
.ba-btn svg{width:21px;height:21px;flex-shrink:0;}
.ba-txt{display:flex;flex-direction:column;line-height:1.2;}
.ba-titre{font-size:14px;font-weight:600;}
.ba-sous{font-size:10.5px;opacity:.9;font-weight:400;}
.ba-appel{background:var(--green);box-shadow:0 3px 10px rgba(76,175,80,.32);}
.ba-devis{background:var(--sky);box-shadow:0 3px 10px rgba(41,169,225,.32);}

/* ---------- ADAPTATIONS MOBILE ---------- */
@media (max-width:1000px){
  .barre-action{display:flex;}
  body.avec-barre{padding-bottom:84px;}   /* la barre ne masque pas le footer */

  /* en-tête : logo + burger bien lisibles */
  .topbar{padding:12px 0;}
  .burger{
    display:flex;align-items:center;justify-content:center;
    width:42px;height:42px;border-radius:8px;
    margin-right:-6px;
  }
  .burger:active{background:var(--bg-soft);}
  .cart{display:none;}                    /* libère de la place */

  /* hero centré, comme sur mobile natif */
  .hero{padding:34px 0 40px;}
  .hero-grid{gap:26px;text-align:center;}
  .hero h1{font-size:30px;}
  .hero .lead,
  .hero p.lead{margin-left:auto;margin-right:auto;font-size:14.5px;}
  .hero-actions{justify-content:center;}
  .hero-actions .btn,
  .hero-actions .btn-ghost{flex:1;min-width:150px;min-height:48px;}
  .hero-points{justify-content:center;text-align:left;}
  .hero-visual{order:-1;}                 /* visuel au-dessus du texte */
  .hero-visual img{max-width:230px;margin:0 auto;}
  .eyebrow{text-align:center;}

  /* titres de section */
  .section{padding:46px 0;}
  .section-head h2,.head-center h2{font-size:22px;}
  .title-card{padding:16px 22px;}

  /* boutons plus généreux au doigt */
  .btn{min-height:48px;padding:13px 24px;}
  .btn-sm{min-height:44px;}
  .card .btn-sm{width:100%;}
}

@media (max-width:620px){
  .container{padding:0 16px;}
  .hero h1{font-size:27px;}
  .hero-visual img{max-width:190px;}

  /* grille appareils sur 2 colonnes, comme la maquette */
  .mini-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .model-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .model-card{padding:18px 10px 16px;}
  .model-name{font-size:13px;}
  .model-price,.model-go{font-size:11.5px;}

  /* étapes envoi postal : 2 colonnes */
  .steps{grid-template-columns:repeat(2,1fr);gap:26px 12px;}
  .step{padding:28px 12px 18px;}
  .step h4{font-size:13px;}
  .step p{font-size:11.5px;}
  .step-icon{width:60px;height:60px;}
  .step-icon svg{width:34px;height:34px;}

  /* formulaire : champs confortables */
  .form-wrap{padding:0;}
  .form-row input,.form-row select,.form-row textarea{
    font-size:16px;             /* évite le zoom auto sur iOS */
    min-height:48px;
    padding:13px 14px;
  }
  .form-grid-2{grid-template-columns:1fr;gap:0;}

  /* contact et carte */
  .contact{padding:40px 0;}
  .contact-box{padding:24px 20px;}
  .map-embed{min-height:230px;}

  /* avis */
  .avis-note{font-size:34px;}
  .avis-resume{padding:22px 18px;}

  /* pied de page aéré */
  footer{padding:38px 0 20px;}
  .footer-grid{gap:26px;}
  .footer-bottom{flex-direction:column;text-align:center;gap:12px;}
}

/* évite que l'ancre #devis passe sous l'en-tête collant */
#devis{scroll-margin-top:78px;}
#modeles,#avis{scroll-margin-top:78px;}

/* impression : pas d'éléments flottants */
@media print{
  .barre-action,.m-panneau,.m-voile,header{display:none !important;}
  body.avec-barre{padding-bottom:0;}
}

/* ---------- ZONES DESSERVIES ---------- */
.villes-liste{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  max-width:900px;
  margin:0 auto;
}
.ville-puce{
  display:inline-flex;
  align-items:baseline;
  gap:7px;
  padding:11px 18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  font-family:'Poppins',sans-serif;
  font-size:13.5px;
  font-weight:500;
  color:var(--ink);
  box-shadow:var(--shadow);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ville-puce span{font-size:11.5px;color:var(--muted);font-weight:400;}
a.ville-puce:hover{
  border-color:var(--sky);
  color:var(--sky);
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}
.ville-active{
  background:var(--sky);
  border-color:var(--sky);
  color:#fff;
}
.ville-active span{color:rgba(255,255,255,.8);}

/* encart itinéraire sur les pages villes */
.ville-carte{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:26px 24px;
}
.ville-carte h3{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:15px;
  font-weight:600;
  margin-bottom:12px;
  color:var(--ink);
}
.ville-carte h3 svg{color:var(--sky);flex-shrink:0;}
.ville-carte p{font-size:13.5px;color:var(--body);margin-bottom:12px;line-height:1.65;}
.ville-adresse{
  padding:12px 14px;
  background:var(--bg-soft);
  border-radius:8px;
  font-size:13px !important;
}
.ville-carte .btn-sm{width:100%;}

/* pied de page : 5 colonnes avec les zones */
.footer-grid{grid-template-columns:1.25fr 1fr 1fr 1fr 1fr;}

@media (max-width:1000px){
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:620px){
  .footer-grid{grid-template-columns:1fr;}
  .villes-liste{gap:8px;}
  .ville-puce{padding:10px 15px;font-size:12.5px;}
}

/* ---------- PAGES SYMPTÔMES ---------- */
.causes-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
}
.cause{
  background:#fff;
  border:1px solid var(--line);
  border-left:3px solid var(--sky);
  border-radius:10px;
  box-shadow:var(--shadow);
  padding:22px 20px;
}
.cause h3{font-size:14.5px;font-weight:600;margin-bottom:8px;color:var(--ink);}
.cause p{font-size:13px;color:var(--muted);line-height:1.6;}

.tests-bloc{
  max-width:780px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:30px 34px;
}
.tests-liste{counter-reset:t;list-style:none;}
.tests-liste li{
  counter-increment:t;
  position:relative;
  padding:0 0 16px 42px;
  font-size:14px;
  color:var(--body);
  line-height:1.65;
}
.tests-liste li:last-child{padding-bottom:0;}
.tests-liste li::before{
  content:counter(t);
  position:absolute;left:0;top:0;
  width:27px;height:27px;
  border-radius:50%;
  background:rgba(41,169,225,.1);
  color:var(--sky);
  font-family:'Poppins',sans-serif;
  font-size:12.5px;font-weight:600;
  display:flex;align-items:center;justify-content:center;
}

.verdict-bloc{
  display:flex;
  gap:22px;
  max-width:860px;
  margin:0 auto;
  background:linear-gradient(135deg,#12304d,#1b4a72);
  border-radius:14px;
  padding:34px 32px;
  color:#fff;
}
.verdict-icone{
  flex-shrink:0;
  width:58px;height:58px;
  border-radius:12px;
  background:rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;
  color:#fff;
}
.verdict-bloc h2{color:#fff;font-size:20px;margin-bottom:10px;}
.verdict-bloc p{font-size:14px;color:rgba(255,255,255,.85);line-height:1.7;margin-bottom:10px;}
.verdict-prix{
  display:flex;align-items:center;gap:8px;
  font-size:13.5px !important;
  color:#fff !important;
  font-weight:500;
  margin:0 !important;
}
.verdict-prix svg{color:#7fd88f;flex-shrink:0;}

.alerte-urgence{
  display:flex;
  align-items:flex-start;
  gap:14px;
  max-width:860px;
  margin:0 auto;
  padding:18px 22px;
  background:#fff6ed;
  border:1px solid #ffd9b3;
  border-left:3px solid #ff8c1a;
  border-radius:10px;
  font-size:13.5px;
  color:#7a4a10;
  line-height:1.6;
}
.alerte-urgence svg{color:#ff8c1a;flex-shrink:0;margin-top:1px;}

@media (max-width:620px){
  .tests-bloc{padding:24px 20px;}
  .verdict-bloc{flex-direction:column;gap:16px;padding:26px 22px;}
  .verdict-bloc h2{font-size:18px;}
}

/* diagnostic affiché si les avis ne se chargent pas */
.avis-diagnostic{
  max-width:640px;
  margin:0 auto;
  background:#fff8ed;
  border:1px solid #ffddb0;
  border-left:3px solid #ff9a1a;
  border-radius:10px;
  padding:20px 24px;
  font-size:13.5px;
  color:#7a4a10;
  line-height:1.65;
}
.avis-diagnostic strong{display:block;margin-bottom:10px;color:#8a4d05;}
.avis-diagnostic ul{list-style:disc;padding-left:20px;margin-bottom:10px;}
.avis-diagnostic li{margin-bottom:6px;}
.avis-diagnostic code{
  background:rgba(0,0,0,.06);
  padding:1px 5px;
  border-radius:4px;
  font-size:12.5px;
  font-family:Consolas,Monaco,monospace;
}
.avis-detail{font-size:12px;opacity:.75;}

/* ---------- RETOUR DU FORMULAIRE ---------- */
.champ-cache{
  position:absolute !important;
  left:-9999px !important;
  width:1px;height:1px;
  overflow:hidden;
}
.form-retour{
  display:none;
  margin-top:16px;
  padding:14px 18px;
  border-radius:9px;
  font-size:13.5px;
  line-height:1.6;
}
.form-retour.visible{display:block;}
.form-retour.attente{
  background:var(--bg-soft);
  border:1px solid var(--line);
  color:var(--muted);
}
.form-retour.succes{
  background:#eaf7ec;
  border:1px solid #b8e2bf;
  border-left:3px solid var(--green);
  color:#256b30;
  font-weight:500;
}
.form-retour.erreur{
  background:#fdeeee;
  border:1px solid #f5c6c6;
  border-left:3px solid #d9534f;
  color:#9b2c2c;
}
.form-retour a{
  color:inherit;
  font-weight:600;
  text-decoration:underline;
  white-space:nowrap;
}
form.devis-form button[type="submit"]:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}

/* ---------- SECTION ATELIER / SAVOIR-FAIRE ---------- */
.atelier-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:44px;
  align-items:center;
}
.atelier-visuel img{
  width:100%;
  height:auto;
  border-radius:12px;
  filter:drop-shadow(0 16px 30px rgba(20,30,50,.16));
}
.atelier-texte h2{
  font-size:24px;
  font-weight:600;
  margin-bottom:14px;
}
.atelier-texte p{
  font-size:14px;
  color:var(--body);
  line-height:1.75;
  margin-bottom:18px;
}
.atelier-liste{margin-bottom:22px;}
.atelier-liste li{
  position:relative;
  padding-left:26px;
  margin-bottom:9px;
  font-size:13.5px;
  color:var(--body);
}
.atelier-liste li::before{
  content:"";
  position:absolute;
  left:0;top:6px;
  width:14px;height:8px;
  border-left:2px solid var(--sky);
  border-bottom:2px solid var(--sky);
  transform:rotate(-45deg);
}

@media (max-width:1000px){
  .atelier-grid{grid-template-columns:1fr;gap:28px;}
  .atelier-visuel{max-width:460px;margin:0 auto;}
  .atelier-texte{text-align:center;}
  .atelier-texte .eyebrow{text-align:center;}
  .atelier-liste{display:inline-block;text-align:left;}
}
@media (max-width:620px){
  .atelier-texte h2{font-size:20px;}
  .atelier-visuel{max-width:100%;}
}
