/**
 * En-tête, méga-menus, tiroir mobile, accueil et pied de page d'ATS Services,
 * d'après les maquettes du 28/09/2026 (6 planches, Drive « Maquettes »).
 * Mesures relevées sur les planches 1448 px : un pixel de planche vaut un
 * pixel d'écran à 1440 px de large.
 */

:root {
  --m-nuit: #283843;          /* barre du haut */
  --m-encre: #1B2A33;         /* titres */
  --m-texte: #3E4C54;
  --m-doux: #6B7880;
  --m-trait: #E1E7E8;
  --m-petrole: #006671;       /* boutons, liens */
  --m-petrole-f: #004F58;
  --m-petrole-num: #0C4F59;   /* pastilles numérotées */
  --m-teinte: #EDF5F4;        /* cartes des menus, bloc revendeur */
  --m-gris: #F3F6F7;          /* bloc « avant de commander », pied */
  --m-champ: #F7F9F9;
  --m-wa: #1FA855;
  --m-conteneur: 1504px;
  --ats-petrole: var(--m-petrole);
  --ats-petrole-f: var(--m-petrole-f);
  --wy-vert: var(--m-petrole);
}

.ats-conteneur { max-width: var(--m-conteneur); margin: 0 auto; padding-inline: 28px; box-sizing: border-box; }
.ats-ico { width: 22px; height: 22px; flex: none; }
.ats-ico.ats-petit { width: 16px; height: 16px; }
.ats-ico--wa { color: var(--m-wa); }
.ats-ico--wa-trait { color: var(--m-petrole); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Le gabarit du thème ajoute des marges autour de l'en-tête et du pied. */
header.wp-block-template-part, footer.wp-block-template-part { margin: 0 !important; padding: 0 !important; }
header.wp-block-template-part > .wp-block-shortcode, header.wp-block-template-part p:empty { margin: 0; }

/* ---------------- boutons ---------------- */

.ats-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box;
  min-height: 48px; padding: 0 22px; border-radius: 6px;
  font: 600 16px/1.2 'Archivo', Arial, sans-serif; text-decoration: none !important;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.ats-bouton .ats-ico { width: 20px; height: 20px; }
.ats-bouton--plein { background: var(--m-petrole); color: #fff !important; }
.ats-bouton--plein:hover { background: var(--m-petrole-f); }
.ats-bouton--contour { background: #fff; color: var(--m-encre) !important; box-shadow: inset 0 0 0 1.5px var(--m-petrole); }
.ats-bouton--contour:hover { background: var(--m-teinte); }
.ats-bouton--blanc { background: #fff; color: var(--m-petrole) !important; }
.ats-bouton--blanc:hover { background: var(--m-teinte); }
.ats-bouton--grand { min-height: 56px; padding: 0 26px; font-size: 17px; }
.ats-lien-fleche { display: inline-flex; align-items: center; gap: 6px; color: var(--m-petrole) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; }
.ats-lien-fleche .ats-ico { width: 18px; height: 18px; transition: transform .15s ease; }
.ats-lien-fleche:hover .ats-ico { transform: translateX(3px); }

/* ---------------- barre du haut ---------------- */

.ats-top { background: var(--m-nuit); color: #fff; font-size: 16px; position: relative; z-index: 61; }
.ats-top p { max-width: none; }
.ats-top__in { display: flex; justify-content: space-between; align-items: center; min-height: 50px; gap: 12px; }
.ats-top p { display: flex; align-items: center; gap: 22px; margin: 0; }
.ats-top p > span, .ats-top a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.ats-top .ats-ico { width: 22px; height: 22px; opacity: .92; }
.ats-top__sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .35); }

/* ---------------- en-tête ---------------- */

.ats-tete { background: #fff; border-bottom: 1px solid var(--m-trait); position: relative; z-index: 61; }
.ats-tete__in { display: flex; align-items: center; gap: 20px; min-height: 118px; }
.ats-tete__logo { flex: none; display: block; line-height: 0; }
.ats-logo-img { width: 158px; height: auto; display: block; }
.ats-burger { display: none; background: none; border: 0; padding: 6px; color: var(--m-encre); cursor: pointer; }
.ats-burger .ats-ico { width: 28px; height: 28px; }

.ats-cherche { position: relative; flex: 1 1 463px; max-width: 463px; min-width: 220px; margin: 0 0 0 42px; }
.ats-cherche__ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--m-encre); pointer-events: none; }
.ats-cherche input[type="search"] {
  width: 100%; box-sizing: border-box; height: 56px; padding: 0 18px 0 58px;
  border: 1px solid #DCE3E3; border-radius: 6px; background: var(--m-champ);
  font: 400 17px/1 'Archivo', Arial, sans-serif; color: var(--m-encre); -webkit-appearance: none;
}
.ats-cherche input[type="search"]::placeholder { color: #8A979C; }
.ats-cherche input[type="search"]:focus { outline: none; border-color: var(--m-petrole); background: #fff; box-shadow: 0 0 0 3px rgba(0, 102, 113, .14); }
.ats-cherche .wy-rech__panneau { top: calc(100% + 8px); }

.ats-tete__pro { flex: none; height: 56px; padding: 0 20px; font-size: 16px; white-space: nowrap; margin-left: 4px; }
.ats-tete__pro .ats-ico { width: 24px; height: 24px; }
.ats-tete__actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.ats-tete__act { display: inline-flex; align-items: center; gap: 10px; color: var(--m-encre) !important; text-decoration: none !important; font-size: 16px; font-weight: 500; white-space: nowrap; }
.ats-tete__act > .ats-ico { width: 27px; height: 27px; }
.ats-tete__act:hover span { color: var(--m-petrole); }
.ats-panier-ico { position: relative; display: inline-flex; }
.ats-panier-ico .ats-ico { width: 30px; height: 30px; }
.ats-badge { position: absolute; top: -9px; right: -9px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 10px; background: var(--m-petrole); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.ats-tete__panier-txt { display: flex; flex-direction: column; line-height: 1.2; }
.ats-panier-total { display: none; }
.ats-tete__sep { width: 1px; height: 38px; background: var(--m-trait); }
.ats-tete__cherche-m, .ats-tete__wa { display: none !important; }

/* ---------------- menu principal ---------------- */

.ats-nav { background: #fff; border-bottom: 1px solid var(--m-trait); position: relative; z-index: 60; }
.ats-nav__liste { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-start; align-items: stretch; gap: 19px; }
.ats-nav__item { display: flex; }
.ats-nav__lien {
  display: inline-flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 18px;
  color: var(--m-encre) !important; text-decoration: none !important; font-size: 17px; font-weight: 500;
  border-bottom: 3px solid transparent; box-sizing: border-box; white-space: nowrap;
}
.ats-nav__lien .ats-petit { width: 18px; height: 18px; transition: transform .15s ease; }
.ats-nav__item--catalogue .ats-nav__lien { background: #F1F6F6; color: var(--m-petrole) !important; font-weight: 700; }
.ats-nav__item--catalogue .ats-nav__lien > .ats-ico:first-child { width: 24px; height: 24px; }
.ats-nav__item.est-courant .ats-nav__lien,
.ats-nav__item.est-ouvert .ats-nav__lien { color: var(--m-petrole) !important; font-weight: 700; border-bottom-color: var(--m-petrole); background: #F1F6F6; }
.ats-nav__item.est-ouvert .ats-nav__lien .ats-petit { transform: rotate(180deg); }


/* ---------------- méga-menus ---------------- */

.ats-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 70;
  width: min(calc(var(--m-conteneur) - 56px), calc(100% - 56px)); margin: 0 auto; box-sizing: border-box;
  background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 24px 50px rgba(27, 42, 51, .14);
  padding: 26px 26px 22px; display: none;
}
.ats-nav__item.est-ouvert .ats-mega { display: block; }
.ats-mega__corps { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.3fr); }
.ats-mega__corps.sans-carte { grid-template-columns: 1fr; max-width: 520px; }
.ats-mega__col { padding: 0 22px; border-left: 1px solid var(--m-trait); }
.ats-mega__col:first-child { padding-left: 0; border-left: 0; }
.ats-mega__col ul { list-style: none; margin: 0; padding: 0; }
.ats-mega__titre { margin: 0 0 18px; font-size: 21px; font-weight: 700; color: var(--m-encre); }
.ats-mega__titre--grand { font-size: 24px; margin: 14px 0 8px; }
.ats-mega__sous { margin: 0 0 18px; color: var(--m-doux); font-size: 16px; line-height: 1.45; }
.ats-mega__col a { display: flex; align-items: center; gap: 14px; text-decoration: none !important; color: var(--m-encre) !important; }
.ats-mega__col--riche li + li { margin-top: 18px; }
.ats-mega__col--simple li, .ats-mega__col--icone li { border-bottom: 1px solid var(--m-trait); }
.ats-mega__col--simple li:last-child, .ats-mega__col--icone li:last-child { border-bottom: 0; }
.ats-mega__col--simple a { min-height: 72px; font-size: 19px; font-weight: 700; }
.ats-mega__col--icone a { min-height: 76px; font-size: 17px; }
.ats-mega__lien { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ats-mega__lib { font-weight: 600; font-size: 16px; line-height: 1.3; }
.ats-mega__col--simple .ats-mega__lib { font-weight: 700; font-size: 19px; }
.ats-mega__col--icone .ats-mega__lib { font-weight: 500; }
.ats-mega__desc { color: var(--m-doux); font-size: 14px; line-height: 1.35; margin-top: 3px; }
.ats-mega__ico { width: 28px; height: 28px; color: var(--m-encre); }
.ats-mega__chev { width: 20px; height: 20px; color: var(--m-encre); margin-left: auto; }
.ats-mega__col a:hover .ats-mega__lib { color: var(--m-petrole); }
.ats-pastille-ico { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex: none; border-radius: 8px; background: #F0F5F5; color: var(--m-petrole-f); }
.ats-pastille-ico .ats-ico { width: 30px; height: 30px; }
.ats-pastille-ico--grand { width: 58px; height: 58px; background: #DDEDEC; }
.ats-pastille-ico--rond { border-radius: 50%; width: 50px; height: 50px; background: #DDEDEC; }

.ats-mega__carte { position: relative; overflow: hidden; margin-left: 4px; background: var(--m-teinte); border-radius: 12px; padding: 26px 28px; }
.ats-mega__carte-titre { margin: 18px 0 10px; font-size: 24px; font-weight: 800; color: var(--m-encre); line-height: 1.2; }
.ats-mega__carte-titre--moyen { font-size: 23px; margin-top: 14px; }
.ats-mega__carte-titre--xl { font-size: 32px; margin-top: 18px; }
.ats-mega__carte-texte { margin: 0 0 16px; color: var(--m-texte); font-size: 17.5px; line-height: 1.5; position: relative; }
.ats-coches { list-style: none; margin: 0 0 22px; padding: 0; }
.ats-coches li { display: flex; align-items: center; gap: 12px; margin: 8px 0; color: var(--m-texte); font-size: 16.5px; }
.ats-coches .ats-ico { width: 24px; height: 24px; color: #1F9A62; }
.ats-mega__carte .ats-bouton { width: 100%; min-height: 52px; font-size: 17px; }
.ats-mega__carte--demat .ats-bouton { width: auto; position: relative; z-index: 1; }
.ats-mega__illu { display: block; width: 108%; max-width: 440px; margin: -8px -30px -28px auto; }
.ats-mega__carte--paris { min-height: 330px; }
.ats-mega__carte--paris > *:not(.ats-mega__immeuble) { position: relative; z-index: 1; }
.ats-mega__carte--paris .ats-mega__carte-texte { max-width: 66%; }
.ats-mega__carte--paris .ats-mega__adresse { max-width: none; font-size: 16px; }
.ats-mega__carte--paris .ats-mega__dirigeant { max-width: 80%; }
.ats-mega__immeuble { position: absolute; right: 0; top: 0; height: 100%; width: auto; pointer-events: none; z-index: 0; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%); mask-image: linear-gradient(90deg, transparent 0, #000 60%); }
.ats-mega__adresse { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; color: var(--m-encre); }
.ats-mega__adresse .ats-ico { width: 22px; height: 22px; }
.ats-mega__dirigeant { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #D5E3E2; }
.ats-mega__dirigeant b { display: block; font-size: 16px; color: var(--m-encre); }
.ats-mega__dirigeant span span { color: var(--m-doux); font-size: 15px; }

.ats-etapes-v { list-style: none; margin: 16px 0 0; padding: 0; }
.ats-etapes-v li { display: flex; gap: 16px; margin: 0 0 16px; }
.ats-etapes-v b { display: block; font-size: 17px; color: var(--m-encre); }
.ats-etapes-v li > span:last-child > span { color: var(--m-doux); font-size: 15px; line-height: 1.4; display: block; }
.ats-num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--m-petrole-num); color: #fff; font-weight: 700; font-size: 17px; }

.ats-mega__pied--produits { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--m-trait); }
.ats-mega__pied-tete { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ats-mega__pied-tete .ats-mega__titre { margin: 0; font-size: 21px; }
.ats-mega__produits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ats-mcarte { display: flex; flex-direction: column; border: 1px solid var(--m-trait); border-radius: 8px; padding: 12px 18px 18px; text-decoration: none !important; color: var(--m-encre) !important; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.ats-mcarte:hover { border-color: #C9D6D6; box-shadow: 0 8px 22px rgba(27, 42, 51, .07); }
.ats-mcarte__img { height: 190px; display: flex; align-items: center; justify-content: center; }
.ats-mcarte__img img { max-height: 190px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ats-mcarte__bas { display: flex; align-items: flex-end; gap: 10px; }
.ats-mcarte__txt { display: flex; flex-direction: column; flex: 1; }
.ats-mcarte__marque { color: var(--m-petrole); font-weight: 600; font-size: 15px; }
.ats-mcarte__nom { font-weight: 600; font-size: 17px; line-height: 1.3; margin-top: 2px; }
.ats-mcarte__desc { color: var(--m-doux); font-size: 15px; line-height: 1.35; margin-top: 2px; }
.ats-mcarte__chev { width: 20px; height: 20px; margin-bottom: 18px; }

.ats-mega__note { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 12px 16px; background: var(--m-gris); border-radius: 6px; color: var(--m-texte); font-size: 16px; }
.ats-mega__note .ats-ico { width: 22px; height: 22px; }
.ats-mega__reassurance { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px -26px -22px; padding: 18px 26px; background: var(--m-gris); border-radius: 0 0 12px 12px; }
.ats-mega__reassurance p { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0 40px; border-left: 1px solid #D8E0E1; }
.ats-mega__reassurance p:first-child { border-left: 0; }
.ats-mega__reassurance .ats-ico { width: 34px; height: 34px; color: var(--m-encre); }
.ats-mega__reassurance .ats-ico--wa { color: var(--m-petrole); }
.ats-mega__reassurance b { display: block; font-size: 17px; font-weight: 600; color: var(--m-encre); }
.ats-mega__reassurance span span { color: var(--m-doux); font-size: 15.5px; }
.ats-mega__marques { display: flex; align-items: center; gap: 20px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--m-trait); }
.ats-mega__marques > p { margin: 0; font-size: 17px; font-weight: 500; color: var(--m-encre); flex: none; width: 250px; }
.ats-mega__marques .ats-marques-logos { flex: 1; }

.ats-voile { position: fixed; inset: 0; z-index: 50; background: rgba(40, 56, 67, .42); }

/* ---------------- logotypes des marques ---------------- */

.ats-marques-logos { display: flex; align-items: center; justify-content: space-around; }
.ats-marques-logos a { flex: 1; display: flex; justify-content: center; align-items: center; min-height: 52px; border-left: 1px solid #D8E0E1; color: #16191C !important; text-decoration: none !important; }
.ats-marques-logos a:first-child { border-left: 0; }
.ats-mq { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.ats-mq--blavec { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 32px; letter-spacing: .06em; font-stretch: 112%; }
.ats-mq--blavec svg { width: 34px; height: 34px; }
.ats-mq--baseus { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.ats-mq--done { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 36px; letter-spacing: -.03em; }
.ats-mq--toptel { font-family: 'Archivo', Arial, sans-serif; font-weight: 600; font-size: 30px; letter-spacing: .12em; }
.ats-mq--toptel sup { font-size: 12px; letter-spacing: 0; }
.ats-mega__marques .ats-mq--blavec { font-size: 30px; }

/* ---------------- tiroir mobile ---------------- */

.ats-tiroir { position: fixed; inset: 0; z-index: 200; background: rgba(40, 56, 67, .45); }
.ats-tiroir__panneau { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 420px); overflow-y: auto; background: #fff; padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 28px; box-sizing: border-box; }
.ats-tiroir__tete { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ats-tiroir__fermer { background: none !important; border: 0 !important; box-shadow: none !important; padding: 4px; color: var(--m-encre); cursor: pointer; }
.ats-tiroir__fermer:focus:not(:focus-visible) { outline: none; }
.ats-tiroir__fermer .ats-ico { width: 28px; height: 28px; }
.ats-tiroir__logo .ats-logo-img { width: 118px; }
.ats-tiroir__act { color: var(--m-encre); display: inline-flex; }
.ats-tiroir__cherche { margin-left: auto; }
.ats-tiroir__act .ats-ico { width: 26px; height: 26px; }
.ats-tiroir__act .ats-panier-ico .ats-ico { width: 28px; height: 28px; }
.ats-tiroir__infos { list-style: none; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--m-trait); }
.ats-tiroir__infos li, .ats-tiroir__infos a { display: flex; align-items: center; gap: 14px; margin: 8px 0; font-size: 16px; color: var(--m-encre); text-decoration: none; }
.ats-tiroir__pro { width: 100%; min-height: 58px; justify-content: space-between; font-size: 18px; margin-bottom: 14px; }
.ats-tiroir__pro .ats-ico { width: 26px; height: 26px; }
.ats-tiroir details { border-bottom: 1px solid var(--m-trait); }
.ats-tiroir summary { list-style: none; display: flex; align-items: center; gap: 16px; min-height: 58px; font-size: 19px; font-weight: 700; color: var(--m-encre); cursor: pointer; }
.ats-tiroir summary::-webkit-details-marker { display: none; }
.ats-tiroir summary .ats-ico { width: 26px; height: 26px; }
.ats-tiroir__chev { margin-left: auto; width: 22px !important; height: 22px !important; transition: transform .15s ease; }
.ats-tiroir details[open] > summary .ats-tiroir__chev { transform: rotate(180deg); }
.ats-tiroir details ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 8px; }
.ats-tiroir details li a { display: flex; align-items: center; gap: 14px; min-height: 46px; color: var(--m-encre); text-decoration: none; font-size: 16px; }
.ats-tiroir details li a .ats-petit { margin-left: auto; }
.ats-tiroir__cat { background: #F1F6F6; border-radius: 8px; border-bottom: 0 !important; padding: 0 12px; margin: 0 -12px 8px; }
.ats-tiroir__cat > summary { color: var(--m-petrole); }
.ats-tiroir__cat ul { background: #fff; border-radius: 6px; padding: 4px 12px !important; }
.ats-tiroir__aide { background: #F1F6F6; border-radius: 8px; border-bottom: 0 !important; padding: 0 12px; margin: 18px -4px 0; }
.ats-tiroir__aide summary { font-size: 17px; font-weight: 600; }
html.ats-tiroir-ouvert { overflow: hidden; }

/* ---------------- accueil ---------------- */

.ats-accueil-page .wp-block-post-content > * { margin-block: 0 !important; }
.ats-sec { padding: 26px 0; }
.ats-sec--serre { padding: 14px 0; }
.ats-sec--dernier { padding-bottom: 0; }
.ats-sec__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ats-sec__titre { margin: 0 !important; font-size: 31px !important; font-weight: 800 !important; color: var(--m-encre); letter-spacing: -.015em; }

.ats-hero2 { background: linear-gradient(100deg, #F6F8F8 0%, #FFFFFF 40%, #F2F5F6 100%); overflow: hidden; }
.ats-hero2__in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 535px; gap: 24px; }
.ats-hero2__texte h1 { margin: 0 0 16px; font-size: clamp(34px, 3.3vw, 47px); line-height: 1.12; font-weight: 800; color: var(--m-encre); letter-spacing: -.02em; max-width: 620px; }
.ats-hero2__texte > p { margin: 0 0 28px; font-size: 19px; line-height: 1.5; color: var(--m-texte); max-width: 600px; }
.ats-hero2__boutons { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.ats-hero2__preuves { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; flex-wrap: wrap; }
.ats-hero2__preuves li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.3; color: var(--m-encre); }
.ats-hero2__preuves .ats-ico { width: 34px; height: 34px; color: var(--m-petrole); }

.ats-hero2__scene { position: relative; height: 535px; margin-right: -28px; overflow: hidden; }
.ats-socle { position: absolute; background: linear-gradient(180deg, #FFFFFF 0%, #EEF1F2 100%); border-radius: 6px; box-shadow: 0 18px 30px rgba(27, 42, 51, .08); }
.ats-socle--1 { left: 4%; bottom: 12%; width: 44%; height: 22%; }
.ats-socle--2 { left: 52%; bottom: 36%; width: 44%; height: 16%; }
.ats-socle--3 { left: 30%; bottom: 0; width: 36%; height: 15%; }
.ats-socle--4 { left: 64%; bottom: 4%; width: 34%; height: 13%; }
.ats-scene { position: absolute; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.ats-scene--casque { left: 5%; bottom: 30%; width: 43%; }
.ats-scene--baseus { left: 53%; bottom: 50%; width: 21%; }
.ats-scene--chargeur { left: 72%; bottom: 49%; width: 23%; }
.ats-scene--ecouteurs { left: 31%; bottom: 11%; width: 31%; }
.ats-scene--adaptateur { left: 65%; bottom: 13%; width: 30%; }

.ats-familles2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ats-famille2 { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--m-trait); border-radius: 6px; background: #fff; text-decoration: none !important; color: var(--m-encre) !important; transition: border-color .15s ease, box-shadow .15s ease; }
.ats-famille2:hover { border-color: #C9D6D6; box-shadow: 0 8px 22px rgba(27, 42, 51, .07); }
.ats-famille2__img { flex: none; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; }
.ats-famille2__img img { max-width: 160px; max-height: 160px; object-fit: contain; mix-blend-mode: multiply; }
.ats-famille2__txt { display: flex; flex-direction: column; gap: 6px; }
.ats-famille2__titre { font-size: 22px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ats-famille2__desc { color: var(--m-doux); font-size: 16px; line-height: 1.45; }
.ats-famille2 .ats-lien-fleche { margin-top: 8px; }

.ats-selection { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ats-carte2 { display: flex; flex-direction: column; border: 1px solid var(--m-trait); border-radius: 6px; background: #fff; padding: 12px 16px 16px; }
.ats-carte2__img { height: 200px; display: flex; align-items: center; justify-content: center; }
.ats-carte2__img img { max-height: 200px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ats-carte2__nom { margin-top: 10px; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--m-encre) !important; text-decoration: none !important; }
.ats-carte2__pied { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.ats-carte2__prix { font-size: 23px; font-weight: 800; color: #0A3E47; font-variant-numeric: tabular-nums; }
.ats-carte2__panier { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 5px; background: var(--m-petrole); color: #fff !important; }
.ats-carte2__panier:hover { background: var(--m-petrole-f); }
.ats-carte2__panier .ats-ico { width: 24px; height: 24px; }
.ats-carte2__panier.added { background: #1F9A62; }
.ats-carte2 .added_to_cart { display: none; }

.ats-boite { border-radius: 6px; padding: 24px 30px; background: var(--m-gris); }
.ats-boite--teinte { background: #EDF3F4; }
.ats-boite__titre { margin: 0 0 18px !important; font-size: 26px !important; font-weight: 800 !important; color: var(--m-encre); letter-spacing: -.01em; }
.ats-avant__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ats-avant__liste li { display: flex; gap: 16px; padding: 0 24px; border-left: 1px solid #D8E0E1; }
.ats-avant__liste li:first-child { padding-left: 0; border-left: 0; }
.ats-avant__liste .ats-ico { width: 40px; height: 40px; color: var(--m-petrole); }
.ats-avant__liste b { display: block; font-size: 17px; font-weight: 600; color: var(--m-encre); margin-bottom: 4px; line-height: 1.3; }
.ats-avant__liste span span { color: var(--m-doux); font-size: 14.5px; line-height: 1.45; display: block; }

.ats-revendeur__corps { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.ats-etapes-h { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 18px; flex: 1; }
.ats-etapes-h > li { display: flex; gap: 14px; flex: 1; }
.ats-etapes-h b { display: block; font-size: 18px; color: var(--m-encre); margin-bottom: 4px; }
.ats-etapes-h li > span:last-child > span { color: var(--m-doux); font-size: 15px; line-height: 1.45; display: block; }
.ats-etapes-h .ats-num { width: 52px; height: 52px; font-size: 20px; }
.ats-etapes-h__fleche { flex: none !important; padding-top: 14px; color: var(--m-encre); }
.ats-etapes-h__fleche .ats-ico { width: 24px; height: 24px; }
.ats-revendeur__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ats-revendeur__plus { color: var(--m-petrole) !important; font-weight: 600; font-size: 16px; text-decoration: none !important; }

.ats-sec--marques { padding: 26px 0; }
.ats-marques-logos--accueil a { min-height: 64px; }

.ats-demat { display: flex; align-items: center; gap: 28px; background: #02606F; color: #fff; border-radius: 4px; padding: 26px 50px; }
.ats-demat__ico { display: inline-flex; color: #fff; }
.ats-demat__ico .ats-ico { width: 52px; height: 52px; }
.ats-demat__ico .ats-ico + .ats-ico { margin-left: -20px; margin-top: 12px; }
.ats-demat__txt { flex: 1; }
.ats-demat__txt p { margin: 0; color: #fff; font-size: 19px; }
.ats-demat__titre { font-size: 32px !important; font-weight: 800; margin-bottom: 4px !important; }
.ats-demat .ats-bouton { min-height: 56px; font-size: 17px; padding: 0 30px; }

/* ---------------- pied de page ---------------- */

.ats-pied2 { background: var(--m-gris); margin-top: 0; }
.ats-pied2__haut { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.05fr; gap: 0; padding-top: 36px; padding-bottom: 30px; }
.ats-pied2__haut > div { padding: 0 36px; border-left: 1px solid #DCE3E4; }
.ats-pied2__haut > div:first-child { padding-left: 0; border-left: 0; }
.ats-pied2__marque .ats-logo-img { width: 172px; margin-bottom: 18px; }
.ats-pied2__marque p { margin: 0; color: var(--m-texte); font-size: 15.5px; line-height: 1.6; max-width: 400px; }
.ats-pied2__titre { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--m-encre); }
.ats-pied2 ul { list-style: none; margin: 0; padding: 0; }
.ats-pied2 li { margin: 7px 0; font-size: 15.5px; color: var(--m-texte); }
.ats-pied2 a { color: var(--m-texte) !important; text-decoration: none !important; }
.ats-pied2 a:hover { color: var(--m-petrole) !important; }
.ats-pied2__contact li { display: flex; align-items: center; gap: 12px; }
.ats-pied2__contact .ats-ico { width: 20px; height: 20px; color: var(--m-encre); }
.ats-pied2__bas { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #DCE3E4; font-size: 14px; color: var(--m-doux); }
.ats-pied2__bas p { margin: 0; display: flex; gap: 14px; }
.ats-pied2__bas a { color: var(--m-doux) !important; }

/* ---------------- adaptations ---------------- */

@media (max-width: 1280px) {
  .ats-nav__liste { gap: 4px; }
  .ats-nav__lien { font-size: 15.5px; padding: 0 10px; }
  .ats-tete__actions { gap: 16px; }
  .ats-tete__rapide span, .ats-tete__compte span { font-size: 15px; }
  .ats-mega__corps { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
  .ats-mega__col { padding: 0 18px; }
}
@media (max-width: 1100px) {
  .ats-tete__pro { display: none; }
  .ats-hero2__in { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .ats-hero2__scene { height: 400px; margin-right: 0; }
  .ats-selection { grid-template-columns: repeat(3, 1fr); }
  .ats-familles2 { grid-template-columns: 1fr; }
  .ats-avant__liste { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .ats-avant__liste li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ats-pied2__haut { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .ats-pied2__haut > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  .ats-top { display: none; }
  .ats-nav { display: none; }
  .ats-burger { display: inline-flex; }
  .ats-tete__in { min-height: 0; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 10px 14px; }
  .ats-logo-img { width: 118px; }
  .ats-cherche { order: 5; flex: 1 1 100%; margin: 0; }
  .ats-cherche input[type="search"] { height: 50px; font-size: 16px; }
  .ats-tete__compte, .ats-tete__rapide, .ats-tete__sep, .ats-tete__panier-txt { display: none !important; }
  .ats-tete__wa { display: inline-flex !important; }
  .ats-tete__actions { gap: 18px; }
  .ats-mega { display: none !important; }
  .ats-voile { display: none; }
}
@media (max-width: 700px) {
  .ats-conteneur { padding-inline: 16px; }
  .ats-famille2__titre { white-space: normal; }
  .ats-hero2__texte h1 { font-size: 32px; }
  .ats-hero2__texte > p { font-size: 17px; }
  .ats-hero2__scene { height: 300px; }
  .ats-hero2__preuves { gap: 16px 22px; }
  .ats-sec__titre { font-size: 25px !important; }
  .ats-selection { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ats-carte2 { padding: 10px; }
  .ats-carte2__img { height: 140px; }
  .ats-carte2__img img { max-height: 140px; }
  .ats-carte2__nom { font-size: 15px; }
  .ats-carte2__prix { font-size: 18px; }
  .ats-carte2__panier { width: 40px; height: 40px; }
  .ats-famille2__img { width: 100px; height: 100px; }
  .ats-famille2__img img { max-width: 100px; max-height: 100px; }
  .ats-avant__liste { grid-template-columns: 1fr; }
  .ats-avant__liste li { padding-left: 0 !important; border-left: 0 !important; }
  .ats-boite { padding: 20px; }
  .ats-boite__titre { font-size: 22px !important; }
  .ats-etapes-h { flex-direction: column; }
  .ats-etapes-h__fleche { display: none !important; }
  .ats-revendeur__cta { width: 100%; }
  .ats-revendeur__cta .ats-bouton { width: 100%; }
  .ats-marques-logos { flex-wrap: wrap; row-gap: 10px; }
  .ats-marques-logos a { flex: 1 1 45%; border-left: 0; }
  .ats-mq--blavec, .ats-mq--baseus, .ats-mq--done, .ats-mq--toptel { font-size: 24px; }
  .ats-demat { flex-direction: column; align-items: flex-start; padding: 24px; gap: 16px; }
  .ats-demat__titre { font-size: 26px !important; }
  .ats-pied2__haut { grid-template-columns: 1fr; }
  .ats-pied2__haut > div { padding: 0 !important; border-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ats-lien-fleche .ats-ico, .ats-nav__lien .ats-petit, .ats-tiroir__chev { transition: none; }
}

/* L'accueil occupe toute la largeur : les sections gèrent leur conteneur. */
.ats-accueil-page main, .ats-accueil-page .wp-block-post-content { padding: 0 !important; margin: 0 !important; max-width: none !important; }
.ats-accueil-page .wp-block-post-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.ats-accueil-page main > .wp-block-group { padding: 0 !important; }

/* 961-1100 px : le menu complet tient sur une ligne */
@media (min-width: 961px) and (max-width: 1100px) {
  .ats-nav__liste { gap: 0; justify-content: space-between; }
  .ats-nav__lien { font-size: 14.5px; padding: 0 7px; gap: 6px; }
  .ats-nav__lien .ats-petit { width: 15px; height: 15px; }
  .ats-nav__item--catalogue .ats-nav__lien > .ats-ico:first-child { width: 20px; height: 20px; }
}
