/* ==========================================================================
   Les forages GG inc. - feuille de style
   Thème foncé unique (inspiré de Forages S.L.), accent ambre, angles vifs.
   ========================================================================== */

:root {
  --bg: #12171d;
  --bg-2: #171d24;
  --surface: #1e252e;
  --line: #2c3541;
  --text: #eef1f4;
  --text-2: #bcc5ce;
  --muted: #8d99a6;
  --accent: #e6a23c;
  --accent-hi: #f2b85e;
  --accent-ink: #12171d;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.55rem; line-height: 1.1; }

p { margin: 0 0 1em; max-width: 62ch; }
strong { color: var(--text); font-weight: 600; }

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

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-2); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px;
  padding: .7rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-line { border-color: #4a5563; color: var(--text); }
.btn-line:hover { border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn i { font-size: 1.2rem; }

.link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: .4rem;
}
.link::after { content: "→"; transition: transform .2s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(18, 23, 29, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.logo-img { height: 50px; width: auto; flex: none; }
.site-footer .logo-img { height: 96px; }
.logo-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em;
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .01em; text-transform: none; color: var(--muted); margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--text-2);
  padding: .35rem 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav ul a:hover { color: var(--text); }
.nav ul a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.nav-tel { font-family: var(--font-mono); font-size: .95rem; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav-tel:hover { color: var(--accent); }
.nav .btn { min-height: 42px; padding: .45rem 1rem; font-size: 1rem; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1280px) { .nav-tel { display: none; } }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .nav-tel { display: block; padding: 1rem 0 .5rem; font-size: 1.1rem; }
  .nav .btn { min-height: 50px; margin-top: .5rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { font-size: 1.15rem; }

/* ---------- Hero (accueil et pages intérieures) ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(calc(100dvh - var(--header-h)), 760px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  align-self: center;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero-copy h1 { max-width: 11em; }
.hero-copy .lede { max-width: 30em; margin-bottom: 2.2rem; }
.hero-media { position: relative; overflow: hidden; background: var(--surface); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0, rgba(18,23,29,0) 16%); pointer-events: none; }

.hero.page { min-height: 460px; }
.hero.page h1 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); }
.hero.page .lede { margin-bottom: 0; }
.hero.plain { grid-template-columns: 1fr; min-height: 0; }
.hero.plain .hero-copy { padding-right: var(--gutter); }

@media (max-width: 900px) {
  .hero, .hero.page { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 48px var(--gutter) 40px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-media::after { background: linear-gradient(180deg, var(--bg) 0, rgba(18,23,29,0) 18%); }
}

/* ---------- Deux spécialités (colonnes décalées) ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.services .service:nth-child(2) { margin-top: clamp(0px, 9vw, 120px); }
.service figure { margin: 0 0 1.6rem; overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface); }
.service figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover figure img { transform: scale(1.03); }
.service h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.service ul {
  list-style: none; margin: 1.2rem 0 1.6rem; padding: 1rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.4rem;
  border-top: 1px solid var(--line);
}
.service li { padding: .3rem 0 .3rem 1rem; position: relative; font-size: .98rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 2px; background: var(--accent); }
@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .services .service:nth-child(2) { margin-top: 24px; }
}
@media (max-width: 480px) { .service ul { grid-template-columns: 1fr; } }

/* ---------- Bloc image + texte ---------- */
.feature { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature.reverse { grid-template-columns: 6fr 5fr; }
.feature.reverse .feature-media { order: 2; }
.feature-media { margin: 0; overflow: hidden; background: var(--surface); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media.portrait { aspect-ratio: 4 / 5; }
.feature-media.landscape { aspect-ratio: 4 / 3; }
.checklist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; }
.checklist i { font-size: 22px; color: var(--accent); margin-top: .1rem; }
@media (max-width: 860px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media.portrait { aspect-ratio: 4 / 3; }
}

/* ---------- Bande photo pleine largeur ---------- */
.band { position: relative; min-height: clamp(460px, 72vh, 680px); display: flex; align-items: flex-end; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, rgba(18,23,29,.94) 0%, rgba(18,23,29,.5) 42%, rgba(18,23,29,.08) 72%),
    linear-gradient(90deg, rgba(18,23,29,.6) 0%, rgba(18,23,29,0) 60%);
}
.band .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 88px); }
.band h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 11em; margin-bottom: .3em; }
.band p { font-size: 1.2rem; color: #dde3e8; max-width: 36em; margin-bottom: 1.8rem; }

/* ---------- Rapport de forage (diagramme) ---------- */
.report { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(40px, 7vw, 112px); align-items: center; }
.report dl { margin: 2rem 0 0; display: grid; gap: 1.3rem; }
.report dt { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--text); }
.report dd { margin: .15rem 0 0; }
.borelog { margin: 0; }
.borelog figcaption { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin-top: .8rem; }
@media (max-width: 900px) {
  .report { grid-template-columns: 1fr; }
  .borelog { max-width: 420px; }
}

/* ---------- Direction ---------- */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.leader { border-top: 3px solid var(--accent); padding-top: 1.6rem; }
.leader-role { display: block; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.leader h3 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: .35em; }
.leader p { font-size: 1.15rem; margin: 0; }
@media (max-width: 720px) { .leaders { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(180px, 20vw, 270px)); gap: clamp(8px, 1.2vw, 14px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 820px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 44vw; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
}

/* ---------- Types d'ouvrages ---------- */
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.works li {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.5rem 1.3rem;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: .03em; text-transform: uppercase; color: var(--text);
  transition: background-color .25s var(--ease);
}
.works li:hover { background: var(--surface); }
@media (max-width: 820px) { .works { grid-template-columns: 1fr 1fr; } }

/* ---------- Appel à l'action ---------- */
.cta { background: var(--accent); color: var(--accent-ink); }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta h2 { color: var(--accent-ink); margin-bottom: .25em; }
.cta p { margin: 0; font-size: 1.15rem; color: #2a2418; }
.cta .btn-primary { background: var(--accent-ink); color: var(--text); }
.cta .btn-primary:hover { background: #05080b; }
.cta .btn-line { border-color: var(--accent-ink); color: var(--accent-ink); }
.cta .btn-line:hover { background: rgba(0,0,0,.08); }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- Méthodes (pages services) ---------- */
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.method { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.method h3 { margin-bottom: .4em; }
.method p { margin: 0; }
.method .std { display: block; margin-top: .8rem; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
@media (max-width: 820px) { .methods { grid-template-columns: 1fr; } }

/* ---------- Équipement ---------- */
.fleet { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.rig { grid-column: span 6; }
.rig.wide { grid-column: span 7; }
.rig.narrow { grid-column: span 5; }
.rig figure { margin: 0 0 1.3rem; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.rig figure img { width: 100%; height: 100%; object-fit: cover; }
.rig h3 { font-size: 1.8rem; }
@media (max-width: 860px) {
  .fleet { grid-template-columns: 1fr; }
  .rig, .rig.wide, .rig.narrow { grid-column: auto; }
}

/* ---------- Machines GG1 / GG2 / GG3 ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text); padding-left: 0; }
.compare thead th { vertical-align: bottom; border-bottom: 2px solid var(--line); }
.compare thead a { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--accent); text-decoration: none; line-height: 1; }
.compare thead a:hover { color: var(--accent-hi); }
.compare small { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; margin-top: .3rem; }
.compare td i { font-size: 1.5rem; color: var(--accent); }
.compare tbody tr:hover { background: var(--bg-2); }

.machine-id { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .85; color: var(--accent); margin-bottom: .2em; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 0; }
.tags span { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text); border: 1px solid #4a5563; padding: .35rem .7rem; }

.machine { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.machine.reverse { grid-template-columns: 5fr 7fr; }
.machine.reverse .machine-photos { order: 2; }
.machine-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: clamp(220px, 24vw, 320px) clamp(140px, 14vw, 200px); gap: 10px; }
.machine-photos img { width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.machine-photos .main { grid-column: span 2; }

.machine-wide { aspect-ratio: 21 / 9; overflow: hidden; margin-bottom: clamp(32px, 5vw, 56px); background: var(--surface); }
.machine-wide img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.machine-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.machine-split .checklist { margin-top: 0; }
.machine-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 2rem; }
.machine-strip img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--surface); }

@media (max-width: 860px) {
  .machine, .machine.reverse, .machine-split { grid-template-columns: 1fr; }
  .machine.reverse .machine-photos { order: 0; }
  .machine-photos { grid-template-rows: 56vw 32vw; }
  .machine-wide { aspect-ratio: 4 / 3; }
}

/* ---------- Formulaire ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }

form fieldset { border: 0; padding: 0; margin: 0 0 2.4rem; min-width: 0; }
form legend { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--text); padding: 0 0 .6rem; margin-bottom: 1.2rem; width: 100%; border-bottom: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

label { display: block; font-weight: 600; font-size: .95rem; color: var(--text); margin-bottom: .4rem; }
label .opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid #3a4452; border-radius: 2px;
  padding: .75rem .85rem; min-height: 50px;
  color-scheme: dark;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7f8b98; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230,162,60,.25); }
input[type="file"] { font: inherit; font-size: .95rem; color: var(--text-2); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.3rem; }
@media (max-width: 620px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; color: var(--text-2); margin: 0; padding: .4rem 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--accent); flex: none; }

.consent { background: var(--surface); border-left: 3px solid var(--accent); padding: 1.1rem 1.3rem; font-size: .95rem; margin-bottom: 1.6rem; }
.consent p { margin: .5rem 0 0; }
.consent a { color: var(--accent); }
.form-note { font-size: .95rem; color: var(--muted); margin: 1rem 0 0; }

.contact-card { position: sticky; top: calc(var(--header-h) + 24px); border-top: 3px solid var(--accent); background: var(--surface); padding: clamp(24px, 3vw, 36px); }
.contact-card h2 { font-size: 1.7rem; }
.contact-card .tel { display: block; font-family: var(--font-mono); font-size: 1.45rem; color: var(--text); text-decoration: none; margin-bottom: .4rem; }
.contact-card .tel:hover { color: var(--accent); }
.contact-card a { color: var(--text); }
.contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.contact-card ol { margin: 0; padding-left: 1.2rem; }
.contact-card li { margin-bottom: .6rem; }

/* ---------- Texte courant ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--accent); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0e1216; border-top: 1px solid var(--line); font-size: .95rem; }
.site-footer .wrap { padding-top: clamp(56px, 7vw, 80px); padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.site-footer h2 { font-size: 1.05rem; letter-spacing: .08em; color: var(--text); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo { margin-bottom: 1.2rem; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-media img { animation: settle 1.6s var(--ease) both; }

  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* Le rapport de forage se « fore » de haut en bas quand il apparaît */
  .js .borelog .column { clip-path: inset(0 0 100% 0); transition: clip-path 1.8s var(--ease) .2s; }
  .js .borelog .labels { opacity: 0; transition: opacity .8s ease 1.1s; }
  .js .borelog.in .column { clip-path: inset(0 0 0 0); }
  .js .borelog.in .labels { opacity: 1; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
