/* IME – Iberian Multibranche Energy, SLU · feuille de style du site */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }

:root {
  --navy: #0b1f33;
  --navy-2: #14304d;
  --navy-3: #1d3f63;
  --ink: #13212f;
  --muted: #536373;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --orange: #f28c28;
  --orange-soft: #fff1e3;
  --orange-text: #b4530a;
  --on-navy: #c9d6e3;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(11, 31, 51, 0.28);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); }
a:hover { color: var(--orange-text); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
figure { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Icons */
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 15.5px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn .ico { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #ff9c3d; color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(11, 31, 51, 0.25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--orange); display: grid; place-items: center; }
.brand-mark svg { width: 24px; height: 24px; fill: currentColor; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 21px; font-weight: 800; letter-spacing: 0.02em; }
.brand-text span { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.main-nav ul { list-style: none; display: flex; gap: 22px; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--navy); border-bottom-color: var(--line); }
.main-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--orange); }
.lang-switch { display: flex; gap: 2px; background: var(--bg-soft); border-radius: 9px; padding: 3px; }
.lang-switch a { font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); text-decoration: none; padding: 5px 8px; border-radius: 7px; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: #fff; }
.header-cta { padding: 10px 16px; font-size: 14.5px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--navy); cursor: pointer; }
.menu-toggle .ico { width: 28px; height: 28px; }
.menu-toggle .ico-close { display: none; }

@media (min-width: 1200px) { .main-nav .nav-index { display: none; } }
@media (max-width: 1199px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(11, 31, 51, 0.35); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange-text); }
  .site-header.nav-open .main-nav { display: block; }
  .site-header.nav-open .ico-menu { display: none; }
  .site-header.nav-open .ico-close { display: block; }
}
@media (max-width: 680px) {
  .header-cta { display: none; }
  .brand-text span { display: none; }
  .header-inner { gap: 12px; }
  .lang-switch a { padding: 5px 6px; font-size: 12px; }
}

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 72px 0 112px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: #ffb46b; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 18px 0 20px; }
.hero .lead { font-size: 1.15rem; color: var(--on-navy); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; list-style: none; }
.hero-badges li { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; color: #dce6f0; }
.hero-media { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero-media::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; background: var(--orange); border-radius: 22px; }
.hero-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6); }
.photo-caption { position: absolute; left: -22px; bottom: 26px; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.35; max-width: 250px; }
.photo-caption strong { display: block; color: var(--navy); font-size: 15px; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 380px; }
  .photo-caption { left: 12px; }
}

/* Stats */
.stats { position: relative; margin-top: -64px; z-index: 2; }
.stats-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 1.65rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.15; }
.stat span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
@media (max-width: 900px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat { padding: 20px 18px; }
  .stat strong { font-size: 1.35rem; }
}

/* Sections */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2, .h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.kicker { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--orange-text); margin-bottom: 10px; }
@media (max-width: 680px) { .section { padding: 68px 0; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd9e3; color: inherit; }
.card-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--orange-soft); color: #c2570c; display: grid; place-items: center; }
.card-icon .ico { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin: 18px 0 8px; overflow-wrap: break-word; hyphens: auto; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--navy-3); }
.card .more .ico { width: 18px; height: 18px; transition: transform 0.2s; }
a.card:hover .more .ico { transform: translateX(3px); }
.section-foot { margin-top: 36px; }

/* Split (why) */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-weight: 600; color: var(--ink); }
.check-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--orange); display: grid; place-items: center; flex: none; }
.check-dot .ico { width: 18px; height: 18px; stroke-width: 2.6; }

/* Experience band */
.exp { background: var(--navy); color: #fff; }
.exp h2 { color: #fff; }
.exp .kicker { color: #ffb46b; }
.exp p { color: var(--on-navy); font-size: 1.075rem; max-width: 46em; }
.clients { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 32px 0 34px; }
.clients li { font-size: clamp(1.15rem, 2.3vw, 1.55rem); font-weight: 800; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.78); }

/* CTA band */
.cta-band { background: var(--orange); border-radius: 22px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; }
.cta-band p { margin: 0; color: var(--navy); font-size: 1.075rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 680px) { .cta-band { padding: 32px 24px; } }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.025em; margin: 14px 0 14px; }
.page-hero p { color: var(--on-navy); font-size: 1.125rem; max-width: 44em; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }

/* Services detail */
.group-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 28px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service { scroll-margin-top: 100px; }
.service .card-head { display: flex; gap: 16px; align-items: center; }
.service .card-head h3 { margin: 0; }
.service p.intro { margin: 16px 0 0; color: var(--muted); }
.bullets { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.bullets li { position: relative; padding-left: 22px; font-size: 15.5px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.note { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; padding: 18px 22px; color: var(--ink); }
.section-soft .note { background: #fff; }
.spacer { height: 64px; }
.grid-feature > :first-child { grid-row: span 2; }
@media (max-width: 680px) { .grid-feature > :first-child { grid-row: auto; } }
@media (max-width: 420px) {
  .card { padding: 22px; }
  .service .card-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Maintenance band (home) */
.maint-home { padding-bottom: 0; }
.maint-band { display: grid; grid-template-columns: 1.25fr 0.75fr; background: var(--navy); color: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.maint-body { padding: 56px 52px; }
.maint-body h2 { color: #fff; font-size: clamp(1.7rem, 3.1vw, 2.35rem); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0; }
.maint-body p { color: var(--on-navy); font-size: 1.075rem; max-width: 40em; }
.aud-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.aud-chips li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.05); border-radius: 999px; padding: 7px 14px 7px 11px; font-size: 14px; font-weight: 600; color: #e6edf4; }
.aud-chips .ico { width: 19px; height: 19px; color: #ffb46b; }
.maint-media { position: relative; }
.maint-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
@media (max-width: 900px) {
  .maint-band { grid-template-columns: 1fr; }
  .maint-media { order: -1; }
  .maint-media img { position: static; aspect-ratio: 16 / 10; height: auto; object-position: 40% 30%; }
  .maint-body { padding: 36px 28px 40px; }
}
@media (max-width: 480px) { .maint-body { padding: 30px 22px 34px; } .maint-body .hero-actions .btn { width: 100%; } }

/* Maintenance promo (services) */
.maint-promo { display: flex; align-items: center; gap: 20px 24px; flex-wrap: wrap; margin-top: 28px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 30px; }
.maint-promo .card-icon { background: rgba(242, 140, 40, 0.16); color: #ffb46b; flex: none; }
.maint-promo div { flex: 1 1 300px; }
.maint-promo h3 { color: #fff; font-size: 1.2rem; margin: 0 0 4px; }
.maint-promo p { color: var(--on-navy); margin: 0; }
@media (max-width: 480px) { .maint-promo { padding: 24px 22px; } }

/* Maintenance page */
.audience h3 { margin-top: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #ffb46b; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.steps h3 { font-size: 1.1rem; margin: 16px 0 6px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.split-media { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
.media-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .split-media { grid-template-columns: 1fr; }
  .media-photo { max-width: 460px; }
  .media-photo img { aspect-ratio: 4 / 3; object-position: 40% 30%; }
}

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery.g3 { grid-template-columns: repeat(3, 1fr); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--bg-soft); }
.shot figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .gallery.g3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* References table */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.refs { width: 100%; border-collapse: collapse; font-size: 15px; }
.refs th { text-align: left; background: var(--bg-soft); color: var(--navy); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.refs td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.refs tr:last-child td { border-bottom: 0; }
.refs td.year { white-space: nowrap; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.refs td.country { white-space: nowrap; }
.refs td.role { color: var(--muted); }
.refs tbody tr:hover td { background: #fbfcfd; }
.caption-note { margin-top: 16px; color: var(--muted); font-size: 14.5px; font-style: italic; }
@media (max-width: 760px) {
  .refs thead { display: none; }
  .refs, .refs tbody, .refs tr, .refs td { display: block; width: 100%; }
  .refs tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .refs tr:last-child { border-bottom: 0; }
  .refs td { padding: 3px 0; border: 0; white-space: normal !important; }
  .refs td::before { content: attr(data-label) " · "; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
  .refs td.year::before, .refs td.project::before { content: none; }
  .refs td.project { font-weight: 600; margin-bottom: 4px; }
}

/* About */
.about-company p { font-size: 1.08rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-list li { background: var(--orange-soft); color: #8a3f06; border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 600; }
.founder { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.founder h3 { font-size: 1.6rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em; }
.founder .role { color: var(--orange-text); font-weight: 700; margin-bottom: 20px; }
.facts { margin: 24px 0 0; display: grid; gap: 14px; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.facts dt { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 32px; } .founder-photo { max-width: 340px; } }
.licence { display: flex; gap: 16px; align-items: flex-start; }
.licence .card-icon { flex: none; }
.licence p { color: var(--ink); font-weight: 600; margin: 0; padding-top: 4px; }
.commit h3 { margin-top: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.contact-item .card-icon { width: 44px; height: 44px; flex: none; }
.contact-item .label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-item a, .contact-item .value { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.05rem; }
.contact-item a:hover { color: var(--orange-text); }
.contact-item .sub { display: inline-block; margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--navy-3); text-decoration: underline; }
.area { margin-top: 24px; }
.area h2 { font-size: 1.05rem; margin-bottom: 6px; }
.area p { color: var(--muted); margin: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field label .req { color: var(--orange-text); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input, .field select { height: 52px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(29, 63, 99, 0.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 4px 0 20px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.form-error { display: none; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; border-radius: 10px; padding: 10px 14px; font-size: 14.5px; margin-bottom: 16px; }
.form-error.show { display: block; }

/* Language picker (root) and 404 */
.lang-picker { min-height: 100vh; display: flex; align-items: center; }
.lang-picker h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.lang-picker ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lang-picker .btn-outline { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.lang-picker .btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.lang-picker .lang-others { margin-top: 24px; font-size: 15px; }
.lang-picker .lang-others a { color: #fff; }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; font-weight: 800; margin-top: 40px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin-bottom: 1em; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 72px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 0.8fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-text span { color: var(--on-navy); display: block; }
.site-footer .brand-mark { background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.site-footer h2 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------------------------------------------------------------- v3 : logo, infos.txt, zones */
[hidden] { display: none !important; }
.brand-logo { height: 52px; width: auto; flex: none; display: block; }
.site-footer .brand-logo { height: 60px; }
@media (max-width: 640px) { .brand-logo { height: 44px; } }
@media (max-width: 374px) { .site-header .brand-text { display: none; } }

.link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--navy-3); text-decoration: none; }
.link-more .ico { width: 18px; height: 18px; transition: transform 0.2s; }
.link-more:hover .ico { transform: translateX(3px); }

.zone { position: relative; scroll-margin-top: 100px; }
.zone h3 { margin-top: 0; padding-right: 50px; font-size: 1.3rem; }
.zone h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 20px 0 0; }
.zone .tag-list { margin-top: 10px; }
.zone-num { position: absolute; top: 24px; right: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.zone:target { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }

.zones-home { padding-bottom: 0; }
.zones-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 44px 48px; }
.zones-strip p { color: var(--muted); margin: 0; }
.city-list { margin-top: 0; }
.city-list li { padding: 0; }
.city-list a { display: block; padding: 7px 14px; color: inherit; text-decoration: none; border-radius: 999px; }
.city-list a:hover, .city-list a:focus-visible { background: #fbd7b0; }
@media (max-width: 900px) {
  .zones-strip { grid-template-columns: 1fr; gap: 22px; padding: 32px 24px; }
}

/* ---------------------------------------------------------------- v4 : Qui sommes-nous sans photo, zones 50 km */
.founder-text { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.founder-text .facts { margin-top: 0; }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.zone .tag-list { margin-top: 16px; }
.zones-sec { scroll-margin-top: 70px; }
.zones-maint { padding-top: 0; }
.zones-cities { padding-bottom: 0; }
.city-list-lg { margin-top: 0; gap: 10px; }
.city-list-lg li { font-size: 1.05rem; padding: 10px 20px; }
@media (max-width: 900px) { .founder-text { grid-template-columns: 1fr; } }

/* v5 (2026-11-07) : page Secteurs */
.service { scroll-margin-top: 100px; }
.card-foot { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.card-foot .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--orange-text); }
.zone-num .ico { width: 18px; height: 18px; }
