/* CBL — palette relevée sur le logo */
:root {
  --teal: #23968F;        /* turquoise du logo */
  --teal-light: #4FB0A8;  /* reflet du logo */
  --teal-dark: #104848;   /* ombre du logo */
  --teal-deep: #0B3434;
  --mint: #EEF6F5;
  --mint-2: #DCEDEB;
  --white: #FFFFFF;
  --ink: #142424;
  --text: #3E5050;
  --muted: #6A7C7C;
  --line: #DCE6E5;

  --title: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 52, 52, .06), 0 8px 24px rgba(11, 52, 52, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal-dark); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Titres ---------- */
h1, h2, h3 { font-family: var(--title); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 600; line-height: 1.05; color: #fff; max-width: 14ch; }
h1 span { display: block; font-weight: 300; color: var(--teal-light); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 600; line-height: 1.12; max-width: 22ch; }
h2 span { font-weight: 300; color: var(--teal); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.eyebrow { font: 700 .76rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--teal-light); }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 40em; margin: 18px 0 0; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: var(--radius); font: 600 .97rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--teal-dark); border-color: #fff; }
.link-arrow { font-weight: 600; color: var(--teal-dark); text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--teal); padding-bottom: 3px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--teal); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--teal); }
.nav-tel { color: var(--teal-dark) !important; padding-left: 28px; border-left: 1px solid var(--line); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--teal-deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 52, 52, .94) 0%, rgba(11, 52, 52, .78) 42%, rgba(16, 72, 72, .30) 100%); }
.hero-in, .hero-facts { position: relative; z-index: 2; width: 100%; }
.hero-in { padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(40px, 6vw, 64px); }
.lead { font-size: 1.15rem; max-width: 36em; color: rgba(255, 255, 255, .86); margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-facts dl > div { padding: 22px 20px 26px 0; }
.hero-facts dl > div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); }
.hero-facts dd { margin: 4px 0 0; font-family: var(--title); font-size: 1.12rem; font-weight: 500; color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 56px); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.section-tint { background: var(--mint); }
.section-dark { background: var(--teal-deep); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 span { color: var(--teal-light); }

/* ---------- Métiers ---------- */
.metiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.metier:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.metier figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mint-2); }
.metier img { width: 100%; height: 100%; object-fit: cover; }
.metier-body { padding: 22px 22px 26px; border-top: 3px solid var(--teal); flex: 1; }
.metier-body > p { margin: 8px 0 16px; color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 22px; font-size: .93rem; color: var(--text); border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--teal); }

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.work figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mint-2); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.work:hover img { transform: scale(1.05); }
.work-body { padding: 22px 24px 26px; }
.work-place { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.work-body h3 { margin-bottom: 8px; }
.work-body p:last-child { margin: 0; font-size: .95rem; color: var(--muted); }
.note { margin: 20px 0 0; font-size: .82rem; color: var(--muted); }

.registre { margin-top: clamp(56px, 7vw, 80px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 40px); }
.registre-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; margin-bottom: 20px; }
.registre-head h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.registre-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.registre-scroll { overflow-x: auto; }
.registre table { width: 100%; border-collapse: collapse; min-width: 720px; }
.registre th { text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); padding: 12px 16px 12px 0; border-bottom: 2px solid var(--teal); }
.registre td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.registre td:first-child { font-weight: 700; color: var(--ink); width: 25%; }
.registre td:nth-child(3) { color: var(--muted); }
.registre th:last-child, .registre td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.registre td:last-child { color: var(--teal-dark); font-weight: 600; }
.registre tbody tr:hover td { background: var(--mint); }

/* ---------- Bande ---------- */
.band { position: relative; min-height: clamp(320px, 50vh, 480px); display: flex; align-items: center; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16, 72, 72, .92) 0%, rgba(35, 150, 143, .55) 100%); }
.band-in { position: relative; z-index: 2; width: 100%; }
.band-quote { margin: 0; font-family: var(--title); font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.15; font-weight: 600; color: #fff; max-width: 20ch; letter-spacing: -0.02em; }
.band-quote span { font-weight: 300; color: #BFE7E3; }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { padding: 28px 24px 30px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.step-n { display: block; font-family: var(--title); font-size: 2.4rem; font-weight: 300; color: var(--teal-light); line-height: 1; margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- Entreprise ---------- */
.entreprise { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.entreprise-text h2 { margin-bottom: 22px; }
.entreprise-text > p { margin: 0 0 14px; max-width: 36em; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { background: var(--mint); border-radius: var(--radius); padding: 16px 16px 18px; border-top: 3px solid var(--teal); }
.facts strong { display: block; font-family: var(--title); font-weight: 600; color: var(--ink); font-size: 1rem; }
.facts span { font-size: .86rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }
.sectors { margin-top: 32px; }
.sectors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sectors li { font-size: .88rem; font-weight: 600; color: var(--teal-dark); background: var(--white); border: 1px solid var(--mint-2); border-radius: 999px; padding: 7px 14px; }
.entreprise-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entreprise-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.entreprise-photos img:last-child { margin-top: 56px; }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 55%, #17706B 100%); color: rgba(255, 255, 255, .8); }
.section-contact h2 { color: #fff; }
.section-contact h2 span { color: var(--teal-light); }
.section-contact .section-lead { color: rgba(255, 255, 255, .75); }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.coords { font-style: normal; display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.coords a { text-decoration: none; }
.coords a:hover { color: #fff; }
.coord-tel { font-family: var(--title); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 600; color: #fff; }
.form { background: var(--white); border-radius: 10px; padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); color: var(--text); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(35, 150, 143, .15); }
.field [aria-invalid="true"] { border-color: #C9533A; }
.form-legal { margin: 0; font-size: .82rem; color: var(--muted); }
.form-legal a { color: var(--teal-dark); }
.form-status { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--radius); background: var(--mint); border-left: 4px solid var(--teal); color: var(--ink); }
.form-status.is-error { background: #FBEDEA; border-color: #C9533A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--white); border-top: 4px solid var(--teal); font-size: .88rem; color: var(--muted); }
.footer-in { display: flex; align-items: center; gap: 32px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.footer-in > img { height: 64px; width: auto; }
.footer-info p { margin: 2px 0; }
.footer-info a { text-decoration: none; color: var(--teal-dark); }
.footer-legal { margin-left: auto; color: var(--teal-dark); font-weight: 600; text-decoration: none; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .metiers { grid-template-columns: repeat(2, 1fr); }
  .metier figure { aspect-ratio: 16 / 10; }
  .nav { gap: 20px; }
  .nav-tel { display: none; }
}
@media (max-width: 960px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .entreprise, .contact { grid-template-columns: 1fr; }
  .hero-facts dl { grid-template-columns: repeat(2, 1fr); }
  .hero-facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts dl > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .2); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; font: 600 .9rem/1 var(--body); color: #fff; background: var(--teal); border: 0; border-radius: var(--radius); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-tel { display: block; padding-left: 0; border-left: 0; }
  .nav .btn { margin-top: 16px; }
  .header-in { height: 68px; }
  .brand img { height: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .metiers, .works, .steps, .facts { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts dl { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .entreprise-photos img:last-child { margin-top: 28px; }
  .footer-legal { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .work img, .metier { transition: none; }
}
