/* ==========================================================================
   WT LABS — feuille de style principale
   ========================================================================== */

:root {
  --color-primary: #0b4f4a;
  --color-primary-dark: #073632;
  --color-primary-light: #0e6a63;
  --color-accent: #2f9e8f;
  --color-accent-soft: #e4f3f0;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9f8;
  --color-text: #1f2d2b;
  --color-text-muted: #5c6d6a;
  --color-border: #e2e9e7;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 3px rgba(11, 79, 74, 0.08);
  --shadow-m: 0 8px 24px rgba(11, 79, 74, 0.10);
  --container: 1120px;
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-m);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ---------------------------------- Header ---------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
}

.brand-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.brand__text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

.nav a.is-active {
  color: var(--color-primary);
  background: var(--color-accent-soft);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
}

/* ---------------------------------- Hero ------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 520px at 85% -10%, rgba(47, 158, 143, 0.35), transparent),
    linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  color: #ffffff;
  padding: 110px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  max-width: 760px;
}

.hero .eyebrow {
  color: #b7ece0;
}

.hero h1 {
  color: #ffffff;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: #ffffff;
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------------------------------- Page hero (sous-pages) -------------- */

.page-hero {
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 74px 0 64px;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  font-size: 1.05rem;
  margin: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.breadcrumb span {
  color: #ffffff;
}

/* ---------------------------------- Cards ------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: 32px;
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-2px);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  background: var(--color-accent-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.check-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent);
}

/* ---------------------------------- About / intro split ----------------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.split-visual {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-l);
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0, rgba(255,255,255,0.18) 60px, transparent 61px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.14) 0, rgba(255,255,255,0.14) 90px, transparent 91px),
    radial-gradient(circle at 60% 15%, rgba(255,255,255,0.12) 0, rgba(255,255,255,0.12) 40px, transparent 41px);
}

/* ---------------------------------- Pôles (prestations) ----------------- */

.pole {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 44px;
  background: #ffffff;
  margin-bottom: 28px;
}

.pole-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.pole-head .icon {
  margin-bottom: 0;
  width: 56px;
  height: 56px;
}

.pole-head .icon svg {
  width: 28px;
  height: 28px;
}

.pole-head h2 {
  margin: 0 0 4px;
}

.pole-head p {
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-item {
  background: var(--color-bg-alt);
  border-radius: var(--radius-m);
  padding: 22px;
}

.service-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.service-item p {
  font-size: 0.92rem;
  margin: 0;
}

.service-item ul {
  margin-top: 8px;
}

.service-item ul li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}

.service-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------------------------------- Quote / vision ----------------------- */

.quote-block {
  border-left: 4px solid var(--color-accent);
  padding: 8px 0 8px 28px;
  margin: 0;
}

.quote-block p {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-primary-dark);
  line-height: 1.5;
}

.quote-block cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.9rem;
}

/* ---------------------------------- Timeline / valeurs ------------------- */

.value-row {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.value-row:last-child {
  border-bottom: none;
}

.value-row .icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.value-row h3 {
  margin-bottom: 6px;
}

.value-row p {
  margin: 0;
}

/* ---------------------------------- CTA band ----------------------------- */

.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-l);
  padding: 56px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* ---------------------------------- Contact page ------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-l);
  padding: 36px;
  border: 1px solid var(--color-border);
}

.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row:first-child {
  padding-top: 0;
}

.info-row .icon {
  margin-bottom: 0;
  background: #ffffff;
  flex-shrink: 0;
}

.info-row h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.info-row p {
  margin: 0;
  font-size: 0.94rem;
}

.map-frame {
  margin-top: 24px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 220px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-s);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fbfdfc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.form-success {
  display: none;
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
  padding: 14px 18px;
  border-radius: var(--radius-s);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.form-success.is-visible {
  display: block;
}

/* ---------------------------------- Footer -------------------------------- */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
  margin-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand .brand-logo {
  height: 40px;
  padding: 4px 8px;
  background: #ffffff;
  border-radius: var(--radius-s);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------- Responsive ---------------------------- */

@media (max-width: 900px) {
  .grid-3,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2,
  .split,
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 32px;
  }

  .split-visual {
    order: -1;
    min-height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-m);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 16px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-3,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 36px;
    flex-direction: column;
    text-align: center;
  }

  .pole {
    padding: 28px;
  }

  .form-card {
    padding: 26px;
  }
}
