/* Sin Pro Tech — maquette v2. Thème sur les tokens scrollcraft + classes propres au site. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/inter-latin-400-normal.woff2?v=da03732a") format("woff2")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/inter-latin-500-normal.woff2?v=51205681") format("woff2")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/inter-latin-600-normal.woff2?v=2ede57db") format("woff2")}@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/poppins-latin-600-normal.woff2?v=72993ddd") format("woff2")}@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/poppins-latin-700-normal.woff2?v=25b0e113") format("woff2")}

:root {
  /* design system Sin Pro Tech */
  --marine: #17305C; --bleu-pro: #2E5C9A; --cyan-eau: #2E5C9A; --vert-frais: #2E5C9A; --orange-clair: #FDE6CC; --anthracite: #2B2F36;
  --orange: #F78F1D; --ciel: #EEF1F5; --surface: #FFFFFF; --surface-alt: #EEF1F5;
  --encre: #17305C; --encre-douce: #59606B; --ligne: #DCE2EA; --sur-couleur: #FFFFFF;
  --hexa: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);

  /* scrollcraft tokens */
  --sc-canvas: #FFFFFF; --sc-surface: #EEF1F5; --sc-ink: #17305C; --sc-ink-soft: #59606B;
  --sc-accent: #2E5C9A; --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Poppins", "Arial", system-ui, sans-serif;
  --sc-font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono: "Inter", system-ui, sans-serif;
  --sc-shadow-color: 210 55% 12%;
  --sc-maxw: 80rem;
  --sc-r-sm: 6px; --sc-r-md: 12px; --sc-r-lg: 24px; --sc-r-pill: 999px;
  --sc-section: clamp(3.5rem, 7vw, 7.5rem);
  --sc-t-4xl: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem);
  --sc-t-3xl: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --sc-t-2xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --bar-h: 72px;
  --engagements-h: 40px;
  scroll-padding-top: calc(var(--bar-h) + 12px);
  caret-color: var(--bleu-pro); accent-color: var(--bleu-pro);
}
::selection { background: var(--orange-clair); color: var(--marine); }
:focus-visible { outline: 3px solid var(--cyan-eau); outline-offset: 2px; border-radius: var(--sc-r-sm); }
body { color: var(--anthracite); background: var(--surface); padding-top: var(--bar-h); }
.sc-display { font-weight: 700; letter-spacing: -0.025em; color: var(--encre); }
.sc-display--md, h2.sc-display { font-weight: 700; }
h3 { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.sc-body { color: var(--encre-douce); }
.sc-lede { color: var(--encre); }
a { color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* motif hexagone de la charte : filet sous les titres */
.barre { width: 64px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 16'%3E%3Cpath d='M4.5 2h7l3.5 6-3.5 6h-7L1 8z' fill='none' stroke='%2317305C' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M20 4.5h4.5l2.3 3.5-2.3 3.5H20l-2.3-3.5z' fill='%23F78F1D'/%3E%3Cpath d='M31 8h33' stroke='%2317305C' stroke-opacity='.25' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat left center; }
.etiquette { font-family: var(--sc-font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu-pro); }

/* ---------------------------------------------------------------- boutons */
.btn { font-family: var(--sc-font-display) !important; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font-family: var(--sc-font-text); font-weight: 600; font-size: 0.95rem; line-height: 1.25; text-decoration: none; cursor: pointer; transition: transform 140ms var(--sc-ease-out), background-color 140ms, color 140ms, box-shadow 140ms; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.985); }
/* charte : l'orange est réservé aux appels à l'action (devis, téléphone) */
.btn--primaire { background: var(--orange); color: var(--marine); }
.btn--primaire:hover { background: #EC8210; }
.btn--marine { background: var(--marine); color: #fff; }
.btn--marine:hover { background: #213F75; }
.btn--urgence { background: var(--orange); color: var(--marine); }
.btn--urgence:hover { background: #EC8210; }
.btn--secondaire { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn--secondaire:hover { background: var(--ciel); }
.btn--blanc { background: #fff; color: var(--marine); }
.btn--blanc:hover { background: var(--ciel); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn svg { max-width: none; width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------------ chrome */
.topbar { position: fixed; inset-inline: 0; top: 0; z-index: 80; height: var(--bar-h); background: #fff; border-bottom: 1px solid var(--ligne); transition: box-shadow 200ms; }
.topbar.is-scrolled { box-shadow: 0 4px 18px -6px rgba(23,48,92,0.18); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 1rem; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2.5rem); }
.logo { flex: none; display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo img { height: 48px; width: auto; max-width: none; }
.nav { display: flex; align-items: stretch; gap: 0.1rem; height: 100%; margin-left: 0.5rem; }
.nav > li { list-style: none; display: flex; align-items: stretch; position: static; }
.nav, .nav ul { margin: 0; padding: 0; }
.nav__btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0 0.8rem; height: 100%; background: none; border: 0; font: 600 0.92rem/1 var(--sc-font-text); color: var(--encre); cursor: pointer; border-bottom: 3px solid transparent; border-top: 3px solid transparent; text-decoration: none; }
.nav__btn svg { flex: none; max-width: none; width: 14px; height: 14px; transition: transform 200ms var(--sc-ease-out); }
.nav__btn[aria-expanded="true"] { border-bottom-color: var(--bleu-pro); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__btn--urgence { color: var(--marine); }
.nav__btn--urgence .pastille { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.tel { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--marine); padding: 0.5rem 0.6rem; border-radius: 999px; }
.tel:hover { background: var(--ciel); }
.tel svg { flex: none; max-width: none; width: 18px; height: 18px; color: var(--orange); }
.burger { display: none; flex-direction: column; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: 10px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--marine); border-radius: 2px; transition: transform 220ms var(--sc-ease-out), opacity 150ms; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* méga-menu */
.mega { position: absolute; left: 0; right: 0; top: var(--bar-h); background: #fff; border-bottom: 1px solid var(--ligne); box-shadow: 0 24px 50px -24px rgba(23,48,92,0.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 220ms var(--sc-ease-out), transform 260ms var(--sc-ease-out), visibility 0s linear 220ms; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__in { max-width: var(--sc-maxw); margin-inline: auto; padding: 1.6rem clamp(1rem, 3vw, 2.5rem) 1.8rem; display: grid; grid-template-columns: 17rem 1fr; gap: 2.5rem; }
.mega__intro h2 { font-family: var(--sc-font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; margin: 0 0 0.6rem; }
.mega__intro p { color: var(--encre-douce); font-size: 0.95rem; }
.mega__intro .btn { margin-top: 1rem; }
.mega__intro--urgence { background: var(--marine); color: #fff; border-radius: var(--sc-r-md); padding: 1.2rem; }
.mega__intro--urgence p { color: #CBD8E4; }
.mega__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.mega__list--3 { grid-template-columns: repeat(3, 1fr); }
.mega__item { display: grid; grid-template-columns: 64px 1fr; column-gap: 0.8rem; row-gap: 0.15rem; align-items: center; padding: 0.55rem; border-radius: 10px; text-decoration: none; color: var(--encre); transition: background-color 120ms; }
.mega__item:hover { background: var(--surface-alt); }
.mega__item img { grid-row: 1 / span 2; align-self: start; width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--ciel); }
.mega__item strong { grid-column: 2; align-self: end; display: block; line-height: 1.3; font-weight: 600; font-size: 0.95rem; }
.mega__item span { grid-column: 2; align-self: start; display: block; color: var(--encre-douce); font-size: 0.82rem; line-height: 1.35; }
.mega__urg { align-items: start; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.mega__urg a { display: block; padding: 0.9rem; border: 1px solid var(--ligne); border-radius: 10px; text-decoration: none; color: var(--encre); font-weight: 600; font-size: 0.92rem; }
.mega__urg a small { display: block; font-weight: 400; color: var(--encre-douce); margin-top: 0.2rem; font-size: 0.8rem; }
.mega__urg a:hover { border-color: var(--orange); background: var(--orange-clair); }

/* menu mobile */
.mobnav { display: none; position: fixed; inset: var(--bar-h) 0 0 0; z-index: 70; background: #fff; overflow-y: auto; padding: 0.5rem 1rem 7rem; }
.mobnav.is-open { display: block; }
.mobnav details { border-bottom: 1px solid var(--ligne); }
.mobnav summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0.25rem; font: 700 1.05rem/1.2 var(--sc-font-display); min-height: 56px; }
.mobnav summary::-webkit-details-marker { display: none; }
.mobnav summary svg { width: 18px; height: 18px; transition: transform 200ms var(--sc-ease-out); }
.mobnav details[open] summary svg { transform: rotate(180deg); }
.mobnav ul { list-style: none; margin: 0; padding: 0 0 0.6rem; }
.mobnav li a { display: block; padding: 0.7rem 0.5rem; text-decoration: none; color: var(--encre); font-size: 0.98rem; min-height: 44px; border-radius: 8px; }
.mobnav li a:hover { background: var(--surface-alt); }
.mobnav > a.mobnav__lien { display: flex; align-items: center; min-height: 56px; padding: 0.5rem 0.25rem; font: 700 1.05rem/1.2 var(--sc-font-display); text-decoration: none; color: var(--encre); border-bottom: 1px solid var(--ligne); }
.mobnav__urg { margin: 1rem 0; padding: 1rem; background: var(--marine); color: #fff; border-radius: 12px; }
.mobnav__urg strong { display: block; font-family: var(--sc-font-display); margin-bottom: 0.3rem; }
.mobnav__urg p { color: #CBD8E4; font-size: 0.9rem; }
.mobbar { display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 75; padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); border-top: 1px solid var(--ligne); grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.mobbar .btn { min-height: 52px; font-size: 1rem; }

.engagements { position: relative; z-index: 2; background: var(--marine); color: #fff; height: var(--engagements-h); display: flex; align-items: center; justify-content: center; gap: 1.2rem; font-size: 0.85rem; font-weight: 500; padding-inline: 1rem; }
.engagements span { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.engagements svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.engagements i { width: 1px; height: 14px; background: rgba(255,255,255,0.35); }
.ia-tag, .photo-tag { position: absolute; z-index: 3; left: 0.6rem; bottom: 0.6rem; font: 600 0.68rem/1 var(--sc-font-text); letter-spacing: 0.04em; text-transform: uppercase; padding: 0.35rem 0.5rem; border-radius: 4px; pointer-events: none; }
.ia-tag { background: rgba(23,48,92,0.82); color: #FFD9B8; }
.photo-tag { background: rgba(23,48,92,0.82); color: #C9F0F9; }

/* ------------------------------------------------------------------- héros */
.hero { position: relative; height: calc(100svh - var(--bar-h) - var(--engagements-h)); min-height: 600px; max-height: 920px; overflow: clip; background: var(--marine); color: #fff; isolation: isolate; }
.hero__plane { position: absolute; inset: 0; will-change: transform; }
.hero__video, .hero__poster { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 60% 50%; }
.hero__video { opacity: 0; transition: opacity 600ms var(--sc-ease-out); }
.hero.has-video .hero__video { opacity: 1; }
.hero__haze { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,48,92,0.86) 0%, rgba(23,48,92,0.62) 42%, rgba(23,48,92,0.18) 72%, rgba(23,48,92,0.05) 100%); }

.hero__copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; max-width: var(--sc-maxw); margin-inline: auto; padding: 2rem clamp(1rem, 3vw, 2.5rem) 4rem; }
.hero__copy h1 { color: #fff; max-width: 19ch; font-size: clamp(2.3rem, 1.3rem + 3.3vw, 4rem); }
.hero__copy .sc-lede { color: #DCE6EF; max-width: 48ch; }
.hero__portes { display: grid; grid-template-columns: repeat(2, minmax(0, 20rem)); gap: 1rem; margin-top: 0.6rem; }
.porte { display: grid; gap: 0.35rem; padding: 1.1rem 1.25rem; border-radius: var(--sc-r-md); background: rgba(255,255,255,0.96); color: var(--encre); text-decoration: none; box-shadow: 0 18px 40px -18px rgba(5,20,40,0.55); transition: transform 160ms var(--sc-ease-out), box-shadow 160ms; }
.porte:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -18px rgba(5,20,40,0.6); }
.porte strong { font-family: var(--sc-font-display); font-size: 1.15rem; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.porte strong svg { width: 20px; height: 20px; color: var(--bleu-pro); }
.porte span { color: var(--encre-douce); font-size: 0.9rem; line-height: 1.4; }
.porte--pro { border-left: 0; }
.hero .ia-tag { bottom: 1rem; left: auto; right: 1rem; }

/* ----------------------------------------------------------------- domaines */
.section--alt { background: var(--surface-alt); }
.section--marine { background: var(--marine); color: #fff; --sc-ink: #fff; --sc-ink-soft: #C9D6E2; }
.section--marine .sc-display, .section--marine h3 { color: #fff; }
.section--marine .sc-body { color: #C9D6E2; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-head .sc-body { max-width: 52ch; margin-top: 0.75rem; }
.section-head .barre { margin-top: 1rem; }
.domaines { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: minmax(300px, auto); gap: 1.25rem; }
.domaine { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 1.5rem; border-radius: var(--sc-r-md); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.domaine video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 600ms var(--sc-ease-out); }
.domaine.has-video video { opacity: 1; }
.domaine img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--sc-ease-out); }
.domaine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18,39,73,0.92) 0%, rgba(18,39,73,0.55) 45%, rgba(18,39,73,0.08) 75%); }
.domaine:hover img { transform: scale(1.03); }
.domaine h3 { color: #fff; font-size: 1.5rem; }
.domaine ul { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; color: #DCE6EF; font-size: 0.9rem; }
.domaine ul li::before { content: "·"; margin-right: 0.5rem; color: var(--cyan-eau); }
.domaine .lien { margin-top: 0.9rem; font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.domaine .lien svg { width: 16px; height: 16px; }
.domaine--pro { grid-row: span 2; min-height: 100%; }
.domaine--urgence::before { background: linear-gradient(to top, rgba(23,48,92,0.96) 0%, rgba(23,48,92,0.7) 50%, rgba(23,48,92,0.2) 85%); }
.domaine--urgence { grid-column: 1 / -1; min-height: 240px; }
.domaine .ia-tag, .domaine .photo-tag { left: auto; right: 0.8rem; bottom: auto; top: 0.8rem; }
.domaine--urgence .badge { position: absolute; top: 1.1rem; left: 1.1rem; }
.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.6rem; border-radius: 999px; font: 700 0.72rem/1 var(--sc-font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--marine); background: var(--orange); }
.badge--certifie { background: var(--orange-clair); }
.badge--info { background: var(--ciel); }

/* -------------------------------------------------------------- expertise */
.expertise { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.expertise__photo { position: relative; overflow: hidden; aspect-ratio: 1.12 / 1; clip-path: var(--hexa); background: var(--orange-clair); }
.expertise__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.05); transform-origin: 50% 30%; }
.expertise__fig { margin: 0; }
.expertise__fig figcaption { margin-top: 0.9rem; padding-left: 0.9rem; border-left: 3px solid var(--orange); font-size: 0.85rem; color: var(--encre-douce); }
.expertise__fig figcaption strong { display: block; color: var(--encre); font-family: var(--sc-font-display); font-weight: 700; font-size: 0.95rem; }
.citation { margin: 1.5rem 0 0; padding-left: 1.2rem; border-left: 3px solid var(--orange); font-family: var(--sc-font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.3; color: var(--encre); }
.citation cite { display: block; margin-top: 0.6rem; font: 400 0.9rem/1.3 var(--sc-font-text); color: var(--encre-douce); font-style: normal; }
.atouts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }
.atouts li { line-height: 1.45; display: grid; grid-template-columns: 40px 1fr; gap: 0.75rem; align-items: start; }
.atouts li svg { width: 42px; height: 42px; padding: 10px; clip-path: var(--hexa); background: var(--marine); color: #fff; }
.atouts strong { display: block; font-family: var(--sc-font-display); font-weight: 700; font-size: 0.98rem; }
.atouts span { color: var(--encre-douce); font-size: 0.9rem; line-height: 1.45; }

/* --------------------------------------------------- avant/après (le pic) */
.pic { background: var(--marine); color: #fff; }
.pic__in { max-width: var(--sc-maxw); margin-inline: auto; padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 3vw, 2.5rem); }
.pic__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.pic__head h2 { color: #fff; }
.pic__head p { color: #C9D6E2; max-width: 44ch; }
.cmp { position: relative; width: 100%; height: 100%; max-height: 78svh; aspect-ratio: 16 / 9; margin-inline: auto; border-radius: var(--sc-r-md); overflow: hidden; background: #122749; user-select: none; touch-action: pan-y; --p: 0.08; }
.cmp--flow { max-height: none; height: auto; aspect-ratio: 4 / 3; --p: 0.5; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* la perche avance de gauche à droite : derrière elle (à gauche) le propre, devant elle l’état d’origine */
.cmp__apres { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.cmp__avant { clip-path: inset(0 0 0 calc(var(--p) * 100%)); }
.cmp__lab { position: absolute; top: 1rem; z-index: 2; padding: 0.4rem 0.7rem; border-radius: 6px; font: 700 0.75rem/1 var(--sc-font-display); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(23,48,92,0.85); color: #fff; }
.cmp__lab--avant { right: 1rem; }
.cmp__lab--apres { left: 1rem; background: var(--orange-clair); color: var(--marine); }
.cmp__perche { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 100%); width: 0; z-index: 3; pointer-events: none; }
.cmp__perche::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(23,48,92,0.35); }
.cmp__perche svg { max-width: none; position: absolute; left: -22px; top: 50%; width: 44px; height: 200px; transform: translateY(-50%); filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4)); }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; background: transparent; }
.cmp__range:focus-visible { opacity: 1; outline: 3px solid var(--cyan-eau); outline-offset: -3px; background: transparent; }
.cmp__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; background: transparent; }
.cmp__range::-moz-range-thumb { width: 48px; height: 100%; background: transparent; border: 0; }
.repere { position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.6rem 0.4rem 0.45rem; border-radius: 999px; background: var(--orange); color: var(--marine); font: 600 0.78rem/1 var(--sc-font-text); opacity: 0; transform: translateY(6px) scale(0.96); transition: opacity 300ms var(--sc-ease-out), transform 300ms var(--sc-ease-out); white-space: nowrap; }
.repere::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--marine); box-shadow: 0 0 0 3px rgba(242,140,40,0.6); }
.repere.is-on { opacity: 1; transform: none; }
.pic__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; font-size: 0.85rem; color: #C9D6E2; }
.pic__foot .photo-tag { position: static; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.cmp-card { display: grid; gap: 0.6rem; }
.cmp-card .cmp { --p: 0.5; }
.cmp-card figcaption { font-size: 0.9rem; color: var(--encre-douce); }
.cmp-card figcaption strong { color: var(--encre); font-family: var(--sc-font-display); font-weight: 700; display: block; }
.temoin { position: relative; border-radius: var(--sc-r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.temoin img { width: 100%; height: 100%; object-fit: cover; }
.temoin .repere { opacity: 1; transform: none; }

/* -------------------------------------------------------------- méthode */
.methode { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: etape; border-top: 1px solid var(--ligne); }
.methode li { list-style: none; position: relative; padding: 1.6rem 1.4rem 1.6rem 0; border-right: 1px solid var(--ligne); margin-right: 1.4rem; }
.methode li:last-child { border-right: 0; margin-right: 0; }
.methode li::before { counter-increment: etape; content: "0" counter(etape); display: block; font-family: var(--sc-font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--cyan-eau); margin-bottom: 0.8rem; }
.methode h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.methode p { color: var(--encre-douce); font-size: 0.92rem; line-height: 1.5; }
.methode--5 { grid-template-columns: repeat(5, 1fr); }

/* --------------------------------------------------------------- chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.chiffre { padding: 1.4rem 0; border-top: 2px solid var(--marine); }
.chiffre strong { display: block; font-family: var(--sc-font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; }
.chiffre > span { display: block; margin-top: 0.5rem; color: var(--encre-douce); font-size: 0.92rem; }
.factice { display: inline-block; margin-top: 0.4rem; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #B95F0A; font-weight: 600; }

/* ------------------------------------------------------------------ avis */
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.avis article { background: #fff; border: 1px solid var(--ligne); border-radius: var(--sc-r-md); padding: 1.4rem; display: grid; gap: 0.7rem; align-content: start; }
.avis .etoiles { color: #F2B035; letter-spacing: 0.1em; font-size: 0.95rem; }
.avis p { font-size: 0.95rem; line-height: 1.55; color: var(--encre); }
.avis footer { font-size: 0.85rem; color: var(--encre-douce); display: flex; justify-content: space-between; }
.avis footer strong { color: var(--encre); font-weight: 600; }
.google { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--encre-douce); }
.google b { font-family: var(--sc-font-display); font-weight: 800; color: var(--encre); font-size: 1.4rem; }

/* ------------------------------------------------------------------- zone */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.carte { position: relative; aspect-ratio: 5 / 4; border-radius: var(--sc-r-md); background: #DDEBF3; overflow: hidden; }
.carte svg { width: 100%; height: 100%; display: block; }
.villes { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1.5rem; }
.villes li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; padding: 0.35rem 0; border-bottom: 1px solid var(--ligne); }
.villes li::before { content: ""; width: 10px; height: 10px; clip-path: var(--hexa); background: var(--bleu-pro); flex: none; }
.villes li small { margin-left: auto; color: var(--encre-douce); font-size: 0.8rem; }

/* -------------------------------------------------------------- faq, blog */
.faqblog { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq details { border-top: 1px solid var(--ligne); }
.faq details:last-of-type { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0.2rem; font-weight: 600; font-size: 1rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--bleu-pro); transition: transform 200ms var(--sc-ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0.2rem 1.1rem; color: var(--encre-douce); font-size: 0.95rem; max-width: 60ch; }
.blog { display: grid; gap: 1.25rem; }
.blog article { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; }
.blog img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; }
.blog h3 { font-size: 1rem; }
.blog h3 a { text-decoration: none; }
.blog h3 a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.blog time { display: block; margin-top: 0.3rem; font-size: 0.8rem; color: var(--encre-douce); }

/* -------------------------------------------------------- appel final / pied */
.final { background: var(--marine); color: #fff; }
.final .sc-stage, .final [data-sc-stage] { display: grid; grid-template-rows: 1fr auto; min-height: 100svh; height: auto; }
.final__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: var(--sc-maxw); width: 100%; margin-inline: auto; padding: calc(var(--bar-h) + 2rem) clamp(1rem, 3vw, 2.5rem) 3rem; }
.final h2 { color: #fff; }
.final .sc-body { color: #C9D6E2; }
.final__tel { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.5rem; font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; text-decoration: none; }
.final__tel svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--orange); color: var(--marine); }
.final__note { margin-top: 0.6rem; color: #C9D6E2; font-size: 0.9rem; }
.form { background: #fff; color: var(--encre); border-radius: var(--sc-r-lg); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.9rem; }
.form h3 { font-size: 1.2rem; }
.form label { display: grid; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; color: var(--encre); }
.form input, .form select, .form textarea { min-height: 48px; padding: 0.6rem 0.8rem; border: 1px solid var(--ligne); border-radius: var(--sc-r-sm); background: var(--surface-alt); font-weight: 400; }
.form textarea { min-height: 88px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form small { color: var(--encre-douce); font-size: 0.78rem; }
.foot { background: #122749; color: #C9D6E2; padding: 3rem clamp(1rem, 3vw, 2.5rem) 2rem; }
.foot__in { max-width: var(--sc-maxw); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.foot h4 { margin: 0 0 0.8rem; font: 700 0.8rem/1 var(--sc-font-display); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.9rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.foot__brand img { height: 96px; width: auto; max-width: none; }
.foot__brand p { margin-top: 0.9rem; font-size: 0.9rem; max-width: 36ch; }
.foot__social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.foot__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); }
.foot__social svg { width: 18px; height: 18px; }
.foot__bottom { max-width: var(--sc-maxw); margin: 2.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; }

/* ------------------------------------------------------------ page service */
.ariane { max-width: var(--sc-maxw); margin-inline: auto; padding: 0.9rem clamp(1rem, 3vw, 2.5rem) 0; font-size: 0.85rem; color: var(--encre-douce); }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ariane li + li::before { content: "›"; margin-right: 0.4rem; }
.ariane a { text-decoration: none; }
.ariane a:hover { text-decoration: underline; }
.hero--service { height: auto; min-height: 560px; max-height: none; }
.hero--service .hero__copy { padding-block: 3rem 3.5rem; }
.hero__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.4rem; }
.args { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 0.6rem 1.6rem; justify-content: start; }
.args li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: #DCE6EF; }
.args svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.pourqui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pourqui article { padding: 1.5rem; border: 1px solid var(--ligne); border-radius: var(--sc-r-md); background: #fff; }
.pourqui article h3 { margin-bottom: 0.5rem; }
.pourqui article p { color: var(--encre-douce); font-size: 0.95rem; }
.pourqui svg { width: 48px; height: 48px; padding: 11px; clip-path: var(--hexa); background: var(--marine); color: #fff; margin-bottom: 0.8rem; }
.diag { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.diag ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.diag ul li { display: flex; gap: 0.6rem; align-items: start; font-size: 0.95rem; color: var(--encre); }
.diag ul svg { width: 20px; height: 20px; color: var(--vert-frais); flex: none; margin-top: 2px; }
.prix { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--sc-r-lg); background: var(--orange-clair); align-items: center; }
.prix strong.montant { display: block; font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.prix .sc-body { color: var(--encre-douce); }
.prix ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--encre); font-size: 0.95rem; display: grid; gap: 0.3rem; }
.realis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.realis figure { margin: 0; position: relative; border-radius: var(--sc-r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ciel); }
.realis img { width: 100%; height: 100%; object-fit: cover; }
.realis .photo-tag { left: auto; right: .7rem; }
.realis figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 0.9rem 1rem; background: linear-gradient(to top, rgba(18,39,73,0.9), rgba(18,39,73,0)); color: #fff; font-size: 0.9rem; }
.realis figcaption strong { display: block; font-family: var(--sc-font-display); font-weight: 700; }
.lies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lies a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.8rem; padding: 1.1rem 1.25rem; border: 1px solid var(--ligne); border-radius: var(--sc-r-md); text-decoration: none; color: var(--encre); font-weight: 600; background: #fff; }
.lies a:hover { border-color: var(--bleu-pro); }
.lies a small { display: block; font-weight: 400; color: var(--encre-douce); font-size: 0.85rem; margin-top: 0.2rem; }
.lies a svg { width: 20px; height: 20px; color: var(--bleu-pro); }
.villes--inline { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.villes--inline li { border: 1px solid var(--ligne); border-radius: 999px; padding: 0.4rem 0.8rem; font-size: 0.9rem; }
.villes--inline li::before { display: none; }

/* ------------------------------------------------------------------ mobile */
/* en-tête : le menu complet ne s'affiche que s'il tient, sinon menu burger */
@media (max-width: 1760px) { .tel span { display: none; } }
@media (max-width: 1600px) { .nav__btn { padding: 0 0.55rem; } }
@media (max-width: 1460px) { .nav__btn { padding: 0 0.4rem; font-size: 0.86rem; } .nav { margin-left: 0; } .topbar__in { gap: 0.6rem; } }
@media (max-width: 1300px) {
  .mega { display: none; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .topbar__actions .btn { display: none; }
  .tel span { display: none; }
  .mobbar { display: grid; }
  body { padding-bottom: 76px; }
}
@media (max-width: 1180px) {
  .domaines { grid-template-columns: 1fr 1fr; }
  .domaine--pro { grid-row: auto; }
  .expertise, .zone, .faqblog, .diag, .prix, .final__in { grid-template-columns: 1fr; }
  .methode { grid-template-columns: 1fr 1fr; }
  .methode li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--ligne); }
  .methode--5 { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .avis, .pourqui, .realis, .lies { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .args { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --bar-h: 64px; --engagements-h: 34px; }
  .logo img { height: 40px; }
  .engagements { font-size: 0.74rem; gap: 0.7rem; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .engagements::-webkit-scrollbar { display: none; }
  .hero { min-height: 560px; height: calc(100svh - var(--bar-h) - var(--engagements-h)); }
  .hero__copy { justify-content: flex-start; padding-top: 2.2rem; gap: 1rem; }
  .hero__copy h1 { font-size: var(--sc-t-2xl); max-width: none; }
  .hero__portes { grid-template-columns: 1fr; gap: 0.6rem; }
  .porte { padding: 0.85rem 1rem; }
    .hero__video, .hero__poster { object-position: 50% 40%; }
  .hero .ia-tag { bottom: 0.6rem; right: 0.6rem; }
  .section-head { grid-template-columns: 1fr; }
  .domaines { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .domaine { min-height: 240px; }
  .atouts, .villes, .cmp-grid, .methode, .methode--5, .chiffres, .avis, .pourqui, .realis, .lies, .foot__in, .args, .form .row { grid-template-columns: 1fr; }
  .pic__head { flex-direction: column; align-items: start; gap: 0.3rem; }
  .pic__head h2 { font-size: 1.5rem; }
  .cmp { aspect-ratio: 3 / 4; max-height: 70svh; }
  .cmp__perche svg { height: 150px; }
  .pic__foot { flex-direction: column; align-items: start; gap: 0.4rem; }
  .citation { font-size: 1.1rem; }
  .final__in { padding-top: calc(var(--bar-h) + 1.5rem); }
  .blog article { grid-template-columns: 96px 1fr; }
  .blog img { width: 96px; height: 72px; }
  .hero--service .args { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__plane,   .domaine img { transition: none; }
  .cmp { --p: 0.5; }
}

/* sur écran tactile, le doigt fait défiler la page ; la perche suit le défilement */
@media (hover: none) { .cmp__range { touch-action: pan-y; } .cmp__avant { will-change: clip-path; } }

/* avant/après : composition en deux colonnes (texte à gauche, photo à droite) */
@media (min-width: 1041px) {
  .pic__in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); grid-template-areas: "head img" "foot img"; column-gap: clamp(2rem, 5vw, 5rem); row-gap: 1.5rem; align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
  .pic__head { grid-area: head; flex-direction: column; align-items: start; gap: 1rem; margin: 0; align-self: end; }
  .pic__head p { font-size: 1.05rem; line-height: 1.6; }
  .pic__in > .cmp { grid-area: img; width: min(100%, 76svh); aspect-ratio: 1 / 1; max-height: none; justify-self: end; }
  .pic__foot { grid-area: foot; align-self: start; margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.92rem; line-height: 1.55; }
}
@media (max-width: 1040px) { .pic__in > .cmp { aspect-ratio: 4 / 5; max-height: 72svh; } }


/* ===================================================================== v5 : pages services, hubs, pages communes */
.mega__tout { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.9rem; font-weight: 600; font-size: 0.9rem; color: var(--bleu-pro); text-decoration: none; }
.mega__tout:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.mega__tout svg { width: 16px; height: 16px; }
.mega__intro .btn + .mega__tout { display: flex; }
.mobnav__urglien { display: block; margin-top: 0.8rem; color: #fff; font-size: 0.92rem; text-underline-offset: 0.2em; }
.mobnav li a b { font-weight: 600; color: var(--bleu-pro); }
.foot__villes { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.nav__btn[aria-current="page"] { border-bottom-color: var(--orange); }

/* titres de section */
.intro-col { max-width: 62ch; }
.intro-col p + p { margin-top: 0.9rem; }

/* cartes de services (pages univers) */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hub a { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--ligne); border-radius: var(--sc-r-md); overflow: hidden; background: #fff; color: var(--encre); text-decoration: none; transition: border-color 140ms, box-shadow 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out); }
.hub a:hover { border-color: var(--bleu-pro); box-shadow: 0 18px 36px -24px rgba(23,48,92,0.45); transform: translateY(-2px); }
.hub figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ciel); }
.hub img { width: 100%; height: 100%; object-fit: cover; }
.hub div { padding: 1.2rem 1.25rem 1.3rem; display: grid; gap: 0.45rem; align-content: start; }
.hub h3 { font-size: 1.15rem; display: flex; justify-content: space-between; gap: 0.5rem; align-items: start; }
.hub h3 svg { width: 20px; height: 20px; flex: none; color: var(--bleu-pro); margin-top: 2px; }
.hub p { color: var(--encre-douce); font-size: 0.93rem; line-height: 1.5; }
.hub ul { list-style: none; margin: 0.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.hub ul li { font-size: 0.78rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--ciel); color: var(--encre); }
.hub--2 { grid-template-columns: repeat(2, 1fr); }

/* ce qu'on prend en charge : liste à puces hexagonales */
.prestas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
.prestas li { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: start; }
.prestas li > svg { width: 44px; height: 44px; padding: 11px; clip-path: var(--hexa); background: var(--marine); color: #fff; }
.prestas h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.prestas p { color: var(--encre-douce); font-size: 0.92rem; line-height: 1.5; }
.section--alt .prestas li > svg { background: var(--marine); }

/* intervention calée sur l'arrêt de production */
.arret { display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr; border-radius: var(--sc-r-md); overflow: hidden; border: 1px solid var(--ligne); background: #fff; }
.arret > div { padding: 1.4rem 1.3rem 1.5rem; position: relative; border-right: 1px solid var(--ligne); }
.arret > div:last-child { border-right: 0; }
.arret small { display: block; font: 700 0.74rem/1 var(--sc-font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu-pro); margin-bottom: 0.7rem; }
.arret h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.arret p { font-size: 0.9rem; line-height: 1.5; color: var(--encre-douce); }
.arret .arret__stop { background: var(--marine); color: #fff; border-right: 0; }
.arret .arret__stop small { color: var(--orange-clair); }
.arret .arret__stop h3 { color: #fff; }
.arret .arret__stop p { color: #C9D6E2; }
.arret .arret__stop::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 22px); }
.arret__legende { margin-top: 1rem; font-size: 0.88rem; color: var(--encre-douce); max-width: 70ch; }

/* sécurité (bloc marine) */
.secu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.secu article { padding: 1.3rem 1.3rem 1.4rem; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--sc-r-md); background: rgba(255,255,255,0.04); }
.secu svg { width: 40px; height: 40px; padding: 9px; clip-path: var(--hexa); background: var(--orange-clair); color: var(--marine); margin-bottom: 0.8rem; }
.secu h3 { font-size: 1.02rem; margin-bottom: 0.4rem; color: #fff; }
.secu p { font-size: 0.9rem; line-height: 1.5; color: #C9D6E2; }
.docs { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; align-items: center; color: #C9D6E2; font-size: 0.9rem; }
.docs b { color: #fff; font-family: var(--sc-font-display); margin-right: 0.3rem; }
.docs span { border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 0.3rem 0.75rem; color: #fff; font-size: 0.85rem; }

/* secteurs et références */
.secteurs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.chips { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; font-size: 0.92rem; color: var(--encre); }
.chips li::before { content: ""; width: 9px; height: 9px; clip-path: var(--hexa); background: var(--bleu-pro); }
.refs { display: grid; gap: 0.75rem; }
.refs article { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px dashed #C6CFDB; border-radius: var(--sc-r-md); background: #fff; }
.refs article > span { width: 56px; height: 56px; clip-path: var(--hexa); background: var(--ciel); display: grid; place-items: center; font: 700 0.7rem/1 var(--sc-font-display); color: var(--encre-douce); }
.refs strong { display: block; font-family: var(--sc-font-display); font-size: 0.98rem; color: var(--encre); }
.refs p { font-size: 0.88rem; color: var(--encre-douce); line-height: 1.45; }

/* bloc figure + texte (variante image à gauche) */
.diag--inverse > figure { order: -1; }
.temoin--paysage { aspect-ratio: 16 / 10; }
.temoin figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 0.8rem 1rem; background: linear-gradient(to top, rgba(18,39,73,0.88), rgba(18,39,73,0)); color: #fff; font-size: 0.85rem; }
.encadre { margin-top: 1.4rem; padding: 1rem 1.1rem; border-left: 4px solid var(--orange); background: var(--orange-clair); border-radius: 0 var(--sc-r-sm) var(--sc-r-sm) 0; font-size: 0.93rem; color: var(--encre); line-height: 1.5; }
.encadre strong { font-family: var(--sc-font-display); }

/* prix sur devis (pages pro) */
.prix--devis strong.montant { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* bandeau d'appel direct (urgence) */
.appel { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--sc-r-lg); background: var(--orange-clair); }
.appel h2 { font-size: var(--sc-t-2xl); }
.appel p { color: var(--encre); margin-top: 0.4rem; }
.appel .btn { min-height: 60px; font-size: 1.1rem; padding-inline: 1.8rem; }
.hero__cta .btn--tel-grand { font-size: 1.15rem; min-height: 58px; padding-inline: 1.6rem; }

/* texte long (articles, pages légales) */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--sc-font-display); font-size: var(--sc-t-2xl); line-height: 1.2; margin: 2.6rem 0 0.9rem; color: var(--encre); letter-spacing: -0.02em; }
.prose h3 { margin: 1.8rem 0 0.6rem; }
.prose p, .prose li { color: var(--anthracite); font-size: 1.02rem; line-height: 1.7; }
.prose p + p { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 1rem 0; display: grid; gap: 0.4rem; }
.prose a { color: var(--bleu-pro); text-underline-offset: 0.2em; }
.prose .a-valider { background: var(--orange-clair); padding: 0 0.25rem; border-radius: 3px; }
.a-valider-note { display: inline-block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #B95F0A; font-weight: 600; }

@media (max-width: 1180px) {
  .hub, .prestas, .secu { grid-template-columns: 1fr 1fr; }
  .arret { grid-template-columns: 1fr 1fr; }
  .arret > div:nth-child(2) { border-right: 0; }
  .arret > div:nth-child(-n+2) { border-bottom: 1px solid var(--ligne); }
  .secteurs { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hub, .hub--2, .prestas, .secu, .arret { grid-template-columns: 1fr; }
  .arret > div { border-right: 0; border-bottom: 1px solid var(--ligne); }
  .arret > div:last-child { border-bottom: 0; }
  .appel { grid-template-columns: 1fr; }
  .appel .btn { width: 100%; }
  .diag--inverse > figure { order: 0; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .hero--service .hero__copy h1 { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.3rem); }
}
.barre--clair { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 16'%3E%3Cpath d='M4.5 2h7l3.5 6-3.5 6h-7L1 8z' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M20 4.5h4.5l2.3 3.5-2.3 3.5H20l-2.3-3.5z' fill='%23F78F1D'/%3E%3Cpath d='M31 8h33' stroke='%23FFFFFF' stroke-opacity='.3' stroke-width='1.5'/%3E%3C/svg%3E"); }
.section--marine .section-head .sc-body { color: #C9D6E2; }
.villes--liens li { padding: 0; }
.villes--liens a { display: block; padding: 0.4rem 0.8rem; text-decoration: none; color: var(--encre); border-radius: 999px; }
.villes--liens a:hover { background: var(--ciel); }
.villes li a { text-decoration: none; color: var(--encre); } .villes li a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 700px) { .hero--service .hero__haze { background: linear-gradient(180deg, rgba(23,48,92,0.9) 0%, rgba(23,48,92,0.78) 60%, rgba(23,48,92,0.6) 100%); } }

/* réalisations : galerie filtrable */
.filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filtre { min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--ligne); background: #fff; color: var(--encre); font: 600 0.92rem/1 var(--sc-font-text); cursor: pointer; }
.filtre:hover { border-color: var(--bleu-pro); }
.filtre[aria-pressed="true"] { background: var(--marine); border-color: var(--marine); color: #fff; }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.galerie > figure { margin: 0; position: relative; border-radius: var(--sc-r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ciel); }
.galerie > figure:not(.cmp-card) img { width: 100%; height: 100%; object-fit: cover; }
.galerie > figure:not(.cmp-card) figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 0.9rem 1rem; background: linear-gradient(to top, rgba(18,39,73,0.9), rgba(18,39,73,0)); color: #fff; font-size: 0.88rem; }
.galerie figcaption strong { display: block; font-family: var(--sc-font-display); font-weight: 700; }
.galerie > .cmp-card { aspect-ratio: auto; background: none; overflow: visible; grid-column: span 1; }
.galerie > .cmp-card .cmp { aspect-ratio: 4 / 3; }
.galerie > [hidden] { display: none; }
.galerie__vide { margin-top: 1rem; color: var(--encre-douce); }

/* contact */
.page-contact .contact { padding-top: clamp(2rem, 4vw, 3.5rem); }
.contact__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__tel { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--marine); text-decoration: none; }
.contact__tel svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--orange); color: var(--marine); }
.contact__infos { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.contact__infos li { display: grid; grid-template-columns: 40px 1fr; gap: 0.8rem; align-items: start; font-size: 0.95rem; color: var(--encre-douce); }
.contact__infos svg { width: 40px; height: 40px; padding: 10px; clip-path: var(--hexa); background: var(--marine); color: #fff; }
.contact__infos strong { display: block; color: var(--encre); font-family: var(--sc-font-display); }
.contact__infos a { color: var(--bleu-pro); }
.form--complet { border: 1px solid var(--ligne); box-shadow: 0 30px 60px -40px rgba(23,48,92,0.45); }
.choix { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choix legend { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; padding: 0; }
.choix label { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 0.9rem; border: 1px solid var(--ligne); border-radius: 999px; font-weight: 500; cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--marine); background: var(--ciel); }
.form .fichier input { padding: 0.5rem; min-height: 0; }
.form .consent { display: flex; gap: 0.6rem; align-items: start; font-weight: 400; font-size: 0.85rem; color: var(--encre-douce); }
.form .consent input { min-height: 0; width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form .consent a { color: var(--bleu-pro); }
.form--complet:not(.is-pro) .pro-seul { opacity: 0.55; }
@media (max-width: 1180px) { .galerie { grid-template-columns: 1fr 1fr; } .contact__in { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .galerie { grid-template-columns: 1fr; } }
/* blog et pages de texte */
.blog__meta { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bleu-pro); }
.prose .blog__meta { margin-bottom: 1rem; }
.article__chapo { font-size: 1.2rem !important; line-height: 1.55 !important; color: var(--encre) !important; font-weight: 500; margin-bottom: 1.5rem; }
.article { padding-top: clamp(2rem, 4vw, 3.5rem); }
.page-texte .prose h1 { margin-bottom: 1rem; }
.page404 { min-height: 50vh; }

/* météo chantier (pages toiture) : bande discrète sous le héros */
.meteo { border-bottom: 1px solid var(--ligne); background: #fff; }
.meteo[hidden] { display: none; }
.meteo__in { max-width: var(--sc-maxw); margin-inline: auto; padding: 0.8rem clamp(1rem, 3vw, 2.5rem); display: flex; align-items: center; gap: 0.6rem 1rem; flex-wrap: wrap; font-size: 0.88rem; color: var(--encre-douce); }
.meteo__titre { font: 700 0.74rem/1 var(--sc-font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu-pro); }
.meteo__verdict { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--encre); }
.meteo__jours { display: flex; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.meteo__jours li { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; white-space: nowrap; }
.pt { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #9AA4B2; }
.pt--vert { background: #2E9E5B; } .pt--orange { background: #E8A317; } .pt--rouge { background: #D7263D; }
.meteo__lien { margin-left: auto; font-weight: 600; color: var(--bleu-pro); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.meteo__lien:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.meteo__lien svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .meteo__in { gap: 0.5rem 0.9rem; } .meteo__lien { margin-left: 0; } .meteo__titre { width: 100%; } }
.meteo__ico { width: 26px; height: 26px; flex: none; }
.meteo__jours .meteo__ico { width: 22px; height: 22px; }
.temoin--portrait { aspect-ratio: 4 / 5; max-width: 30rem; justify-self: center; width: 100%; }
.hero__credit { position: absolute; z-index: 3; right: 0.8rem; bottom: 0.6rem; font-size: 0.68rem; color: rgba(255,255,255,0.75); max-width: 60ch; text-align: right; }
.temoin figcaption { font-size: 0.72rem; }
.texte { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--sc-r-lg); background: var(--marine); color: #fff; }
.texte h2 { color: #fff; }
.texte .sc-body { color: #C9D6E2; }
.texte .etiquette { color: var(--orange-clair); }
.texte__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.texte__liste li { display: flex; gap: 0.6rem; align-items: start; color: #fff; font-size: 0.95rem; }
.texte__liste svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 2px; }
.texte .btn--secondaire { color: #fff; border-color: rgba(255,255,255,0.7); }
.texte .btn--secondaire:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 1180px) { .texte { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .hero__credit { right: 0.5rem; bottom: 0.4rem; font-size: 0.62rem; max-width: 80%; } }

.blog__tout { margin-top: 1.25rem; }
.blog__tout a { font-family: Poppins, sans-serif; font-weight: 600; color: #2E5C9A; text-decoration: underline; text-underline-offset: 3px; }
.blog__tout a:hover { color: #17305C; }

/* accueil : sur téléphone, on cadre sur le technicien de la photo d’en-tête */
@media (max-width: 700px) { .hero:not(.hero--service) .hero__poster, .hero:not(.hero--service) .hero__video { object-position: 64% 40%; } }

/* ===== v15 : blocs SEO / GEO ===== */
.enbref-section { padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(0.5rem, 2vw, 1.5rem); position: relative; z-index: 1; }
.enbref { background: #fff; border: 1px solid var(--ligne); border-left: 5px solid var(--marine); border-radius: var(--sc-r-md); padding: clamp(1.1rem, 2.4vw, 1.8rem) clamp(1.1rem, 2.6vw, 2rem); box-shadow: 0 6px 24px -18px hsl(var(--sc-shadow-color) / .35); }
.enbref__titre { font-family: var(--sc-font-display); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu-pro); margin: 0 0 .45rem; }
.enbref__reponse { color: var(--anthracite); font-size: 1.05rem; line-height: 1.6; max-width: 75ch; }
.enbref__faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem 1.4rem; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--ligne); }
.enbref__faits div { min-width: 0; }
.enbref__faits dt { font-family: var(--sc-font-display); font-weight: 700; font-size: .78rem; color: var(--marine); text-transform: uppercase; letter-spacing: .04em; }
.enbref__faits dd { margin: .2rem 0 0; color: var(--encre-douce); font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.cas { background: var(--ciel); border-radius: var(--sc-r-lg); padding: clamp(1.3rem, 3vw, 2.4rem); }
.cas__tete { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.cas__tete .etiquette { color: var(--bleu-pro); }
.cas__valider { justify-self: start; font-size: .78rem; font-weight: 600; color: #8A4A0B; background: var(--orange-clair); border-radius: var(--sc-r-pill); padding: .2rem .7rem; }
.cas__etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.cas__etapes div { background: #fff; border-radius: var(--sc-r-md); padding: 1rem 1.1rem; border-top: 3px solid var(--marine); }
.cas__etapes dt { font-family: var(--sc-font-display); font-weight: 700; color: var(--marine); margin-bottom: .35rem; }
.cas__etapes dd { margin: 0; color: var(--encre-douce); line-height: 1.55; }
@media (max-width: 860px) { .cas__etapes { grid-template-columns: 1fr; } }
.tableau-prix { overflow-x: auto; margin: 1rem 0 .4rem; }
.tableau-prix table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; }
.tableau-prix th { background: var(--marine); color: #fff; font-family: var(--sc-font-display); font-weight: 600; text-align: left; padding: .65rem .8rem; }
.tableau-prix td { padding: .6rem .8rem; border-bottom: 1px solid var(--ligne); }
.tableau-prix tr:nth-child(even) td { background: var(--ciel); }
.note-valider { font-size: .85rem; color: #8A4A0B; }
.cas__lien { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 600; color: var(--bleu-pro); text-decoration: none; }
.cas__lien svg { width: 18px; height: 18px; }
.cas__lien:hover { text-decoration: underline; }
.liens-utiles { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--ligne); font-size: .92rem; color: var(--encre-douce); }
.liens-utiles strong { display: block; font-family: var(--sc-font-display); color: var(--marine); margin-bottom: .4rem; }
.liens-utiles ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.liens-utiles li { margin: .25rem 0; }
.liens-utiles a { color: var(--bleu-pro); }
.foot__bottom .credit a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.foot__bottom .credit a:hover { color: #fff; }
.tableau-prix td + td { white-space: nowrap; }
@media (max-width: 560px) { .enbref__faits { grid-template-columns: 1fr 1fr; } .enbref__reponse { font-size: 1rem; } }

/* ===== v21 : formulaire de devis ===== */
.form--devis fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form--devis legend { font-size: .85rem; font-weight: 600; color: var(--encre); margin-bottom: .45rem; padding: 0; }
.form--devis .lib { display: block; }
.form--devis .row { align-items: start; }
.form--devis em { font-style: normal; color: #B95F0A; margin-left: .15rem; }
.form--devis label > input, .form--devis label > select, .travaux > select { width: 100%; }
.travaux { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--encre); }
.travaux > select { font-weight: 400; }
.bascule { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.bascule legend { grid-column: 1 / -1; }
.bascule label { position: relative; display: block; cursor: pointer; }
.bascule input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bascule span { display: flex; align-items: center; justify-content: center; min-height: 50px; border: 2px solid var(--ligne); border-radius: var(--sc-r-md); font-family: var(--sc-font-display); font-weight: 700; font-size: 1rem; color: var(--marine); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.bascule input:checked + span { background: var(--marine); border-color: var(--marine); color: #fff; }
.bascule input:focus-visible + span { outline: 3px solid var(--bleu-pro); outline-offset: 2px; }
.form--devis[data-profil="part"] .travaux__menu--pro, .form--devis[data-profil="pro"] .travaux__menu--part { display: none; }
.form--devis[data-profil="part"] .pro-seul { display: none; }
.form--devis .erreur { display: none; color: #B42318; font-weight: 600; font-size: .78rem; }
.form--devis .invalide .erreur, .form--devis .erreur.visible { display: block; }
.form--devis .invalide input { border-color: #B42318; background: #FEF3F2; }
.form__ok { display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: var(--sc-r-md); background: var(--orange-clair); color: var(--marine); }
.form__ok[hidden] { display: none; }
@media (max-width: 700px) { 
.form--devis .pro-seul { opacity: 1; }
}

/* v25 : champ piège anti-robots des formulaires, note sous les références */
.piege{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.refs__note{margin-top:.8rem;font-size:.9rem;color:var(--encre-douce,#4a5160)}
.refs article{border-style:solid}.refs article>span{background:#17305C;color:#FDE6CC;font-size:1.25rem}
/* v25 : articles écrits depuis l'espace de Dylan */
.prose figure{margin:1.6rem 0}.prose figure img{width:100%;height:auto;border-radius:12px}.prose figcaption{font-size:.9rem;color:var(--encre-douce,#4a5160);margin-top:.4rem}
.galerie figcaption .galerie__texte{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;opacity:.95}
.galerie figcaption .galerie__lieu{display:block;margin-top:.3rem;font-size:.8rem;opacity:.85}
/* v25 : avis Google (remplis par l'espace, mis à jour tout seuls) */
a.google{text-decoration:none}a.google:hover span{text-decoration:underline}
.avis--vide{grid-template-columns:1fr!important}
.avis__liens{display:flex;gap:1.2rem;flex-wrap:wrap;justify-content:flex-start!important}
.avis__liens a{color:var(--sc-accent-2,#2E5C9A);font-weight:600}
.avis footer .avis__auteur{display:flex;align-items:center;gap:.5rem}
.avis footer img{width:28px;height:28px;border-radius:50%}
.avis__source{font-size:.8rem;color:var(--encre-douce);margin-top:.8rem}
.avis__source svg{display:inline-block;vertical-align:-4px;margin-right:.35rem}
html { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
