/* ===== Swiss Pronet Sàrl – feuille de style ===== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d3202a;
  --red-dark: #b31a22;
  --ink: #1b1c1f;
  --text: #2b2d33;
  --muted: #5f636c;
  --line: #e4e5e8;
  --bg: #f4f4f5;
  --white: #fff;
  --wa: #0e8a43;
  --radius: 4px;
  --header-h: 80px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, address { margin: 0; font-style: normal; }
button { font: inherit; cursor: pointer; }

.container { width: min(1140px, 100% - 48px); margin-inline: auto; }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 34px; height: 34px; stroke-width: 1.3; }
.ico-xl { width: 36px; height: 36px; stroke-width: 1.3; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 300; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ----- Boutons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; font-weight: 600; font-size: 14px; letter-spacing: .01em; line-height: 1.2;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(211, 32, 42, .7); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: rgba(255, 255, 255, .7); border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 17px 32px; font-size: 15px; }

/* ----- Titres ----- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--red); }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.22; letter-spacing: -.01em; color: var(--ink); }

.section { padding: 72px 0; }
.section-more { margin-top: 26px; font-weight: 600; font-size: 14px; }
.section-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--red); }
.section-more a:hover { text-decoration: underline; }

/* ----- En-tête ----- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); height: var(--header-h); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 4px 24px -12px rgba(0, 0, 0, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 62px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 8px; }
.main-nav > a:not(.btn), .has-sub > a { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; padding: 6px 0; color: var(--ink); }
.main-nav > a:not(.btn)::after, .has-sub > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav > a:not(.btn):hover::after, .main-nav > a.active::after,
.has-sub > a:hover::after, .has-sub > a.active::after, .has-sub:focus-within > a::after { transform: scaleX(1); }
.ico-caret { width: 14px; height: 14px; stroke-width: 2; }

.has-sub { position: relative; }
.sub-nav {
  position: absolute; top: 100%; left: -18px; min-width: 310px; padding: 10px 0;
  background: #fff; border-top: 2px solid var(--red); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--ink); }
.sub-nav a .ico { color: var(--red); }
.sub-nav a:hover { background: var(--bg); }

.main-nav > .nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-menu { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }

/* ----- Hero (accueil) ----- */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #f2f2f3 0%, #ececed 100%); }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 58%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f2f2f3 0%, rgba(242, 242, 243, .85) 14%, rgba(242, 242, 243, 0) 48%); }
.hero-inner { position: relative; padding: 60px 0 64px; min-height: 540px; display: flex; align-items: center; }
.hero-copy { width: 100%; max-width: 640px; }
.hero h1 { font-size: clamp(30px, 4.1vw, 44px); line-height: 1.12; font-weight: 300; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); margin-bottom: 26px; }
.hero h1 strong { display: block; font-weight: 700; }
.hero .lead { font-size: 18px; line-height: 1.5; color: var(--text); margin-bottom: 30px; max-width: 520px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 14px 0; margin-bottom: 34px; }
.hero-tags li { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); padding: 0 16px; border-left: 1px solid var(--red); }
.hero-tags li:first-child { padding-left: 0; border-left: 0; }
.hero-tags .ico { width: 30px; height: 30px; stroke-width: 1.3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ----- En-tête de page intérieure ----- */
.page-header { background: var(--ink); color: #fff; padding: 44px 0 52px; position: relative; overflow: hidden; }
.page-header::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.page-header h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; max-width: 880px; }
.page-header .lead { margin-top: 16px; max-width: 760px; font-size: 18px; color: #cfd1d7; }
.breadcrumbs { margin-bottom: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; color: #a4a7b0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: #6d707a; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

/* ----- Présentation accueil ----- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.intro-text p + p, .prose-wide p + p { margin-top: 16px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 44px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stats li { padding: 22px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stats li:first-child { border-left: 0; }
.stats strong { font-size: 22px; font-weight: 700; color: var(--red); line-height: 1.2; }
.stats span { font-size: 13px; color: var(--muted); }

/* ----- Services (cartes photo) ----- */
.services { background: var(--bg); padding-bottom: 48px; }
.services h2 { margin-bottom: 34px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { background: #fff; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .4); }
.card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card-label { display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-size: 13px; font-weight: 600; text-transform: uppercase; line-height: 1.25; color: var(--ink); background: #fff; position: relative; z-index: 1; }
.card-label .arrow { margin-left: auto; transition: color .2s, transform .2s; }
.card:hover .arrow { color: var(--red); transform: translateX(4px); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; }
.pillars li { display: flex; align-items: center; gap: 16px; padding: 8px 22px; border-left: 1px solid var(--line); }
.pillars li:first-child { border-left: 0; padding-left: 4px; }
.pillars .ico { color: var(--ink); }
.pillars h3 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.pillars p { font-size: 12px; line-height: 1.45; color: var(--muted); }

/* ----- Tuiles de services ----- */
.prestations { background: var(--bg); }
.prestations h2 { margin-bottom: 36px; }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-tile { display: flex; flex-direction: column; background: #fff; padding: 30px 28px; border-top: 3px solid transparent; box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .4); transition: border-color .25s, transform .25s; }
.service-tile:hover { border-top-color: var(--red); transform: translateY(-3px); }
.service-tile > .ico { color: var(--red); margin-bottom: 16px; }
.service-tile h2, .service-tile h3 { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.service-tile p { font-size: 14.5px; color: var(--muted); }
.service-tile .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--red); }
.service-tile .more .ico { transition: transform .2s; }
.service-tile:hover .more .ico { transform: translateX(4px); }
.service-tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; }
.service-tile.wide > .ico { grid-row: span 3; margin: 0; }
.service-tile.wide .more { padding-top: 6px; }

/* ----- À propos (bandeau sombre) ----- */
.about { position: relative; background: var(--ink); color: #d9dade; overflow: hidden; }
.about-media { position: absolute; inset: 0 0 0 auto; width: 56%; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(27, 28, 31, .6) 30%, rgba(27, 28, 31, 0) 70%); }
.about-inner { position: relative; padding: 68px 0 76px; }
.about-intro { max-width: 500px; }
.about .eyebrow, .about h2 { color: #fff; }
.about h2 { margin-bottom: 20px; }
.about-intro p { font-size: 15px; margin-bottom: 26px; }

/* ----- Réalisations ----- */
.realisations { background: var(--bg); padding-bottom: 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.carousel-controls { display: flex; gap: 12px; }
.round-btn { width: 38px; height: 38px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 50%; color: var(--red); transition: background .2s, color .2s, border-color .2s; }
.round-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.round-btn:disabled { opacity: .35; pointer-events: none; }
.carousel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel::-webkit-scrollbar { display: none; }
.carousel figure { margin: 0; flex: 0 0 calc((100% - 30px) / 4); scroll-snap-align: start; overflow: hidden; }
.carousel img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .5s; }
.carousel figure:hover img { transform: scale(1.05); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.gallery figure { margin: 0; background: #fff; box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .4); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--ink); }
.gallery-note { margin-top: 32px; }
.gallery-note a { color: var(--red); font-weight: 600; }

/* ----- Contenu éditorial ----- */
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose a, .prose-wide a { color: var(--red); font-weight: 500; }
.prose a:hover, .prose-wide a:hover { text-decoration: underline; }
.prose-wide { max-width: 820px; }
.prose-wide h2 { font-size: 24px; margin: 38px 0 12px; }
.prose-wide h2:first-child { margin-top: 0; }
.zone-note { margin-top: 44px; }

.checklist { margin: 8px 0 18px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist li:last-child { border-bottom: 0; }
.checklist .ico { color: var(--red); margin-top: 3px; stroke-width: 2.2; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.quote-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg); border-top: 3px solid var(--red); padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.quote-card > .ico { color: var(--red); }
.quote-card h2 { font-size: 21px; }
.quote-card p { font-size: 14.5px; color: var(--muted); }
.quote-card .quote-note { font-size: 13px; }
.quote-card .phones a { color: var(--ink); }
.quote-card .phones a:hover { color: var(--red); }

.card-photo { align-self: stretch; margin: -30px -28px 6px; width: calc(100% + 56px); max-width: none; aspect-ratio: 5 / 3; object-fit: cover; }
.figure-banner { margin: 8px 0 34px; }
.figure-banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 60% 32%; border-radius: var(--radius); }
.steps-section { margin-top: 48px; padding: 32px; background: var(--bg); }
.steps-section h2 { font-size: 22px; margin-bottom: 22px; margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.steps h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.steps p { font-size: 13.5px; color: var(--muted); margin: 0; }
.steps-wrap .steps-section { margin-top: 0; }

.faq { margin-top: 48px; }
.faq h2 { font-size: 24px; margin: 0 0 18px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-caret { transition: transform .2s; color: var(--red); }
.faq details[open] .faq-caret { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 16px 20px; margin: 0; font-size: 15px; }

.related { margin-top: 48px; }
.related h2 { font-size: 24px; margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related .service-tile { background: var(--bg); box-shadow: none; padding: 22px 20px; }
.related .service-tile h3 { font-size: 15px; }
.related .service-tile p { font-size: 13.5px; }

.about-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.values-section { background: var(--bg); }
.values-section .stats { margin-top: 0; }

/* ----- Contact ----- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form-card, .contact-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 32px; }
.form-card h2, .contact-card h2 { font-size: 22px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label:not(.check) { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #c9cbd1; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 32, 42, .15); }
.field.has-error input:not([type="checkbox"]), .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { margin-top: 6px; font-size: 13px; color: var(--red-dark); font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }
.check a { color: var(--red); text-decoration: underline; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14.5px; }
.alert-error { background: #fdecec; border: 1px solid #f3b7b9; color: #7a1519; }

.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico { color: var(--red); margin-top: 3px; }
.contact-list strong { display: block; font-size: 13px; color: var(--ink); }
.contact-list a, .contact-list span { display: block; font-size: 15px; }
.contact-list a:hover { color: var(--red); text-decoration: underline; }
.contact-hours { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.contact-hours strong { display: block; font-size: 13px; color: var(--ink); }
.contact-hours p { font-size: 15px; }
.contact-promise { margin-top: 20px; padding: 18px 20px; background: var(--bg); }
.contact-promise p { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.contact-promise p + p { margin-top: 10px; }
.contact-promise .ico { color: var(--red); }

.thanks { text-align: left; }
.thanks-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e8f6ee; color: var(--wa); margin-bottom: 20px; }
.thanks .phones { margin: 16px 0 28px; }
.phones-dark a { color: var(--ink); }
.phones-dark a:hover { color: var(--red); }

.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal-date { margin-top: 40px; font-size: 13px; color: var(--muted); }
.legal .checklist li { font-size: 15px; }

/* ----- Bandeau contact / devis ----- */
.contact { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.contact-media { position: absolute; inset: 0 0 0 auto; width: 40%; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(27, 28, 31, .35) 60%, rgba(27, 28, 31, .2) 100%); }
.contact-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 0; }
.contact .eyebrow { color: #fff; }
.contact h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; margin-bottom: 12px; }
.contact-copy p:last-child { color: #d0d2d8; font-size: 17px; max-width: 540px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.phones { display: grid; gap: 8px; }
.phones a { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }
.phones a:hover { color: #ff6b73; }
.phones .ico { color: var(--red); width: 20px; height: 20px; stroke-width: 2; }

/* ----- Pied de page ----- */
.site-footer { background: #121316; color: #a4a7b0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 36px; }
.footer-brand { font-weight: 800; letter-spacing: .04em; color: #fff; font-size: 20px; }
.footer-brand span { font-weight: 500; font-size: 13px; letter-spacing: .12em; color: #ff5a63; margin-left: 4px; }
.footer-tag { color: #fff; font-weight: 600; margin: 6px 0 14px; }
.footer-title { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 16px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .ico { color: #ff5a63; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; }

/* ----- Contact rapide (WhatsApp) ----- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px;
  background: var(--wa); color: #fff; border-radius: 50%;
  box-shadow: 0 10px 24px -8px rgba(14, 138, 67, .7); transition: transform .2s, background .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); background: #0b7538; }
.wa-float .ico { width: 30px; height: 30px; }

/* Retour en haut de page */
.to-top {
  position: fixed; right: 20px; bottom: 92px; z-index: 89;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--ink); color: #fff; border: 0; border-radius: 50%;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top .ico { width: 22px; height: 22px; stroke-width: 2; }
.mobile-bar { display: none; }

/* ----- Apparition au défilement ----- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .header-cta { display: none; }
  .main-nav > .nav-cta-mobile { display: inline-flex; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .pillars li:nth-child(3) { border-left: 0; padding-left: 4px; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .carousel figure { flex-basis: calc((100% - 20px) / 3); }
  .service-layout, .about-page { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .container { width: min(1140px, 100% - 36px); }
  .brand img { height: 52px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; padding: 8px 18px 22px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .4);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  .main-nav > a:not(.btn), .has-sub > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; width: 100%; }
  .main-nav > a:not(.btn)::after, .has-sub > a::after { display: none; }
  .main-nav a.active { color: var(--red); }
  .has-sub > a .ico-caret { display: none; }
  .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 6px 14px; }
  .sub-nav a { padding: 10px 0; font-size: 14px; color: var(--muted); border-bottom: 1px dashed var(--line); }
  .nav-cta-mobile { margin-top: 18px; padding: 14px 18px; }

  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; width: 100%; height: 240px; inset: auto; }
  .hero-media::after { background: linear-gradient(180deg, rgba(242, 242, 243, 0) 55%, #f2f2f3 100%); }
  .hero-inner { min-height: 0; padding: 12px 0 48px; }

  .section { padding: 56px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about { display: flex; flex-direction: column; }
  .about-media { position: relative; width: 100%; height: 220px; inset: auto; }
  .about-media::after { background: linear-gradient(180deg, rgba(27, 28, 31, 0) 45%, var(--ink) 100%); }
  .about-inner { padding: 0 0 56px; }

  .service-layout, .about-page, .contact-layout { grid-template-columns: 1fr; }
  .quote-card { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .contact-media { width: 100%; opacity: .35; }
  .contact-inner { flex-direction: column; align-items: flex-start; padding: 52px 0; }
  .footer-bottom { flex-direction: column; }

  /* Barre de contact fixe */
  body { padding-bottom: 64px; }
  .wa-float { display: none; }
  .to-top { bottom: 76px; right: 14px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(3, 1fr);
    background: #fff; box-shadow: 0 -6px 20px -8px rgba(0, 0, 0, .3); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-size: 14px; font-weight: 600; color: var(--ink); border-left: 1px solid var(--line); }
  .mobile-bar a:first-child { border-left: 0; }
  .mobile-bar .mb-wa { background: var(--wa); color: #fff; }
  .mobile-bar .mb-quote { background: var(--red); color: #fff; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .page-header { padding: 32px 0 38px; }
  .page-header .lead, .hero .lead { font-size: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; gap: 12px; }
  .eyebrow::after { flex: 0 0 36px; width: 36px; }
  .hero-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .hero-tags li, .hero-tags li:first-child { padding: 0; border: 0; }
  .hero-tags .ico { width: 26px; height: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li:nth-child(3) { border-left: 0; padding-left: 4px; }
  .grid-services { grid-template-columns: 1fr; }
  .service-tile.wide { grid-template-columns: 1fr; }
  .service-tile.wide > .ico { grid-row: auto; margin-bottom: 16px; }
  .carousel figure { flex-basis: 78%; }
  .carousel-controls { display: none; }
  .steps-section { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .contact-card { padding: 24px 20px; }
  .stats li { padding: 16px 14px; }
  .stats strong { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
