/* ===========================================================
   SOS Informatique Lyon — Style modernisé
   =========================================================== */

:root{
  --navy: #155263;       /* couleur de marque (bleu-pétrole d'origine) */
  --navy-dark: #262b2d;  /* fond du header d'origine */
  --topbar-black: #000000; /* barre du haut d'origine */
  --blue: #155263;
  --blue-light: #eaf2f2;
  --accent: #ff6f3c;     /* orange d'origine (CTA, hover, accents) */
  --accent-dark: #e85a2a;
  --ink: #0c0c0c;
  --ink-soft: #5b6469;
  --line: #e6e6e6;
  --bg: #e2eff3;         /* teinte très claire du bleu du footer (#155263) */
  --bg-alt: #f7f7f7;
  --white: #ffffff;
  --radius: 5px;
  --shadow-sm: 0 0 5px 0 rgba(0, 0, 0, .25);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, .18);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .22);
  --maxw: 1180px;
  font-size: 16px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4{
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section{ padding: 84px 0; }
.section-head{ max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p{ color: var(--ink-soft); font-size: 1rem; }
.section-alt{ background: var(--white); }
/* Colonne de contenu blanche contenue sur fond gris clair (look boxé cohérent) */
.section, .stats-section, .band, .page-hero{ max-width: var(--maxw); margin-inline: auto; }
.section, .stats-section, .band{ background: var(--white); }

/* ---------- Buttons (fidèle : orange plein, contour au survol) ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 32px;
  border-radius: 5px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-primary{
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn-primary:hover{ background: transparent; color: var(--accent); }
.btn-ghost{
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
}
.btn-ghost:hover{ background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline{
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover{ border-color: var(--blue); color: var(--blue); }

/* ---------- Top bar (fidèle au site d'origine : fond noir) ---------- */
.topbar{
  background: var(--topbar-black);
  color: #ffffff;
  font-size: .85rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.topbar-row{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 20px;
  gap: 12px;
}
.topbar-brand{
  font-weight: 700;
  color: #fff;
  font-size: .92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px 0;
}
.topbar-brand img{
  height: 62px;
  width: auto;
  display: block;
}
.topbar-brand:hover{ color: var(--accent); }
.topbar-brand .breadcrumb-line{
  font-size: .78rem;
  font-weight: 400;
  opacity: .8;
  width: 100%;
  text-align: left;
}
.topbar-right{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-top: 10px;
}
.topbar-label{
  display: inline-block;
  min-width: 40px;
}
.topbar-tel, .topbar-mobile-line{
  display: inline-flex;
}
.topbar-contact{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar-mobile-line{
  color: #fff;
  font-size: .85rem;
}
.topbar-mobile-line a{ color: #fff; font-weight: 600; }
.topbar-mobile-line a:hover{ color: var(--accent); }
.topbar-tel a{ color: #fff; font-weight: 600; }
.topbar-tel a:hover{ color: var(--accent); }
.topbar-contact > a{ color: #fff; }
.topbar-contact > a:hover{ color: var(--accent); }

/* ---------- Header / nav (fidèle : fond sombre, liens blancs) ---------- */
header.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-dark);
  box-shadow: var(--shadow-sm);
  max-width: var(--maxw);
  margin: 0 auto;
}
header.site-header .wrap{
  max-width: var(--maxw);
  padding: 0 24px;
}
.topbar .wrap{
  max-width: var(--maxw);
  padding: 0 24px;
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo{
  display: flex;
  align-items: center;
}
.logo img{
  height: 46px;
  width: auto;
  display: block;
}
.logo:hover{ opacity: .9; }
.logo-badge{
  display: inline-flex;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent);
  align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .9rem;
  vertical-align: middle;
  margin-right: 4px;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  margin-left: -14px; /* compense le padding-left du 1er lien pour aligner "Home" sur la colonne */
}
.nav-links a{
  padding: 10px 14px;
  font-weight: 500;
  font-size: .92rem;
  color: #ffffff;
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active{
  color: var(--accent);
}

/* ---------- Menu déroulant "Services" ---------- */
.nav-dropdown{ position: relative; }
.nav-dropdown-trigger{
  background: none;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-weight: 500;
  font-size: .92rem;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-dropdown-trigger{ text-decoration: none; }
.nav-dropdown-trigger:hover, .nav-dropdown-trigger.active{ color: var(--accent); }
.nav-dropdown-trigger .chevron{
  font-size: .7rem;
  transition: transform .15s ease;
}
.nav-dropdown.open .nav-dropdown-trigger .chevron{ transform: rotate(180deg); }
.nav-dropdown-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  min-width: 270px;
  padding: 6px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu{
  display: block;
}
.nav-dropdown-menu a{
  display: block;
  padding: 10px 12px;
  color: #ffffff;
  font-size: .88rem;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active{
  background: rgba(255,255,255,.08);
  color: var(--accent);
}

.nav-cta{ display: flex; align-items: center; gap: 14px; }
.nav-phone{
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: #ffffff;
}
.nav-phone svg{ color: var(--accent); }
.menu-toggle{ display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #ffffff; }

/* ---------- Carrousel d'accueil (comme le site d'origine) ---------- */
.hero-carousel{
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--navy-dark);
  max-width: var(--maxw);
  margin: 0 auto;
}
.carousel-slide{
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.carousel-slide.active{ display: flex; }
.carousel-slide::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.55));
}
.carousel-slide .wrap{
  position: relative;
  z-index: 2;
}
.carousel-slide .slide-content{
  max-width: 560px;
  color: #fff;
  padding: 60px 0;
}
.carousel-slide h2{
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: .4em;
}
.carousel-slide .slide-subtitle{
  color: #d3ddea;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}
.carousel-slide p{
  color: #d3ddea;
  font-size: 1.08rem;
  margin-bottom: 26px;
}
.carousel-controls{
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  z-index: 3;
  transform: translateY(50%);
}
.carousel-controls button{
  width: 50px; height: 50px;
  border-radius: 0;
  border: none;
  background: #ffffff;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  transition: background .2s, color .2s;
}
.carousel-controls button:hover{ background: var(--accent); color: #ffffff; }

/* ---------- Grille de services (fidèle : boîtes avec bordure teal/orange) ---------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-grid.cols-2{
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
.service-grid.cols-2-wide{
  grid-template-columns: repeat(2, 1fr);
}
.service-box{
  background: var(--white);
  border-top: 6px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: border-color .2s ease;
}
.service-box:hover{ border-color: var(--accent); }
.service-box .img-box{
  width: 60px; height: 60px;
  margin-bottom: 15px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.service-box .img-box img{ max-width: 100%; max-height: 100%; }
.service-box .img-box svg{ width: 100%; height: 100%; }
.service-box h5{
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}
.service-box p{ color: var(--ink-soft); font-size: .92rem; margin: 0 0 10px; text-align: justify; }
.service-box ul{ margin: 0 0 10px; }
.service-box ul li{ position: relative; padding-left: 18px; margin-bottom: 6px; color: var(--ink-soft); font-size: .92rem; }
.service-box ul li::before{
  content:"";
  position:absolute; left:0; top:.55em;
  width:6px; height:6px; border-radius:50%;
  background: var(--accent);
}
.service-box a.box-link{ color: var(--accent); font-weight: 600; font-size: .9rem; }
.service-box a.box-link:hover{ color: var(--navy); }
.service-video{
  display: block;
  width: 100%;
  max-height: 320px;
  border-radius: var(--radius);
  margin-top: 4px;
  background: #000;
}
.video-credit{
  font-size: .82rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 14px;
  margin-bottom: 0;
}
.service-box .sub-heading{
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin: 18px 0 8px;
}
.software-logos{ display: flex; align-items: center; gap: 40px; margin-top: 30px; }
.software-logos .software-item{ text-align: center; color: var(--ink-soft); font-size: .85rem; }
.software-logos .software-icon{
  width: 56px; height: 56px; margin: 0 auto 8px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-weight: 700;
}

/* ---------- Statistiques chiffrées ---------- */
.stats-section{ padding: 20px 0 84px; }
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stats-grid > div{
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 10px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 20px;
  transition: border-color .2s ease;
}
.stats-grid > div:hover{ border-bottom-color: var(--accent); }
.stat-icon{
  width: 74px; height: 74px;
  border-radius: 50%;
  background: #1a1a1a;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}
.stat-icon svg{ width: 32px; height: 32px; }
.stat-number{ font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.stat-label{ color: var(--ink-soft); font-size: .9rem; }

@media (max-width: 900px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 600px){
  .service-grid,
  .service-grid.cols-2,
  .service-grid.cols-2-wide{ grid-template-columns: 1fr; }
  .hero-carousel{ min-height: 460px; }
}

/* Page hero (sous-pages, plus compact) */
.page-hero{
  background: var(--navy);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1{ color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .3em; }
.page-hero p{ color: #dcebee; max-width: 620px; margin: 0 auto; }
.breadcrumb{ font-size: .85rem; color: #a9cdd6; margin-bottom: 18px; }
.breadcrumb a:hover{ color: var(--accent); }

/* ---------- Cards grid ---------- */
.grid{ display: grid; gap: 26px; }

.cities-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px 24px;
  list-style: none;
  padding: 0;
}
.cities-list li{ border-bottom: 1px solid var(--line); }
.cities-list a{
  display: block;
  padding: 10px 4px;
  color: var(--ink);
  font-size: .95rem;
}
.cities-list a:hover{ color: var(--accent); }
.cities-list .cp{ color: var(--ink-soft); font-size: .85rem; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--white);
  border-top: 10px solid var(--navy);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.card:hover{ border-color: var(--accent); }
.card .icon{
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}
.card .icon img{ width: 100%; height: 100%; object-fit: contain; }
.card h3{ font-size: 1.05rem; font-weight: 700; text-transform: uppercase; margin-bottom: .5em; }
.card p, .card ul{ color: var(--ink-soft); font-size: .95rem; }
.card ul{ margin-top: 10px; }
.card ul li{ position: relative; padding-left: 20px; margin-bottom: 7px; }
.card ul li::before{
  content:"";
  position:absolute; left:0; top:.55em;
  width:8px; height:8px; border-radius:2px;
  background: var(--accent);
}
.card a.card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; color:var(--blue); font-weight:600; font-size:.9rem; }

/* Icon-tile card (services Apple/PC listing) */
.tile{
  background: var(--white);
  border-top: 10px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.tile:hover{ border-color: var(--accent); }
.tile h4{ color: var(--navy); }
.tile:hover h4{ color: var(--accent); }
.tile .tile-icon{
  height: 90px; margin: 0 auto 16px;
  display:flex; align-items:center; justify-content:center;
  color: var(--navy); font-size: 1.6rem;
}
.tile .tile-icon img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.tile h4{ font-size: .92rem; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.tile p{ font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* ---------- Nos Atouts (fond clair, comme l'original) ---------- */
.band{
  background: var(--white);
  color: var(--ink);
  padding: 84px 0;
}
.band h2{ color: var(--ink); text-align: center; }
.band p{ color: var(--ink-soft); }
.band .grid-3 .card{
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
  border-bottom: 10px solid var(--navy);
  box-shadow: none;
  color: var(--ink);
  text-align: center;
}
.band .grid-3 .card:hover{ border-bottom-color: var(--accent); }
.band .card .icon{
  background: none;
  color: var(--ink);
  margin: 0 auto 18px;
  width: 60px; height: 60px;
}
.band .card .icon svg{ width: 100%; height: 100%; }
.band .card .icon img{ width: 100%; height: 100%; object-fit: contain; }
.band .card h3{ text-align: center; }
.band .card p{ color: var(--ink-soft); }

/* ---------- Avis clients (Google) ---------- */
.reviews-summary{
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-bottom: 30px;
}
.reviews-summary h3{
  font-size: 1.4rem;
  margin: 0 0 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.reviews-summary .g-icon{ font-size: 1.3rem; }
.google-g{
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #4285F4 0deg 90deg, #34A853 90deg 180deg, #FBBC05 180deg 270deg, #EA4335 270deg 360deg);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  vertical-align: middle;
  margin-right: 4px;
}
.reviews-summary .rating-line{ color: var(--ink-soft); font-size: 1rem; margin-bottom: 20px; }
.reviews-summary .rating-line strong{ color: var(--ink); }
.reviews-summary .stars{ color: #fbbc04; letter-spacing: 2px; }
.btn-google{
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
}
.btn-google:hover{ background: #1558b0; }

.reviews-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card{
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 22px;
}
.review-card .reviewer{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card .reviewer-name{ font-weight: 700; font-size: .95rem; color: var(--ink); }
.review-card .reviewer-time{ font-size: .8rem; color: var(--ink-soft); }
.review-card .stars{ color: #fbbc04; margin-bottom: 8px; display: block; }
.review-card p{ font-size: .88rem; color: var(--ink); margin-bottom: 12px; }
.google-wordmark{ font-weight: 700; font-size: .95rem; }
.google-wordmark .g1{ color:#4285F4; }
.google-wordmark .g2{ color:#EA4335; }
.google-wordmark .g3{ color:#FBBC05; }
.google-wordmark .g4{ color:#4285F4; }
.google-wordmark .g5{ color:#34A853; }
.google-wordmark .g6{ color:#EA4335; }

@media (max-width: 900px){
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .reviews-grid{ grid-template-columns: 1fr; }
}

/* ---------- About / split ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img{ border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split .btn{ margin-top: 10px; }

.about-list{ margin-top: 26px; display: grid; gap: 18px; }
.about-list h4{ font-size: 1.02rem; margin-bottom: 4px; color: var(--navy); }
.about-list p{ margin:0; color: var(--ink-soft); font-size: .95rem; }

.info-box{
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 26px;
  font-size: .9rem;
  color: var(--navy);
}

/* ---------- Pricing ---------- */
.price-card{
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-bottom: 10px solid var(--navy);
  padding: 40px 34px;
  text-align: center;
  box-shadow: none;
  position: relative;
  transition: border-color .2s ease;
}
.price-card:hover{ border-bottom-color: var(--accent); }
.price-card .icon{
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  color: var(--ink);
}
.price-card .icon svg{ width: 100%; height: 100%; }
.price-card .icon img{ width: 100%; height: 100%; object-fit: contain; }
.price-card h3{ font-size: 1rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.price-card .amount{ font-size: 1.05rem; color: var(--ink); font-weight: 600; margin: 0 0 12px; }
.price-card p.desc{ color: var(--ink); font-size: .95rem; }
.tax-note{
  margin-top: 40px; font-size: .82rem; color: var(--ink-soft);
  text-align: center; max-width: 720px; margin-left:auto; margin-right:auto;
}
.tax-note a{ color: var(--blue); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta{
  background: linear-gradient(120deg, var(--blue), #16437f);
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-actions{ display: flex; gap: 14px; flex-wrap: wrap; }
.cta h2{ color: #fff; margin-bottom: .2em; }
.cta p{ color: #dbe8ff; margin: 0; }

/* ---------- Contact page ---------- */
.contact-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card{
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.contact-card img{ width: 100%; }
.contact-body{ padding: 30px; }
.contact-row{ display: flex; gap: 14px; align-items:flex-start; margin-bottom: 20px; }
.contact-row .ic{
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-row h4{ margin: 0 0 3px; font-size: .98rem; }
.contact-row p{ margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Footer (fidèle : fond bleu-pétrole d'origine) ---------- */
footer{
  background: var(--navy);
  color: #ffffff;
  padding-top: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-grid h4{ color: #fff; font-size: .74rem; font-weight: 600; margin-bottom: 10px; }
.footer-grid p{ font-size: .7rem; color: #ffffff; line-height: 1.5; margin-bottom: 5px; }
.footer-note{
  font-size: .64rem !important;
  font-style: italic;
  color: #cfe4e9 !important;
  margin-top: 4px;
  margin-bottom: 12px;
}
.footer-grid ul li{ margin-bottom: 1px; }
.footer-grid ul li a{ font-size: .7rem; color: #ffffff; transition: color .15s; line-height: 1.5; display: block; }
.footer-grid ul li a:hover{ color: var(--accent); }
.footer-logo{ font-weight:700; font-size:.9rem; color:#fff; margin-bottom: 14px; }
.footer-social{ display: flex; gap: 10px; margin-top: 18px; }
.footer-social a{
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.footer-social a svg{ width: 16px; height: 16px; }
.footer-social a:hover{ background: var(--accent); color: #fff; }
.footer-grid .ft-ic{
  display: inline-flex;
  width: 15px; height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  color: #cfe4e9;
}
.footer-grid .ft-ic svg{ width: 100%; height: 100%; }
.footer-grid .ft-ic-spacer{ display: inline-block; width: 23px; }
.footer-map{
  width: 100%;
  height: 160px;
  border: none;
  border-radius: var(--radius);
  filter: grayscale(.15);
}
.footer-bottom{
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: .66rem;
  border-top: 1px solid rgba(255,255,255,.4);
  text-align: center;
}
.footer-badges{
  margin-top: 6px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-badges img{ height: 30px; width: auto; }
.footer-areas{
  font-size: .68rem;
  color: #d8e4e8;
  line-height: 1.9;
  padding: 20px 0 40px;
  text-align: justify;
}
.footer-areas a{ color: #eaf2f2; }
.footer-areas a:hover{ color: var(--accent); text-decoration: underline; }
.footer-areas a:hover{ color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero .wrap{ grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual{ order: -1; }
  .split{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .contact-wrap{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav-links, .nav-phone span{ display: none; }
  .menu-toggle{ display: block; }
  .topbar-links{ display:none; }
  .logo img{ height: 38px; }
  .nav{ justify-content: space-between; }
  .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; }
  .section{ padding: 56px 0; }
  .cta{ padding: 36px; flex-direction: column; text-align: center; }
  .footer-grid{ grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
.mobile-nav{
  display: none;
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 100;
  color: #fff;
  /* Le menu peut depasser la hauteur de l'ecran : il doit defiler */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-nav.open{ display: block; }
/* Barre superieure fixe avec le bouton de fermeture */
.mobile-nav .close-btn{
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  background: var(--navy-dark);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 18px 24px 14px;
  cursor: pointer;
  z-index: 2;
}
.mobile-nav ul{
  margin: 0;
  padding: 0 24px 40px;
  display: grid;
  gap: 2px;
  list-style: none;
}
.mobile-nav ul a{
  display: block;
  padding: 13px 6px;
  font-size: 1.02rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav ul a:hover{ color: var(--accent); }
/* Intitules de groupe */
.mobile-nav .mnav-group{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 22px 6px 6px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  margin-bottom: 4px;
}
.mobile-nav .mnav-group:first-child{ padding-top: 4px; }
/* Entrees d'un groupe : legerement decalees */
.mobile-nav .mnav-sub a{
  padding-left: 18px;
  font-size: .96rem;
  color: #d8e4e8;
}

/* ---------- Popup d'annonce (nouveau service) ---------- */
.announce-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 30, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.announce-overlay.open{
  opacity: 1;
  pointer-events: auto;
}
.announce-box{
  background: #ffffff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 36px 32px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transform: scale(.92) translateY(10px);
  transition: transform .3s ease;
}
.announce-overlay.open .announce-box{
  transform: scale(1) translateY(0);
}
.announce-close{
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.announce-close:hover{ color: var(--ink); }
.announce-badge{
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.announce-box h3{
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: var(--navy);
}
.announce-box p{
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0 0 22px;
}
.announce-cta{
  display: inline-flex;
}

/* ---------- Justification du texte de contenu ---------- */
.section p,
.split p,
.tile p,
.card p,
.service-box p,
.page-hero p,
.info-box{
  text-align: justify;
}
/* Exceptions : éléments centrés ou d'interface où la justification n'a pas de sens */
.section-head p,
.cta p,
.eyebrow,
.breadcrumb,
.video-credit,
.announce-box p,
.footer-grid p,
.stat-label,
.price-card p,
.topbar p{
  text-align: inherit;
}
.section-head p{ text-align: justify; }
.cta p{ text-align: left; }
.announce-box p{ text-align: center; }

/* ---------- Sélecteur de langue ---------- */
.lang-switcher{
  position: relative;
}
.lang-current{
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s;
}
.lang-current:hover{ border-color: var(--accent); }
.lang-flag{
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.lang-flag svg{
  width: 20px;
  height: 15px;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}
.lang-option .lang-flag svg{
  width: 22px;
  height: 16.5px;
}
.lang-caret{
  font-size: .6rem;
  opacity: .8;
  transition: transform .15s ease;
}
.lang-switcher.open .lang-caret{ transform: rotate(180deg); }
.lang-menu{
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--navy-dark);
  border-radius: 5px;
  padding: 5px;
  min-width: 150px;
  box-shadow: var(--shadow-md);
  z-index: 120;
}
.lang-switcher.open .lang-menu{ display: block; }
.lang-option{
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: .82rem;
  font-family: inherit;
  text-align: left;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.lang-option:hover{ background: rgba(255,255,255,.09); color: var(--accent); }
.lang-option.active{ background: var(--accent); color: #fff; }

/* ---------- Formulaire de contact ---------- */
.contact-form{
  max-width: 780px;
  margin: 0 auto;
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field{
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.form-field label{
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-opt{
  font-weight: 400;
  color: var(--ink-soft);
  font-size: .82rem;
}
.form-field input,
.form-field select,
.form-field textarea{
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,111,60,.15);
}
.form-field textarea{
  resize: vertical;
  min-height: 130px;
}
.form-field input[type="file"]{ cursor: pointer; padding: 9px 12px; }
.form-field input[type="file"]::file-selector-button{
  margin-right: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.form-field input[type="file"]::file-selector-button:hover{ background: var(--navy); }
.form-hint{ font-size: .8rem; color: var(--ink-soft); margin: 6px 0 0; }
.form-note{
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.contact-form .btn{
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 14px 32px;
}
/* Champ piège anti-robots : masqué aux visiteurs */
.form-hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Message d'erreur */
.form-alert{
  max-width: 780px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #fdecea;
  border: 1px solid #f5c2bd;
  color: #a4241a;
  font-size: .9rem;
  text-align: center;
}
@media (max-width: 700px){
  .form-row{ grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Bloc note Google (page avis) ---------- */
.rating-box{
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px 32px;
  box-shadow: var(--shadow-sm);
}
.rating-stars{
  color: #fbbc04;
  font-size: 2rem;
  letter-spacing: 4px;
  line-height: 1;
}
.rating-score{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--navy);
  margin-top: 14px;
  line-height: 1;
}
.rating-count{
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 10px 0 26px;
  text-align: center;
}
.rating-box p{ text-align: center; }
.rating-actions{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Cartes d'avis clients ---------- */
.review-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name{
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}
.review-date{
  color: var(--ink-soft);
  font-size: .8rem;
}
.review-stars{
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-text{
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}
.review-note{
  text-align: center;
  color: var(--ink-soft);
  font-size: .82rem;
  font-style: italic;
  margin-top: 26px;
}
@media (max-width: 1000px){
  .review-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px){
  .review-grid{ grid-template-columns: 1fr; }
}


/* ---------- Carrousel d'avis ---------- */
.review-carousel{
  overflow: hidden;
  position: relative;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.review-track{
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 22px;
  width: max-content;
  animation: reviewScroll 35s linear infinite;
}
.review-carousel:hover .review-track{
  animation-play-state: paused;
}
.review-track .review-card{
  width: 340px;
  min-width: 340px;
  flex-shrink: 0;
}
@keyframes reviewScroll{
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 11px)); }
}
/* Accessibilité : pas d'animation si l'utilisateur la refuse */
@media (prefers-reduced-motion: reduce){
  .review-track{ animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* ---------- Bandeau "Prix annoncé, prix payé" ---------- */
.fair-box{
  margin: 0 0 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
}
.fair-box h3{
  color: var(--navy);
  font-size: 1.3rem;
  margin: 0 0 14px;
}
.fair-box p{
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 0 12px;
  text-align: justify;
}
.fair-box p:last-child{ margin-bottom: 0; }
.fair-mutual{
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 18px !important;
  font-style: italic;
  font-size: .9rem !important;
}

/* ---------- Bandeau de consentement ---------- */
.cookie-banner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--navy-dark);
  color: #fff;
  z-index: 300;
  padding: 18px 24px;
  box-shadow: 0 -6px 24px rgba(0,0,0,.25);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.cookie-banner.open{ transform: translateY(0); }
.cookie-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.cookie-inner p{
  flex: 1;
  min-width: 260px;
  margin: 0;
  font-size: .85rem;
  line-height: 1.6;
  color: #d8e4e8;
  text-align: left;
}
.cookie-inner a{ color: var(--accent); text-decoration: underline; }
.cookie-actions{ display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn{ padding: 10px 22px; font-size: .85rem; }
.cookie-actions .btn-outline{ color: #fff; border-color: rgba(255,255,255,.45); }
.cookie-actions .btn-outline:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- Liens légaux du footer ---------- */
.footer-legal{
  display: block;
  margin-top: 0;
  font-size: .62rem;
}
.footer-legal a{ color: #b9cbd2; }
.footer-legal a:hover{ color: var(--accent); }

/* ---------- Page statistiques ---------- */
.stat-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-value{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--navy);
  line-height: 1.1;
}
.stat-card .stat-label{
  color: var(--ink-soft);
  font-size: .82rem;
  margin-top: 8px;
}
.stats-since{
  text-align: center;
  color: var(--ink-soft);
  font-size: .88rem;
  margin-top: 26px;
}
.stats-chart{
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 220px;
  padding: 0 4px;
}
.chart-col{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.chart-bar{
  width: 100%;
  max-width: 46px;
  background: linear-gradient(180deg, var(--accent), #e05a2b);
  border-radius: 5px 5px 0 0;
  min-height: 4px;
}
.chart-num{ font-size: .72rem; color: var(--ink-soft); margin-top: 6px; }
.chart-day{ font-size: .68rem; color: var(--ink-soft); opacity: .75; }
.stats-pages{ display: grid; gap: 12px; }
.page-row{
  display: grid;
  grid-template-columns: minmax(140px, 260px) 1fr 70px;
  align-items: center;
  gap: 14px;
}
.page-name{ font-size: .85rem; color: var(--navy); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-track{ background: var(--blue-light); border-radius: 999px; height: 12px; overflow: hidden; }
.page-fill{ background: var(--navy); height: 100%; border-radius: 999px; }
.page-count{ font-size: .82rem; color: var(--ink-soft); text-align: right; }

/* ---------- Pages légales ---------- */
.legal-text{ max-width: 820px; margin: 0 auto; }
.legal-text h2{
  font-size: 1.25rem;
  color: var(--navy);
  margin: 34px 0 12px;
}
.legal-text h2:first-child{ margin-top: 0; }
.legal-text p{
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: justify;
}

@media (max-width: 760px){
  .stats-chart{ height: 170px; gap: 5px; }
  .chart-num{ display: none; }
  .page-row{ grid-template-columns: 1fr 60px; }
  .page-track{ display: none; }
  .cookie-actions{ width: 100%; }
  .cookie-actions .btn{ flex: 1; justify-content: center; }
}
.footer-siren{
  display: block;
  font-size: .6rem;
  color: #a8bfc7;
  line-height: 1.5;
}

/* ---------- Page Application Mobile ---------- */
.am-eyebrow{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.am-eyebrow span{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.am-eyebrow em{
  margin-left: auto;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.am-lead{ max-width: 760px; margin-bottom: 30px; }
.am-lead h2{ margin-bottom: 12px; }
.am-lead p{ color: var(--ink-soft); font-size: 1rem; text-align: left; }

/* Chiffres clés */
.am-keyfigures{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}
.am-fig{
  padding: 28px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.am-fig:last-child{ border-right: none; }
.am-fig-value{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
}
.am-fig-label{
  color: var(--ink-soft);
  font-size: .8rem;
  margin-top: 10px;
  line-height: 1.5;
}

/* Rôles */
.am-roles{ display: grid; gap: 16px; align-content: start; }
.am-role{
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 20px 22px;
}
.am-role-ic{
  width: 34px; height: 34px;
  flex-shrink: 0;
  color: var(--navy);
}
.am-role-ic svg{ width: 100%; height: 100%; }
.am-role h4{ color: var(--navy); font-size: .98rem; margin: 0 0 5px; }
.am-role p{ color: var(--ink-soft); font-size: .87rem; margin: 0; line-height: 1.6; text-align: left; }

/* Étapes de la méthode */
.am-step{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.am-step:last-child{ border-bottom: 1px solid var(--line); }
.am-step-num{
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 3.4rem;
  color: var(--navy);
  line-height: 1;
  opacity: .22;
}
.am-step-body h3{ color: var(--navy); font-size: 1.4rem; margin: 0 0 12px; }
.am-step-body > p{ color: var(--ink-soft); font-size: .95rem; line-height: 1.75; margin: 0 0 18px; max-width: 720px; text-align: justify; }
.am-tags{ display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.am-tags li{
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 11px;
}

/* Marqueur de contenu à compléter */
.am-placeholder{
  background: #fff8e6;
  border: 1px dashed #e0b84c;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: .86rem !important;
  color: #8a6a12 !important;
  font-style: italic;
}

@media (max-width: 900px){
  .am-keyfigures{ grid-template-columns: repeat(2, 1fr); }
  .am-fig:nth-child(2){ border-right: none; }
  .am-fig:nth-child(1), .am-fig:nth-child(2){ border-bottom: 1px solid var(--line); }
  .am-step{ grid-template-columns: 1fr; gap: 10px; }
  .am-step-num{ font-size: 2.4rem; }
}
@media (max-width: 560px){
  .am-keyfigures{ grid-template-columns: 1fr; }
  .am-fig{ border-right: none; border-bottom: 1px solid var(--line); }
  .am-fig:last-child{ border-bottom: none; }
  .am-eyebrow em{ display: none; }
}
.am-fig-value.am-fig-word{
  font-size: 1.35rem;
  line-height: 1.25;
}
.am-partner{
  margin: 0 0 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px 14px;
  text-align: center;
}
.am-partner img{
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.am-partner figcaption{
  font-size: .74rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 10px;
}

/* ---------- Mention tarifaire ARCEP (format banalisé) ---------- */
.arcep{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: #889094;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 5px 10px 5px 12px;
  margin-left: 16px;
  vertical-align: middle;
  white-space: nowrap;
}
/* Pointe en flèche à gauche (SVG : compatible tous navigateurs) */
.arcep::before{
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  height: 100%;
  width: 10px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 100' preserveAspectRatio='none'%3E%3Cpolygon points='10,0 0,50 10,100' fill='%23889094'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.arcep-a, .arcep-b{ display: block; }
/* Version compacte : bandeau du haut et footer */
.arcep-mini{
  font-size: .5rem;
  line-height: 1.2;
  padding: 3px 8px 3px 9px;
  margin-left: 14px;
}
.arcep-mini::before{ left: -8px; width: 8px; }

/* Bloc téléphone complet : pages Contact et Merci */
.phone-card{
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #cccccc;
  background: #fff;
  padding: 4px 0 4px 4px;
  margin-bottom: 10px;
}
.phone-card-num{
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 1.5px;
  padding: 6px 14px 6px 16px;
  display: flex;
  align-items: center;
}
.phone-card .arcep{
  font-size: .72rem;
  padding: 9px 14px 9px 12px;
  margin-left: 18px;
}
.phone-card .arcep::before{ left: -13px; width: 13px; }

/* Bloc téléphone encadré dans le bandeau du haut */
.phone-card-top{
  margin-left: 0;
  margin-right: 0;
  padding: 2px 0 2px 2px;
  vertical-align: middle;
}
.phone-card-top .phone-card-num{
  font-size: .82rem;
  letter-spacing: .5px;
  padding: 3px 8px 3px 10px;
  color: #111 !important;
  text-decoration: none;
}
.phone-card-top .arcep{
  font-size: .5rem;
  line-height: 1.2;
  padding: 4px 9px 4px 8px;
  margin-left: 12px;
}
.phone-card-top .arcep::before{ left: -9px; width: 9px; }
/* Resserre l'écart fixe / mobile dans le bandeau (le cadre hérite d'un margin-bottom:10px de .phone-card) */
.topbar-contact .phone-card-top{ margin-bottom: 2px; }

/* Ligne mobile alignée sous le numéro fixe encadré */
.topbar-mobile-line{
  position: relative;
  align-items: center;
  margin-top: 2px;
  /* 13px = bordure (1) + marge du cadre (2) + marge du numéro (10),
     ce qui aligne le mobile sous le numéro fixe */
  padding-left: 13px;
}
.topbar-mobile-line .mobile-ic{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  color: #8ab4c4;
  display: inline-flex;
}
.topbar-mobile-line .mobile-ic svg{ width: 100%; height: 100%; }

/* Cadre téléphone dans le footer */
.footer-grid .phone-card-top{
  margin-right: 0;
  vertical-align: middle;
}

/* E-mail dans la barre de menu : icône seule, alignée à droite.
   L'enveloppe est dessinée en arrière-plan du lien : elle s'affiche
   quel que soit le contenu HTML interne. */
.nav-cta{ margin-left: auto; }
.nav-email{
  display: inline-block;
  width: 34px;
  height: 34px;
  padding: 0;
  text-decoration: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E");
  background-size: 21px 21px;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image .15s;
  overflow: hidden;
  text-indent: -9999px;      /* masque tout texte éventuel */
  white-space: nowrap;
}
.nav-email:hover{ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6f3c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E"); }
/* Neutralise l'icône interne des anciennes versions */
.nav-email > *{ display: none !important; }

/* Infobulle de l'adresse e-mail au survol */
.nav-cta{ position: relative; }
.nav-cta::after{
  content: "info@zone-help.com";
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-dark);
  color: #fff;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: normal;
  padding: 6px 11px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.nav-cta:hover::after{ opacity: 1; }

/* ---------- Badge du bandeau de titre (ex. "Hébergeur français") ---------- */
/* Le paragraphe est centré ; la pastille orange se centre donc sous le H1. */
.page-hero .hero-badge{
  max-width: none;
  margin: 0 auto 16px;
  text-align: center;
}
.page-hero .hero-badge span{
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .02em;
}
