/* Guerini Renov — reproduction du site Wix (relevé 2026-10-07, viewport 1440)
 * Titres : Futura Bold (police uploadée sur Wix par le client, auto-hébergée)
 * Texte : Futura Book sur Wix (licence Wix) → Jost, équivalent géométrique libre
 * Crédit footer : Josefin Sans Light (uploadée, auto-hébergée)
 */
@font-face {
  font-family: 'Futura Bold';
  src: url('fonts/futura-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Josefin Sans Light';
  src: url('fonts/josefin-sans-light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

:root {
  --blue: #1406FE;
  --black: #000;
  --white: #fff;
  --grey-text: #757575;
  --grey-line: #E8E6E6;
  --grey-input: #C7C7C7;
  --topbar: #F3F2F2;
  --off-white: #FAFAFA;
  --font-title: 'Futura Bold', 'Jost', 'Century Gothic', sans-serif;
  --font-body: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --wrap: 980px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 14px/1.4 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h6, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.sr-only {
  position: absolute; left: -9999px; top: 0;
}
.sr-only:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 230px; height: 40px; padding: 0 16px;
  font: 400 12px/1 var(--font-title);
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--white);
  transition: background-color .2s, color .2s;
}
.btn--ghost { color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--blue); }
.btn--white { color: var(--black); background: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); }

/* ---------- Header ---------- */
.topbar { background: var(--topbar); }
.topbar__inner {
  height: 67px; display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding-right: 32px;
}
.topbar__phone { font-size: 12px; margin-right: 10px; }
.topbar__phone strong { font: 400 12px var(--font-title); }
.social img { width: 22px; height: 22px; }

.masthead {
  height: 102px; display: flex; align-items: center; justify-content: space-between;
}
.brand img { width: 280px; height: auto; }

.tiles { display: flex; height: 100%; }
.tiles li { border-left: 1px solid var(--grey-line); }
.tiles li:last-child { border-right: 1px solid var(--grey-line); }
.tile {
  width: 126px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--grey-text); font-size: 13px; text-transform: uppercase;
  transition: color .2s;
}
.tile svg { width: 32px; height: 32px; }
.tile:hover { color: var(--blue); }

.burger { display: none; }

.nav { background: var(--blue); }
.nav__list {
  height: 50px; display: flex; align-items: center; justify-content: center;
}
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__item > a {
  display: block; padding: 0 14px; line-height: 50px;
  color: var(--white); font: 400 12px/50px var(--font-title); text-transform: uppercase;
  transition: color .4s;
}
/* Survol (relevé sur le Wix) : titre lavande, sous-menu bleu qui déborde de
 * 10 px de chaque côté du titre et chevauche la barre de 4 px. */
.nav__item > a:hover, .has-sub:hover > a { color: #B0ACFF; }
.nav__item--mobile { display: none; }
.nav__sub {
  position: absolute; top: calc(100% - 4px); left: -6px; right: -6px; z-index: 20;
  background: var(--blue);
  visibility: hidden;
}
.nav__sub a {
  display: block; padding: 0 6px; white-space: nowrap; text-align: center;
  font: 400 12px/27px var(--font-title); color: var(--white); transition: color .4s;
}
.nav__sub a:hover { color: #B0ACFF; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { visibility: visible; }

/* ---------- Hero (diaporama) ---------- */
.hero { position: relative; height: 649px; overflow: hidden; background: #ddd; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 40px; height: 48px; padding: 12px; border: 0; background: none; color: var(--white);
}
.hero__arrow svg { width: 100%; height: 100%; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .4)); }
.hero__arrow--prev { left: 96px; }
.hero__arrow--next { right: 96px; }
.hero__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 208px; text-align: center;
}
.hero__brand { font: 400 40px/1.1 var(--font-title); color: var(--black); }
.hero__brand span { color: var(--blue); }
.hero h1 {
  margin-top: 12px; font: 400 20px/1.1 var(--font-title); color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.hero__ctas { display: flex; gap: 20px; margin-top: 30px; }

/* ---------- Pastilles ---------- */
.badges {
  position: relative; z-index: 3;
  display: flex; justify-content: center; gap: 33px;
  margin-top: -127px;
}
.badges img { width: 217px; height: 217px; object-fit: contain; }

/* ---------- Prestations ---------- */
.prestations { padding: 81px 0 26px; }
.section-title {
  max-width: 560px; margin: 0 auto;
  font: 400 28px/1.18 var(--font-title); color: var(--blue);
  text-align: center; text-transform: uppercase;
}
.section-sub { margin-top: 8px; text-align: center; font: 400 18px/1.3 var(--font-body); }

.presta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px;
  max-width: 1342px; margin: 76px auto 0; padding: 0 16px;
}
.presta { position: relative; display: block; aspect-ratio: 290 / 424; overflow: hidden; }
.presta img { width: 100%; height: 100%; object-fit: cover; }
/* Survol (relevé sur le Wix) : voile bleu nuit sur la bande centrale, le
 * rectangle blanc glisse vers le centre (+58 px en haut, -53 px en bas),
 * le sous-titre et le bouton flèche apparaissent — 0,4 s. */
.presta::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 22px; right: 22px; z-index: 1;
  background: rgba(7, 2, 85, .32); opacity: 0; transition: opacity .4s ease-in-out;
}
.presta__label {
  position: absolute; top: 0; left: 22px; right: 22px; z-index: 2;
  min-height: 90px; padding: 22px 64px 18px 22px;
  background: var(--off-white);
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .4s ease-in;
}
.presta--bottom .presta__label { top: auto; bottom: 0; }
.presta__label h2 { font: 400 20px/1.3 var(--font-title); text-transform: uppercase; }
.presta__sub {
  display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 14px;
  transition: max-height .4s ease-in-out, margin .4s ease-in-out, opacity .4s ease-in-out;
}
.presta__arrow {
  position: absolute; top: 50%; right: 16px; width: 44px; height: 56px; margin-top: -28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white);
  opacity: 0; transition: opacity .4s ease-in-out;
}
.presta__arrow svg { width: 20px; height: 20px; }
.presta:hover::before, .presta:focus-visible::before,
.presta:hover .presta__arrow, .presta:focus-visible .presta__arrow { opacity: 1; }
.presta:hover .presta__label, .presta:focus-visible .presta__label { transform: translateY(58px); }
.presta--bottom:hover .presta__label, .presta--bottom:focus-visible .presta__label { transform: translateY(-53px); }
.presta:hover .presta__sub, .presta:focus-visible .presta__sub { max-height: 40px; margin-top: 6px; opacity: 1; }
@media (hover: none) {
  .presta:hover::before { opacity: 0; }
  .presta:hover .presta__label { transform: none; }
}

/* ---------- Qui sommes-nous ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 453px; margin-top: 26px; }
.about__media { display: flex; align-items: center; justify-content: flex-end; padding: 20px 85px 20px 90px; }
.about__media img { width: 545px; border-left: 1px solid #555; }
.about__text {
  position: relative; overflow: hidden;
  padding: 60px 52px 60px;
  background: var(--blue); color: var(--white);
}
.about__text::before {
  content: ''; position: absolute; inset: 0;
  background: url('img/fond-vagues.webp') center / cover no-repeat;
  mix-blend-mode: screen; opacity: .22;
}
.about__text > * { position: relative; max-width: 400px; }
.about__title { font: 400 28px/1.1 var(--font-title); text-transform: uppercase; }
.about__sub { margin-top: 6px; font: 400 18px/1.35 var(--font-body); }
.about__text p:not(.about__title) { margin-top: 24px; font-size: 14px; line-height: 1.7; }
.about__text .btn { margin-top: 34px; }

/* ---------- Demande de devis ---------- */
.devis {
  position: relative; overflow: hidden;
  padding: 77px 16px 73px; background: var(--off-white);
}
.devis::before, .devis::after {
  content: ''; position: absolute; width: 1700px; height: 1363px; pointer-events: none;
  background: url('img/fond-vagues-bleues.webp') center / contain no-repeat; opacity: .22;
}
.devis::before { left: -1000px; bottom: -560px; transform: scaleX(-1) rotate(-12deg); }
.devis::after { right: -900px; top: -520px; }
.devis__card {
  position: relative; z-index: 1;
  max-width: 740px; margin: 0 auto; padding: 30px 57px 40px;
  background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
}
.devis__logo { width: 308px; margin: 0 auto 14px; }
.devis .section-title { margin-bottom: 44px; }

form[data-lead] input:not([type="checkbox"]):not([type="radio"]), form[data-lead] textarea {
  display: block; width: 100%; height: 50px; margin-bottom: 25px; padding: 0 12px;
  font: 400 14px var(--font-body); color: var(--black);
  background: var(--white); border: 1px solid var(--grey-input); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
form[data-lead] textarea { height: 126px; padding: 12px; resize: vertical; }
form[data-lead] input::placeholder, form[data-lead] textarea::placeholder { color: var(--black); opacity: 1; }
form[data-lead] input:focus, form[data-lead] textarea:focus { outline: none; border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }

.checks { margin: 16px -60px 22px 0; padding: 0; border: 0; }
.checks legend { padding: 0; margin-bottom: 10px; font-size: 14px; }
.checks label {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 12px 6px 0; font-size: 14px; white-space: nowrap; cursor: pointer;
}
.checks input {
  width: 13px; height: 13px; margin: 0;
  -webkit-appearance: none; appearance: none; border: 1px solid #999; background: var(--white);
}
.checks input:checked { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 2px var(--white); }

.btn--submit {
  width: 100%; height: 50px; margin-top: 18px;
  font-size: 14px; letter-spacing: 0;
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.btn--submit:hover { background: var(--black); border-color: var(--black); }
.btn--submit:disabled { opacity: .6; cursor: wait; }
.form-msg { display: none; margin-top: 16px; padding: 12px 14px; font-size: 14px; background: #EEF0FF; color: var(--blue); }
.form-msg.is-error { background: #FDECEC; color: #B00020; }

/* ---------- Footer ---------- */
.footer { background: var(--blue); color: var(--white); }
.footer__inner {
  display: grid; grid-template-columns: 255px 250px 257px 1fr;
  padding: 47px 14px 50px;
}
.footer__links { padding-top: 8px; }
.footer__links--offset { padding-top: 0; }
.footer__links a { font: 400 12px/26px var(--font-title); text-transform: uppercase; }
.footer__links a:hover { opacity: .75; }
.footer__contact { font-size: 14px; line-height: 1.35; }
.footer__contact p + p { margin-top: 18px; }
.footer__social { display: flex; gap: 14px; }
.footer__social img { width: 22px; height: 22px; }
.footer__qr {
  justify-self: start; align-self: start;
  width: 179px; padding: 12px; margin-top: -2px; background: var(--white);
}
.footer__qr img { width: 155px; height: 155px; }

.credits {
  height: 72px; background: var(--black);
  display: flex; align-items: center; justify-content: center; gap: 28px;
  font: 300 11px/13.2px 'Josefin Sans Light', 'Josefin Sans', sans-serif;
  letter-spacing: .1em; text-transform: uppercase; color: #ddd;
}
.credits__dev { text-align: right; }
.credits img { width: 65px; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .presta-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; }
  .about__media { padding: 20px 32px; justify-content: center; }
  .about__text { padding: 48px 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px; }
}

@media (max-width: 900px) {
  .topbar__inner { justify-content: center; padding: 0 16px; height: 44px; }
  .masthead { height: 80px; padding: 0 16px; }
  .brand img { width: 200px; }
  .tiles { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border: 0; background: none;
  }
  .burger span { display: block; height: 2px; background: var(--blue); }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__list { height: auto; flex-direction: column; align-items: stretch; padding: 8px 0; }
  .nav__item { height: auto; flex-direction: column; align-items: stretch; }
  .nav__item > a { line-height: 44px; padding: 0 24px; }
  .nav__item--mobile { display: flex; }
  .nav__sub { display: none; }

  .hero { height: 480px; }
  .hero__content { padding: 140px 16px 0; }
  .hero__brand { font-size: 32px; }
  .hero h1 { font-size: 18px; }
  .hero__ctas { flex-direction: column; gap: 12px; }
  .hero__arrow--prev { left: 4px; }
  .hero__arrow--next { right: 4px; }

  .badges { flex-wrap: wrap; gap: 12px; margin-top: -60px; padding: 0 16px; }
  .badges li { width: calc(50% - 6px); max-width: 160px; }
  .badges img { width: 100%; height: auto; }

  .prestations { padding-top: 32px; }
  .section-title { font-size: 24px; padding: 0 16px; }

  .about { grid-template-columns: 1fr; }
  .about__media img { width: 100%; max-width: 545px; }
  .about__text { padding: 40px 16px; }

  .devis { padding: 40px 16px; }
  .devis__card { padding: 28px 16px 32px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .checks { margin-right: 0; }
  .checks label { white-space: normal; }
}

@media (max-width: 560px) {
  .presta-grid { grid-template-columns: 1fr; max-width: 360px; }
  .footer__inner { grid-template-columns: 1fr; }
  .credits { flex-wrap: wrap; gap: 8px 16px; height: auto; padding: 14px 16px; }
  .credits__dev { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .presta::before, .presta__label, .presta__arrow, .presta__sub { transition: none; }
}

/* =====================================================================
 * Pages internes (contenu converti depuis le Wix — content/pages/*.html)
 * ===================================================================== */
.nav__item.is-active > a { text-decoration: underline; text-underline-offset: 6px; }
.c-blue { color: var(--blue); }
.c-white { color: var(--white); }

/* Bandeau titre : panneau gris + photo */
.phero { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--grey-line); }
.phero__text { padding-left: max(16px, calc(50vw - 490px)); padding-right: 24px; }
.phero__img { position: relative; }
.phero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero .tx.s-40 { line-height: 1.2; }

/* Bandes alternées */
.band { position: relative; }
.band--grey { background: var(--grey-line); }
.band--white { background: var(--white); }
.band--waves::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('img/fond-vagues-bleues.webp') center / cover no-repeat; opacity: .15;
}
.band > .wrap { position: relative; z-index: 1; }

/* Lignes / colonnes reconstruites depuis la mise en page Wix */
.r { display: flex; align-items: flex-start; }
.r--full { display: block; }
.c { flex: none; min-width: 0; }

/* Textes */
.tx { font-size: 14px; line-height: 1.7; }
.tx :is(p, h1, h2, h3, h4, h5, h6, ul, ol) { margin: 0; font: inherit; }
.tx :is(p, ul, ol, h3) + :is(p, ul, ol, h3) { margin-top: 1.7em; }
.tx ul, .tx ol { padding-left: 1.4em; }
.tx ul { list-style: disc; }
.tx li + li { margin-top: 0; }
.tx a { text-decoration: underline; }
.tx strong { font-weight: 500; }
.f-t { font-family: var(--font-title); }
.f-b { font-family: var(--font-body); }
.f-t strong { font-weight: inherit; }
.s-40 { font-size: 40px; line-height: 1.2; }
.s-36 { font-size: 36px; line-height: 1.3; }
.s-28 { font-size: 28px; line-height: 1.28; }
.s-22 { font-size: 22px; line-height: 1.25; }
.s-20 { font-size: 20px; line-height: 1.35; }
.s-16 { font-size: 16px; line-height: 1.45; }
.s-14 { font-size: 14px; line-height: 1.7; }
.f-t :is(p, h1, h2, h3) + :is(p, h1, h2, h3) { margin-top: 0; }
.uline { position: relative; padding-bottom: 26px; }
.uline::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: var(--lw, 370px); max-width: 100%; height: 2px; background: var(--blue);
}

/* Boutons de téléchargement (fiches PDF) */
.dl {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 40px; padding: 0 12px;
  background: var(--blue); color: var(--white);
  font: 400 12px/1 var(--font-title); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s;
}
.dl:hover { background: var(--black); }
.dl svg { width: 12px; height: 12px; flex: none; }
.dl--sm { height: 25px; font-size: 10px; }

/* Encart bleu « Contactez-nous pour un devis gratuit » */
.cta {
  display: flex; align-items: center; gap: 0 8px; height: 84px; white-space: nowrap;
  background: var(--blue); color: var(--white);
  font: 400 12px/1.4 var(--font-title); letter-spacing: .1em;
  transition: background-color .2s;
}
.cta:hover { background: var(--black); }
.cta--right { margin-right: calc(490px - 50vw); padding-left: 46px; }
.cta--left { margin-left: calc(490px - 50vw); padding-left: calc(50vw - 490px); }

/* Images simples */
.im img { width: 100%; height: 100%; object-fit: cover; }

/* Diaporama (image principale + vignettes) */
.ss__main { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: #ddd; }
.ss__img, .pc__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
}
.ss__img.is-active, .pc__img.is-active { opacity: 1; }
.ss__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 34px; height: 46px; padding: 10px; border: 0; background: none; color: var(--white);
}
.ss__arrow svg { width: 100%; height: 100%; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5)); }
.ss__arrow--prev { left: 6px; }
.ss__arrow--next { right: 6px; }
.ss__thumbs { display: flex; gap: 9px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.ss__thumbs::-webkit-scrollbar { display: none; }
.ss__thumb { flex: none; width: 100px; height: 100px; padding: 0; border: 0; background: none; opacity: .6; transition: opacity .2s; }
.ss__thumb.is-active, .ss__thumb:hover { opacity: 1; }
.ss__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Cartes produits (page Stores) */
.pgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 66px 44px;
  width: calc(100vw - 54px); max-width: 1386px;
  position: relative; left: 50%; transform: translateX(-50%);
}
.pc { position: relative; aspect-ratio: 314 / 322; overflow: hidden; background: #eee; }
.pc__label {
  position: absolute; z-index: 1; width: max-content; min-width: 58%; max-width: 86%; padding: 18px 22px; background: var(--white);
  font: 400 20px/1.3 var(--font-title);
}
.pc__label :is(h2, p) { margin: 0; font: inherit; }
.pc__label--top { top: 0; }
.pc .ss__arrow { opacity: 0; transition: opacity .2s; }
.pc:hover .ss__arrow, .pc:focus-within .ss__arrow { opacity: 1; }
.pc__label--bottom { bottom: 0; }

/* Pastilles rondes (Modèles, Matières, Types…) */
.circle-pos { position: absolute; z-index: 4; }
.circle {
  width: 240px; height: 240px; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 14px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.circle h2 { margin: 0 0 10px; font: 400 20px/1.2 var(--font-title); letter-spacing: 2px; color: var(--blue); }
.circle ul { margin: 0; padding-left: 1.2em; text-align: left; list-style: disc; font: 400 14px/1.7 var(--font-body); }

/* Blog */
.blog { padding: 60px 16px 80px; }
.blog__inner { max-width: 940px; margin: 0 auto; }
.blog__crumb { font-size: 12px; margin-bottom: 40px; }
.blog__crumb a:hover { color: var(--blue); }
.blog__title { margin: 0 0 40px 20px; font: 400 36px/1.3 var(--font-title); }
.pcard-blog { display: grid; grid-template-columns: 454px 1fr; min-height: 341px; margin-bottom: 32px; border: 1px solid #ececec; background: var(--white); }
.pcard-blog__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-blog__body { padding: 32px 40px; display: flex; flex-direction: column; }
.pcard-blog__title { margin: 18px 0 14px; font: 400 26px/1.3 var(--font-title); }
.pcard-blog__title a:hover { color: var(--blue); }
.pcard-blog__excerpt { margin: 0; font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #444; }
.post-meta__avatar { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e3e3e3; background: #fff url('img/favicon.webp') center / 70% no-repeat; margin-right: 6px; }

.post { max-width: 940px; margin: 0 auto; padding: 40px 16px 80px; }
.post__card { padding: 60px 100px; border: 1px solid #ececec; }
.post__title { margin: 24px 0 26px; font: 400 40px/1.3 var(--font-title); }
.post__body { font-size: 17px; line-height: 1.6; }
.post__body p { margin: 0 0 4px; }
.post__body h2 { margin: 26px 0 8px; font: 400 28px/1.3 var(--font-title); }
.post__body h3 { margin: 22px 0 4px; font: 400 21px/1.35 var(--font-body); }
.post__body ul, .post__body ol { margin: 8px 0; padding-left: 1.4em; }
.post__body figure { margin: 26px 0; }
.post__body figure img { width: 100%; height: auto; }
.post__body a { text-decoration: underline; }
.post__body strong { font-weight: 600; }
.recent { margin-top: 48px; }
.recent__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.recent__head h2 { margin: 0; font: 400 22px var(--font-title); }
.recent__head a { font-size: 14px; }
.recent__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.recent__card { border: 1px solid #ececec; }
.recent__card img { width: 100%; aspect-ratio: 292 / 164; object-fit: cover; }
.recent__card span { display: block; padding: 18px 20px 26px; font: 400 18px/1.35 var(--font-title); }
.recent__card:hover span { color: var(--blue); }

@media (max-width: 1000px) {
  .phero { grid-template-columns: 1fr; min-height: 0 !important; }
  .phero__text { padding: 40px 16px 32px; }
  .phero__inner { padding-top: 0 !important; }
  .phero__img { aspect-ratio: 16 / 10; }
  .phero__img img { position: static; }
  .circle-pos { position: static; display: inline-block; margin: 16px 8px 0; }
  .phero .circle-pos { margin: 20px 8px; }
  .band { padding: 40px 0 !important; height: auto !important; }
  .band > .wrap { padding: 0 16px; }
  .band > .circle-pos { display: flex; justify-content: center; }
  .r { flex-direction: column; margin-top: 28px !important; }
  .r:first-child { margin-top: 0 !important; }
  .c { width: 100% !important; margin-left: 0 !important; }
  .c + .c { margin-top: 24px; }
  .st { margin-top: 16px !important; }
  .cta, .cta--left, .cta--right { margin: 0 -16px; padding: 12px 16px; height: auto; min-height: 72px; justify-content: center; text-align: center; flex-wrap: wrap; white-space: normal; }
  .dl { max-width: none !important; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%; left: 0; transform: none; }
  .tx[style*="text-align:justify"] { text-align: left !important; }
  .s-40 { font-size: 32px; }
  .pcard-blog { grid-template-columns: 1fr; }
  .pcard-blog__img { aspect-ratio: 4 / 3; }
  .pcard-blog__body { padding: 20px; }
  .post__card { padding: 28px 18px; }
  .post__title { font-size: 30px; }
  .recent__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; }
  .s-28 { font-size: 24px; }
}

/* Formulaires génériques (contact, dépannage) */
form[data-lead] select {
  display: block; width: 100%; height: 50px; margin: 6px 0 0; padding: 0 12px;
  font: 400 14px var(--font-body); color: var(--black); background: var(--white);
  border: 1px solid var(--grey-input); border-radius: 0;
}
.lead { padding: 24px 16px 80px !important; }
.contact-map + .lead { padding-top: 60px !important; }
.lead__card {
  position: relative; z-index: 1; max-width: 740px; margin: 0 auto; padding: 46px 57px 40px;
  background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
}
.lead__card .section-title, .contact-map + .devis .section-title { margin-bottom: 34px; }
.field-row--top { align-items: start; }
.field-row--top .checks { margin: 0 0 18px; }
.checks input[type="radio"] { border-radius: 50%; }

/* Popup de remerciement */
.merci { padding: 0; border: 0; background: transparent; max-width: 92vw; }
.merci::backdrop { background: rgba(255, 255, 255, .7); }
.merci__card {
  position: relative; width: 520px; max-width: 100%; padding: 34px 40px 36px; text-align: center;
  background: var(--white); border: 30px solid var(--blue); font-size: 15px;
}
.merci__card p { margin: 0 0 18px; }
.merci__logo { width: 150px; margin: 0 auto 4px; }
.merci__title { font: 400 18px/1.25 var(--font-title); margin-bottom: 26px !important; }
.merci__social { display: flex; justify-content: center; gap: 8px; }
.merci__social img { width: 34px; height: 34px; }
.merci__qr { width: 140px; margin: 0 auto 26px; }
.merci__back { padding: 12px 34px; border: 0; background: var(--black); color: var(--white); font: 400 14px var(--font-body); }
.merci__close { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 30px; line-height: 1; }

/* Contact */
.contact-hero { background: var(--grey-line); }
.contact-hero__inner { max-width: 724px; margin: 0 auto; padding: 75px 16px 60px 0; transform: translateX(10px); }
.contact-hero h1 { margin-top: 13px; max-width: 560px; }
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); height: 416px; }
.ctile { position: relative; overflow: hidden; }
.ctile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctile::after { content: ''; position: absolute; inset: 0; }
.ctile--dark::after { background: rgba(0, 0, 0, .45); }
.ctile--blue::after { background: rgba(20, 6, 254, .72); }
.ctile--light::after { background: rgba(255, 255, 255, .62); }
.ctile__body {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  font: 400 20px/1.3 var(--font-title); color: var(--white); text-align: center;
}
.ctile__body a { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ctile__body svg { width: 32px; height: 32px; }
.ctile__body a:hover span { text-decoration: underline; }
.ctile__body--addr { color: var(--blue); gap: 12px; }
.ctile__qr { width: 226px; height: auto; }
.contact-map iframe { display: block; width: 100%; height: 350px; border: 0; filter: grayscale(1); }

/* Mentions légales */
.legal { padding: 30px 16px 60px; }
.legal__inner { max-width: 663px; margin: 0 auto; font-size: 14px; line-height: 1.45; }
.legal__title { margin: 0 0 20px; text-align: center; font: 700 28px/1.4 var(--font-body); color: var(--blue); }
.legal h3 { margin: 22px 0 14px; font: 500 15px var(--font-body); color: var(--blue); }
.legal h3 a, .legal p a { text-decoration: underline; }
.legal p { margin: 0; }

/* Réalisations : galerie défilante centrée */
.realisations { padding: 40px 0 80px; }
.rs { position: relative; height: 575px; overflow: hidden; }
.rs__track { display: flex; align-items: center; gap: 40px; height: 100%; transition: transform .5s ease; will-change: transform; }
.rs__item { flex: none; height: 100%; opacity: .45; transition: opacity .3s; }
.rs__item.is-active { opacity: 1; }
.rs__item img { height: 100%; width: auto; max-width: none; }
.rs .ss__arrow--prev { left: calc(50% - 400px); }
.rs .ss__arrow--next { right: calc(50% - 400px); }
.rs__thumbs { margin-top: 12px; }
.rs__thumbs .ss__thumb { width: 96px; height: 96px; }

@media (max-width: 1000px) {
  .contact-tiles { grid-template-columns: 1fr; height: auto; }
  .ctile { min-height: 260px; }
  .contact-hero__inner { padding: 40px 16px; transform: none; }
  .lead__card { padding: 28px 16px 32px; }
  .rs { height: 320px; }
  .rs .ss__arrow--prev { left: 4px; }
  .rs .ss__arrow--next { right: 4px; }
  .merci__card { border-width: 14px; padding: 24px 18px; }
}
.blog__crumb a { color: var(--blue); }
.pcard-blog__title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.recent__head h2 { font: 400 16px var(--font-body); }
.recent__card span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 18px 20px 26px; padding: 0; }
@media (max-width: 1000px) {
  .phero { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 12px; padding-bottom: 24px; }
  .phero__text, .phero__img { flex: 0 0 100%; }
  .phero .circle-pos, .band > .circle-pos { margin: 20px 0 0; }
  .circle { width: 170px; height: 170px; }
  .circle h2 { font-size: 16px; margin-bottom: 6px; }
  .circle ul { font-size: 12px; line-height: 1.5; }
}
.notfound { max-width: 620px; margin: 0 auto; padding: 90px 16px 110px; text-align: center; }
.notfound h1 { margin: 12px 0 18px; }
.notfound p { margin: 0 0 30px; }
.notfound .btn--submit { width: auto; display: inline-flex; padding: 0 40px; }
.anchor-row { scroll-margin-top: 50px; }
