/* ==========================================================================
   ATEP Élastomer : surcharge du template Mivon (version claire)
   Chargé après style.css. Couleurs prélevées dans le logo ATEP :
   gris #808080 (logo) + orange #E39B00 (bandeau de l'ancien site).
   ========================================================================== */

/* ---------- Polices hébergées en local (Poppins et Inter, licence SIL OFL) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/inter-latin-variable.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --atep-orange: #E39B00;
  --atep-orange-dark: #B37700;   /* orange lisible en texte sur fond clair */
  --atep-orange-soft: #FFF4DC;
  --atep-gray: #808080;          /* gris du logo */
  --atep-ink: #2b2b2b;           /* texte gris foncé */
  --atep-text: #4a4a4a;
  --atep-bg: #ffffff;
  --atep-bg-soft: #F5F4F1;
  --atep-line: #E4E2DC;
  --atep-radius: 16px;
  --font-title: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
body, body.home-main, body.light {
  font-family: var(--font-body);
  background: var(--atep-bg);
  color: var(--atep-text);
  line-height: 1.5;
}
body.light p { color: var(--atep-text); }
h1, h2, h3, h4, h5, h6, .fs-80 { font-family: var(--font-title); color: var(--atep-ink); }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--atep-ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
.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; }
:focus-visible { outline: 3px solid var(--atep-orange); outline-offset: 2px; }
.underline { text-decoration: underline; text-decoration-color: var(--atep-orange); text-underline-offset: 3px; }

/* Accent orange (remplace le vert/violet du template) */
.main-color, body.light .main-color { color: var(--atep-orange-dark) !important; }
.main-colorbg, body.light .main-colorbg,
body.light .bg-light.main-colorbg,
body.light .butn-arrow.main-colorbg { background: var(--atep-orange) !important; color: var(--atep-ink) !important; }
.main-color2 { color: var(--atep-gray) !important; }
.main-colorbg2, body.light .bg-light.main-colorbg2 { background-color: var(--atep-gray) !important; }
body.light .bg-light.main-colorbg p, .main-colorbg p { color: var(--atep-ink); }
.bg-light { background: #fff !important; }
body .sub-bg, body.light .sub-bg { background: var(--atep-bg-soft); }

/* ---------- Boutons ---------- */
.butn-arrow.main-colorbg, .butn-arrow.butn-rounded.main-colorbg {
  border: 0; color: var(--atep-ink); font-family: var(--font-title);
  transition: background .25s, transform .25s;
}
.butn-arrow.main-colorbg:hover, body.light .butn-arrow.main-colorbg:hover {
  background: var(--atep-ink) !important; color: #fff !important;
}
.butn-arrow.main-colorbg:hover .arrow-icon svg path { stroke: #fff; }
.butn-more, body.light .butn-more { color: var(--atep-ink); }
.serv-style4 .item:hover, .contact button:hover { background: var(--atep-orange) !important; }

/* ---------- Conteneur ---------- */
.container { max-width: 1240px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 575px) { .container { padding-left: 20px; padding-right: 20px; } }

/* ---------- Barre de navigation ---------- */
.navbar, body.light .navbar {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--atep-line);
  padding: 6px 0;
}
.navbar.nav-scroll, body.light .navbar.nav-scroll {
  background: rgba(255,255,255,.98);
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  padding: 4px 0;
}
.navbar .logo { width: 62px; flex: 0 0 auto; display: block; }
.navbar .logo img { width: 62px; height: auto; display: block; }
.navbar .icon-bar, body.light .navbar .icon-bar { color: var(--atep-ink); font-size: 22px; }
.navbar .navbar-nav, body.light .navbar .navbar-nav {
  background: transparent; backdrop-filter: none; border: 0; margin-top: 0; padding: 0;
}
.navbar .navbar-nav .nav-link, body.light .navbar .navbar-nav .nav-link {
  color: var(--atep-ink); font-family: var(--font-title); font-size: 14px; font-weight: 500;
  text-transform: none; letter-spacing: 0; white-space: nowrap; margin: 0 2px; padding: 26px 12px;
}
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active,
body.light .navbar .navbar-nav .nav-link.active { color: var(--atep-orange-dark); }
.navbar .navbar-nav .nav-link.active { box-shadow: inset 0 -3px 0 var(--atep-orange); }
.nav-contact { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.nav-phone, .nav-mail {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title);
  font-size: 14px; font-weight: 500; color: var(--atep-ink); text-decoration: none; white-space: nowrap;
}
.nav-phone { background: var(--atep-orange); border-radius: 999px; padding: 10px 16px; }
.nav-phone:hover { background: var(--atep-ink); color: #fff; }
.nav-mail { display: none; }
.nav-mail i { color: var(--atep-orange-dark); }
.nav-mail:hover { color: var(--atep-orange-dark); }
@media (min-width: 1400px) { .nav-mail { display: inline-flex; } }
@media (max-width: 991px) {
  .navbar .navbar-toggler { order: 3; margin-left: 12px; border: 0; }
  .nav-contact { order: 2; }
  .navbar .navbar-collapse { order: 4; width: 100%; background: #fff; border-top: 1px solid var(--atep-line); }
  .navbar .navbar-nav .nav-link, body.light .navbar .navbar-nav .nav-link { padding: 14px 4px; font-size: 16px; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 11px 13px; }
}

/* ---------- Hero ---------- */
.hero-style1 { background: linear-gradient(135deg, #fff 0%, var(--atep-bg-soft) 60%, var(--atep-orange-soft) 100%); padding: 150px 0 60px; }
.hero-style1 h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.12; font-weight: 600; color: var(--atep-ink); }
.hero-style1 .hero-sub { font-family: var(--font-title); font-size: clamp(18px, 2vw, 26px); color: var(--atep-orange-dark); margin-top: 24px; font-weight: 500; }
.hero-style1 .hero-photo { background: #fff; border-radius: var(--atep-radius); border: 1px solid var(--atep-line); padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.hero-style1 .hero-photo img { width: 100%; height: auto; border-radius: 10px; display: block; }
.hero-style1 .hero-bottom { margin-top: 60px; }
.tags a {
  display: inline-block; border: 1px solid var(--atep-line); background: #fff; color: var(--atep-ink);
  border-radius: 999px; padding: 9px 18px; margin: 0 8px 8px 0; font-size: 14px; font-weight: 500; text-decoration: none;
}
.tags a:hover { background: var(--atep-orange); border-color: var(--atep-orange); }
.circle-button .rotate-circle svg text { fill: var(--atep-gray); }
.circle-button .icon { display: flex; align-items: center; justify-content: center; }
.circle-button .icon span { display: block; width: 64px; }
.circle-button .icon img { width: 100%; height: auto; }
@media (max-width: 991px) {
  .hero-style1 { padding: 110px 0 40px; }
  .hero-style1 .hero-photo { margin-top: 30px; }
  .hero-style1 .hero-bottom { margin-top: 30px; }
  .circle-button { display: none; }
}

/* ---------- Défilement horizontal des photos ---------- */
.hr-sec { background: var(--atep-bg); padding: 40px 0; }
.hr-sec .fit-img { background: var(--atep-bg-soft); border: 1px solid var(--atep-line); display: flex; align-items: center; justify-content: center; }
.hr-sec .fit-img > img { width: auto; max-width: 100%; height: auto; max-height: 80%; object-fit: contain; }
.hr-sec .fit-img .cont { z-index: 2; }
.hr-sec .fit-img .cont .tags span { background: var(--atep-ink); color: #fff; }
.hr-sec .item-panel .butn-arrow, body.light .hr-sec .item-panel .butn-arrow { background: #fff; color: var(--atep-ink); border: 1px solid var(--atep-line); }
.hr-sec .see-more h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; padding: 0 30px; }
.hr-sec .see-more h2 a { color: var(--atep-ink); }
@media (max-width: 991px) {
  .hr-sec .hr-container { width: 100%; flex-wrap: wrap; }
  .hr-sec .item-panel { width: 100%; margin-bottom: 20px; }
  .hr-sec .fit-img { height: 320px; min-height: 0; }
}

/* ---------- Titres de section ---------- */
.sec-head h2 { font-size: clamp(28px, 3.4vw, 46px); color: var(--atep-ink); font-weight: 600; }
.sec-head h6 { color: var(--atep-orange-dark); letter-spacing: .08em; font-family: var(--font-title); font-weight: 600; }
.sec-head.bord { border-bottom: 1px solid var(--atep-line); padding-bottom: 20px; }
section { padding-top: 100px; padding-bottom: 100px; }
@media (max-width: 767px) { section { padding-top: 64px; padding-bottom: 64px; } }

/* ---------- Prestations ---------- */
.features .item {
  background: #fff !important; border: 1px solid var(--atep-line); border-radius: var(--atep-radius);
  padding: 34px 30px; height: calc(100% - 30px); box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.features .item.main-colorbg { border-color: var(--atep-orange); }
.features .item h6 { font-size: 22px; font-weight: 600; font-family: var(--font-title); }
.presta-num { display: block; font-family: var(--font-title); font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--atep-orange-dark); margin-bottom: 40px; }
.features .item.main-colorbg .presta-num { color: var(--atep-ink); }

/* ---------- Présentation / Assurance qualité ---------- */
.info-card { background: var(--atep-bg-soft); border-radius: var(--atep-radius); padding: 40px; height: 100%; border-left: 5px solid var(--atep-orange); }
.info-card .lead-p { font-size: 19px; color: var(--atep-ink); margin-bottom: 20px; font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 12px 0 12px 30px; border-top: 1px solid var(--atep-line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--atep-orange); }
@media (max-width: 767px) { .info-card { padding: 28px 22px; } }

/* ---------- Nos savoir-faire (liste interactive) ---------- */
.serv-style5 .content .cluom h3 { font-size: clamp(34px, 5.4vw, 80px); font-weight: 600; }
.serv-style5 .content .cluom h3 a { color: inherit; text-decoration: none; }
.serv-style5 .content .cluom { opacity: .35; transition: opacity .3s, color .3s; }
.serv-style5 .content .cluom.current, .serv-style5 .content .cluom:hover { opacity: 1; }
.serv-style5 .content .cluom.current h3 a { color: var(--atep-ink); }
.serv-style5 .glry-img .tab-img { background: #fff; border: 1px solid var(--atep-line); }
.serv-style5 .glry-img .tab-img .img { background: var(--atep-bg-soft); }
.serv-style5 .glry-img .tab-img .img img { object-fit: contain; }
.serv-style5 .butn-arrow, body.light .serv-style5 .butn-arrow { background: var(--atep-orange); color: var(--atep-ink); }
@media (max-width: 991px) { .serv-style5 .glry-img { display: none; } .serv-style5 .content { margin-left: 0; } }

/* ---------- Chiffres ---------- */
.numbers .item { border: 1px solid var(--atep-line); border-radius: var(--atep-radius); padding: 30px; background: #fff; }
.numbers .item h2 { font-size: clamp(30px, 3.4vw, 46px); color: var(--atep-orange-dark); font-weight: 600; }
.numbers .item span { color: var(--atep-text); }

/* ---------- Exemples (rangée de 5 vignettes) ---------- */
.round-gallery { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; }
.round-gallery li { width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--atep-orange); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.round-gallery img { width: 134px; height: 134px; display: block; }
@media (max-width: 575px) { .round-gallery { gap: 16px; } .round-gallery li { width: 110px; height: 110px; } .round-gallery img { width: 100px; height: 100px; } }

/* ---------- Bandeau défilant ---------- */
.main-marq.marq-band { background: var(--atep-ink); padding: 26px 0; }
.main-marq.xlrg.marq-band .item h4, .main-marq.marq-band h4 { font-size: clamp(18px, 2vw, 26px) !important; line-height: 1.3; color: #fff !important; font-weight: 500; white-space: nowrap; font-family: var(--font-title); }
.main-marq.marq-band .item { padding: 0 22px; }
.marq-dot { display: block; width: 14px; height: 14px; background: var(--atep-orange); border-radius: 50%; }
.main-marq.with-shad::before, .main-marq.with-shad::after { display: none; }

/* ---------- Travaillons ensemble + formulaires ---------- */
.contact-home h2, .contact-home p { color: var(--atep-ink); }
.contact-home h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; }
.contact-line { color: var(--atep-ink); font-weight: 500; text-decoration: none; }
.contact-line i { color: var(--atep-orange-dark); width: 22px; }
.contact-line:hover { color: var(--atep-orange-dark); }
.form2 input, .form2 textarea, .form2 select {
  width: 100%; background: #fff; color: var(--atep-ink); border: 1px solid var(--atep-line);
  border-radius: 10px; padding: 16px 18px; font-family: var(--font-body); font-size: 16px;
}
.form2 input::placeholder, .form2 textarea::placeholder { color: #7a7a7a; }
.form2 input:focus, .form2 textarea:focus { border-color: var(--atep-orange); outline: 0; box-shadow: 0 0 0 3px rgba(227,155,0,.25); }
.form-note, .form-note a { color: var(--atep-text); }
.form2 .butn-arrow { border: 0; cursor: pointer; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--atep-bg-soft); border-top: 4px solid var(--atep-orange); padding: 70px 0 30px; color: var(--atep-text); }
.site-footer h5 { font-family: var(--font-title); font-size: 17px; font-weight: 600; color: var(--atep-ink); margin-bottom: 20px; }
.site-footer address, .site-footer address p { font-style: normal; margin-bottom: 8px; color: var(--atep-text); }
.site-footer a { color: var(--atep-text); text-decoration: none; }
.site-footer a:hover { color: var(--atep-orange-dark); text-decoration: underline; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 10px; padding-left: 16px; position: relative; }
.foot-links li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--atep-orange); }
.foot-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 280px; }
.foot-thumbs a { display: block; background: #fff; border: 1px solid var(--atep-line); border-radius: 8px; overflow: hidden; }
.foot-thumbs img { width: 100%; height: auto; display: block; aspect-ratio: 3/2; object-fit: cover; }
.foot-bottom { border-top: 1px solid var(--atep-line); margin-top: 20px; padding-top: 24px; font-size: 14px; }
.foot-bottom p { margin: 0; }

/* ---------- Bouton haut de page ---------- */
.progress-wrap { mix-blend-mode: normal; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.progress-wrap::after { color: var(--atep-ink); }
.progress-wrap svg.progress-circle path { stroke: var(--atep-orange); }

/* ---------- Pages intérieures : en-tête ---------- */
.page-hero { background: linear-gradient(135deg, #fff 0%, var(--atep-bg-soft) 55%, var(--atep-orange-soft) 100%); padding: 150px 0 70px; border-bottom: 1px solid var(--atep-line); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.1; font-weight: 600; color: var(--atep-ink); }
.page-hero .hero-sub { font-family: var(--font-title); font-size: clamp(17px, 1.8vw, 24px); color: var(--atep-orange-dark); margin-top: 20px; font-weight: 500; }
.page-hero .hero-photo { background: #fff; border-radius: var(--atep-radius); border: 1px solid var(--atep-line); padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.08); max-width: 520px; margin-left: auto; }
.page-hero .hero-photo img { width: 100%; height: auto; border-radius: 10px; display: block; }
.page-eyebrow, .sec-eyebrow { color: var(--atep-orange-dark); letter-spacing: .08em; font-family: var(--font-title); font-weight: 600; }
@media (max-width: 991px) { .page-hero { padding: 110px 0 50px; } .page-hero .hero-photo { margin: 30px 0 0; } }

/* ---------- Sections de contenu ---------- */
.spec-section h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; }
.spec-section .info-card { background: #fff; border: 1px solid var(--atep-line); border-left: 5px solid var(--atep-orange); }
.spec-section.sub-bg .info-card { background: #fff; }
.mt-40px { margin-top: 40px; }
.mt-60px { margin-top: 60px; }
.figure-card { background: #fff; border: 1px solid var(--atep-line); border-radius: var(--atep-radius); padding: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.figure-card a { display: inline-block; max-width: 100%; }
.figure-card img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 0 auto; }
.fig-cap { margin: 12px 0 0; font-size: 14px; color: var(--atep-text); }
.fig-cap i { color: var(--atep-orange-dark); margin-right: 6px; }
.mfp-bg { background: #1c1c1c; }
.mfp-img { background: #fff; padding: 12px; box-sizing: border-box; }

/* ---------- Extrusion : cartes, en-tête rond, tableaux ---------- */
.hero-round { width: 200px; height: 200px; margin: 0 auto; border-radius: 50%; border: 6px solid var(--atep-orange); background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.hero-round img { width: 134px; height: 134px; display: block; }
@media (max-width: 991px) { .hero-round { margin: 30px 0 0; } }
.anchor-block { scroll-margin-top: 110px; }
.ext-card { background: #fff; border: 1px solid var(--atep-line); border-radius: var(--atep-radius); padding: 34px 30px; height: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.04); }
.ext-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.ext-card p { margin: 0; }
.ext-card .check-list li { padding-top: 10px; padding-bottom: 10px; }
.ext-wide { margin-top: 10px; border-color: var(--atep-orange); }
.ext-wide h3, .ext-wide .presta-num, .ext-wide li, .ext-wide strong { color: var(--atep-ink); }
.ext-wide .check-list li { border-top-color: rgba(0,0,0,.18); }
.ext-wide .check-list li::before { background: var(--atep-ink); }
.tol-block { margin-bottom: 60px; }
.tol-title { font-size: clamp(18px, 2vw, 24px); font-weight: 600; margin-bottom: 4px; }
.tol-unit { color: var(--atep-text); margin-bottom: 16px; font-size: 15px; }
.tol-table { background: #fff; margin: 0; color: var(--atep-ink); border-collapse: separate; border-spacing: 0; min-width: 560px; }
.table-responsive { border: 1px solid var(--atep-line); border-radius: 12px; }
.tol-table th, .tol-table td { padding: 12px 16px; text-align: center; border: 0; border-bottom: 1px solid var(--atep-line); color: var(--atep-ink); background: transparent; font-variant-numeric: tabular-nums; }
.tol-table thead th { background: var(--atep-ink); color: #fff; font-family: var(--font-title); font-weight: 500; font-size: 14px; border-bottom: 0; }
.tol-table thead th.rec { background: var(--atep-orange); color: var(--atep-ink); font-weight: 600; }
.tol-table tbody th { font-weight: 500; }
.tol-table tbody tr:nth-child(even) td, .tol-table tbody tr:nth-child(even) th { background: var(--atep-bg-soft); }
.tol-table td.rec { background: var(--atep-orange-soft) !important; font-weight: 600; border-left: 2px solid var(--atep-orange); border-right: 2px solid var(--atep-orange); }
.tol-table tbody tr:last-child td, .tol-table tbody tr:last-child th { border-bottom: 0; }
.tol-note { margin-top: 14px; font-size: 15px; }
.tol-table th, .tol-table td { white-space: nowrap; }
.tol-table { min-width: 620px; }
@media (max-width: 575px) { .tol-table th, .tol-table td { padding: 10px 12px; } }

/* ---------- Joints gonflables : réalisations, profils, vidéo ---------- */
.real-card { display: block; background: #fff; border: 1px solid var(--atep-line); border-radius: var(--atep-radius); padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.05); transition: transform .25s, border-color .25s; }
.real-card:hover { transform: translateY(-4px); border-color: var(--atep-orange); }
.real-img { display: flex; align-items: center; justify-content: center; height: 190px; background: var(--atep-bg-soft); border-radius: 10px; overflow: hidden; }
.real-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-width: 60%; object-fit: contain; }
.prof-grid { max-width: 940px; margin: 0 auto; }
.prof-card { display: flex; align-items: center; justify-content: center; height: 170px; background: #fff; border: 1px solid var(--atep-line); border-radius: var(--atep-radius); transition: border-color .25s, box-shadow .25s; }
.prof-card:hover { border-color: var(--atep-orange); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.prof-card img { width: auto; height: auto; max-width: 70%; max-height: 70%; display: block; }
.video-wrap { max-width: 640px; margin: 0 auto; border-radius: var(--atep-radius); overflow: hidden; border: 1px solid var(--atep-line); background: #000; }
.video-wrap video { display: block; width: 100%; height: auto; }

/* ---------- Élastomères : barre d'ancres et blocs matériaux ---------- */
.mat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px; margin: 0 auto 40px; background: rgba(255,255,255,.95); border: 1px solid var(--atep-line); border-radius: 999px; backdrop-filter: blur(6px); max-width: 720px; }
.mat-nav a { font-family: var(--font-title); font-weight: 500; font-size: 14px; color: var(--atep-ink); padding: 7px 16px; border-radius: 999px; text-decoration: none; background: var(--atep-bg-soft); transition: background .2s; }
.mat-nav a:hover, .mat-nav a:focus-visible { background: var(--atep-orange); }
.mat { scroll-margin-top: 150px; background: #fff; border: 1px solid var(--atep-line); border-radius: var(--atep-radius); overflow: hidden; margin-bottom: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.04); }
.mat-head { height: 100%; background: var(--atep-ink); padding: 32px 28px; }
.mat-head, .mat-head h3, .mat-head p { color: #fff !important; }
.mat-head h3 { font-size: 21px; font-weight: 600; line-height: 1.25; margin: 12px 0 10px; }
.mat-head p { font-size: 15px; margin: 0 0 12px; opacity: .9; }
.mat-head .mat-range { color: var(--atep-orange) !important; font-weight: 600; opacity: 1; }
.mat-tag { display: inline-block; background: var(--atep-orange); color: var(--atep-ink); font-family: var(--font-title); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.mat-col { padding: 28px 26px; height: 100%; border-left: 1px solid var(--atep-line); }
.mat-col h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--atep-orange-dark); }
.mat-col ul { list-style: none; padding: 0; margin: 0; }
.mat-col li { position: relative; padding: 0 0 10px 18px; font-size: 15px; line-height: 1.45; }
.mat-col li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--atep-orange); }
@media (max-width: 991px) {
  .mat-nav { border-radius: 16px; }
  .mat-col { border-left: 0; border-top: 1px solid var(--atep-line); }
}

/* ---------- Infos pratiques : normes ---------- */
.page-hero.has-photo { background-size: cover; background-position: center; padding: 170px 0 90px; border-bottom: 0; position: relative; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,30,30,.82) 0%, rgba(30,30,30,.55) 60%, rgba(179,119,0,.35) 100%); }
.page-hero.has-photo h1, .page-hero.has-photo .hero-sub, .page-hero.has-photo .page-eyebrow { color: #fff; }
.page-hero.has-photo .page-eyebrow { color: var(--atep-orange); }
.page-hero.has-photo .hero-sub { opacity: .92; }
.norms-wrap { max-width: 800px; margin: 0 auto; }
.norm { margin-bottom: 44px; padding-bottom: 8px; }
.norm h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; margin-bottom: 24px; }
.norm h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 600; margin-bottom: 12px; }
.norm p { margin-bottom: 14px; font-size: 17px; line-height: 1.65; }
.norm a { color: var(--atep-orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.norm-refs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.norm-badge { display: inline-block; background: var(--atep-orange-soft); color: var(--atep-ink); border: 1px solid var(--atep-orange); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 600; font-family: var(--font-title); }
.norm + .norm { border-top: 1px solid var(--atep-line); padding-top: 32px; }
.norm-intro { border-top: 0 !important; padding-top: 0 !important; }

/* ---------- Contact ---------- */
.form2 label.rgpd { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; color: var(--atep-ink); font-size: 15px; line-height: 1.5; }
.form2 label.rgpd input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; padding: 0; accent-color: var(--atep-orange); }
.contact-card address { font-style: normal; margin: 0; }
.contact-card .ca-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--atep-orange-dark); font-weight: 600; margin: 18px 0 4px; }
.contact-card .ca-val { font-size: 18px; font-weight: 500; color: var(--atep-ink); margin: 0; word-break: break-word; }
.contact-card .ca-val a { text-decoration: none; }
.contact-card .ca-val a:hover { color: var(--atep-orange-dark); text-decoration: underline; }
.map-wrap { position: relative; width: 100%; aspect-ratio: 16 / 7; min-height: 320px; border-radius: var(--atep-radius); overflow: hidden; border: 1px solid var(--atep-line); background: var(--atep-bg-soft); box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ---------- Pages légales ---------- */
.legal .norm h2 { font-size: clamp(21px, 2.2vw, 28px); margin-bottom: 14px; }
.legal .norm { margin-bottom: 36px; }
.legal a { word-break: break-word; }
.plain-list { list-style: none; padding: 0; margin: 0 0 16px; }
.plain-list li { position: relative; padding: 4px 0 4px 20px; font-size: 17px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--atep-orange); }
.todo { background: var(--atep-orange-soft); border: 1px dashed var(--atep-orange); border-radius: 6px; padding: 1px 8px; font-weight: 600; color: var(--atep-ink); }
.thanks { font-size: clamp(20px, 2.4vw, 26px); color: var(--atep-ink); font-weight: 500; margin-bottom: 20px; }
