/* ============== TOKENS DA flyer ============== */
:root, [data-theme="dark"] {
  /* fonds */
  --bg: #0f0f0f;
  --bg-2: #1a1a1a;
  --bg-3: #232323;
  /* texte */
  --text: #ffffff;
  --text-muted: #b8b8b8;
  --text-dim: #6f6f6f;
  --line: #2a2a2a;
  /* nav */
  --nav-bg: rgba(15, 15, 15, .72);
  --nav-border: rgba(255, 255, 255, .05);
  /* hero overlay (sur photo) */
  --overlay-c: 15, 15, 15;
  --overlay-r1: .88; --overlay-r2: .45; --overlay-r3: .08;
  --overlay-b1: 0;   --overlay-b2: .55;
  /* form */
  --input-bg: var(--bg);
  /* shadows */
  --shadow-card: 0 4px 14px rgba(0,0,0,.4);
  /* ghost / outline buttons (s'adaptent au thème) */
  --btn-ghost-border: rgba(255, 255, 255, .2);
  --btn-ghost-bg: rgba(255, 255, 255, .04);
  --btn-ghost-bg-hover: rgba(245, 130, 32, .14);
  /* constants */
  --orange: #F58220;
  --orange-d: #D8631A;
  --orange-l: #FF9947;
  --white: #ffffff;
  --r: 8px;
  --container: 1180px;
  --pad-x: clamp(20px, 4vw, 48px);
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #ece8df;          /* crème-gris chaud, base */
  --bg-2: #e2ded3;        /* sections alt, plus accentué */
  --bg-3: #f4f1e9;        /* cards, plus clair que bg pour relief */
  --text: #141414;
  --text-muted: #383838;  /* foncé pour bonne lisibilité sur fond clair */
  --text-dim: #6b6b6b;    /* passe WCAG AA sur le fond crème */
  --line: #cfc8b9;
  --nav-bg: rgba(236, 232, 223, .82);
  --nav-border: rgba(20, 20, 20, .08);
  --overlay-c: 255, 255, 255;
  --overlay-r1: .82; --overlay-r2: .4; --overlay-r3: .05;
  --overlay-b1: 0;   --overlay-b2: .3;
  --input-bg: #faf8f3;
  --shadow-card: 0 4px 14px rgba(20,20,20,.08);
  --btn-ghost-border: rgba(20, 20, 20, .2);
  --btn-ghost-bg: rgba(20, 20, 20, .03);
  --btn-ghost-bg-hover: rgba(245, 130, 32, .1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============== NAVBAR ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color .3s, border-color .3s;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { width: 78px; height: auto; display: block; }
.nav-logo .logo-img { width: 72px; }

/* logo dark version (CPI blanc) = par défaut ; light version (CPI bordeaux) = caché */
.logo-for-light { display: none; }
[data-theme="light"] .logo-for-dark  { display: none; }
[data-theme="light"] .logo-for-light { display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--orange); transition: color .2s; }

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

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--btn-ghost-bg);
  color: var(--text);
  border: 1.5px solid var(--btn-ghost-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.nav-call:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--btn-ghost-bg-hover);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .3px;
  transition: background .2s, transform .2s;
}

/* ===== Theme toggle floating button (bottom-left FAB) ===== */
.theme-toggle.theme-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  padding: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.theme-toggle.theme-fab:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: rotate(20deg) scale(1.06);
  box-shadow: 0 8px 28px rgba(245,130,32,.4);
}
.theme-toggle.theme-fab:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .moon { display: none; }
.theme-toggle .sun  { display: block; }
[data-theme="light"] .theme-toggle .moon { display: block; }
[data-theme="light"] .theme-toggle .sun  { display: none; }
.theme-toggle .auto-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  top: 6px; right: 6px;
  border: 2px solid var(--bg-2);
  opacity: 0;
  transition: opacity .2s;
}
.theme-toggle.is-auto .auto-dot { opacity: 1; }
@media (max-width: 600px) {
  .theme-toggle.theme-fab { bottom: 16px; left: 16px; width: 44px; height: 44px; }
}
.nav-cta:hover { background: var(--orange-l); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 100px var(--pad-x) 60px;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(var(--overlay-c), var(--overlay-r1)) 0%,
      rgba(var(--overlay-c), var(--overlay-r2)) 45%,
      rgba(var(--overlay-c), var(--overlay-r3)) 100%),
    linear-gradient(to bottom,
      rgba(var(--overlay-c), var(--overlay-b1)) 30%,
      rgba(var(--overlay-c), var(--overlay-b2)) 100%);
}
.hero-diag {
  position: absolute;
  top: 0; right: 0;
  width: 38%;
  height: 110px;
  background: linear-gradient(135deg, var(--orange), var(--orange-d));
  clip-path: polygon(35% 0, 100% 0, 100% 80%, 0 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
.hero-title .script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--orange);
  font-style: italic;
  font-size: clamp(48px, 8vw, 108px);
  letter-spacing: 0;
  display: inline-block;
  margin-top: 4px;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .3px;
  transition: transform .2s, background .2s, border-color .2s;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(245,130,32,.35);
}
.btn-primary:hover { background: var(--orange-l); transform: translateY(-2px); }
.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--text);
  border: 1.5px solid var(--btn-ghost-border);
}
.btn-ghost:hover {
  background: var(--btn-ghost-bg-hover);
  border-color: var(--orange);
  color: var(--orange);
}
.btn-block { width: 100%; justify-content: center; }

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  opacity: .7;
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ============== SECTIONS GENERIC ============== */
section {
  padding: 100px var(--pad-x);
}
.section-head {
  max-width: var(--container);
  margin: 0 auto 56px;
  text-align: center;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.accent { color: var(--orange); }
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ============== SERVICES ============== */
.services-section { background: var(--bg-2); }

.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.service-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 36px 36px 0;
  border-color: transparent var(--orange) transparent transparent;
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: #2a2a2a;
}
.service-card:hover::before { opacity: 1; }

.service-ico {
  width: 36px;
  height: 36px;
  color: var(--orange);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-card-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-d));
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.service-card-cta::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.service-card-cta:hover { background: linear-gradient(135deg, var(--orange-l), var(--orange)); }
.service-card-cta::before { display: none; }

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,.18);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -.8px;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
  background: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  letter-spacing: .3px;
  transition: transform .2s, background .2s;
  position: relative;
  z-index: 1;
}
.cta-phone:hover { background: #fff8f1; transform: translateY(-2px); }

/* ============== VALEURS ============== */
.valeurs-section {
  background: var(--bg);
  position: relative;
  padding-top: 80px;
}

.tag-bar {
  max-width: var(--container);
  margin: 0 auto 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.tag-bar .dot { color: var(--orange); font-size: 22px; line-height: 0; }

.valeurs-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  align-items: stretch;
}
.valeur {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  height: 100%;
}
.vico-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(245,130,32,.12);
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,130,32,.3);
  flex-shrink: 0;
}
.vico {
  width: 36px;
  height: 36px;
  color: var(--orange);
}
.valeur h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.valeur p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

/* ============== RÉALISATIONS ============== */
.realisations {
  background: var(--bg-2);
}

.realisation-feature {
  max-width: var(--container);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.realisation-feature:last-child { margin-bottom: 0; }
.realisation-feature.reverse {
  direction: rtl;
}
.realisation-feature.reverse .realisation-caption { direction: ltr; }
.realisation-feature.reverse img { direction: ltr; }

.realisation-feature img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

.r-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245,130,32,.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.realisation-caption h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.realisation-caption p {
  font-size: 15px;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .realisation-feature, .realisation-feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }
  .realisation-feature img { height: 260px; }
}

/* ============== CONTACT ============== */
.contact-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  height: 100px;
  background: linear-gradient(135deg, var(--orange), var(--orange-d));
  clip-path: polygon(40% 0, 100% 0, 100% 70%, 0 100%);
  pointer-events: none;
  opacity: .85;
}

.contact-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-left { padding-top: 12px; }
.contact-left .section-eyebrow { text-align: left; }
.contact-left .section-title { text-align: left; }

.tagline-bottom {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 18px;
  margin-bottom: 32px;
  max-width: 460px;
}

.contact-infos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-infos li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ci-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(245,130,32,.14);
  color: var(--orange);
  display: grid;
  place-items: center;
}
.ci-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.ci-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
a.ci-value:hover { color: var(--orange); transition: color .2s; }
.ci-note {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.contact-form label small { color: var(--text-dim); font-weight: 400; }
.contact-form input,
.contact-form textarea {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  font-size: 15px;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-msg {
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 6px;
}
.form-sent  { color: #1a7a3e; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .35); }
.form-error { color: #c0392b; background: rgba(231, 76, 60, .1);   border: 1px solid rgba(231, 76, 60, .35); }
[data-theme="dark"] .form-sent { color: #4ade80; }

/* Honeypot : invisible mais reste un input réel */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============== LEGAL PAGES ============== */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 130px var(--pad-x) 80px;
}
.legal-page h1 {
  text-align: left;
  margin-bottom: 8px;
}
.legal-updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal-page section {
  margin-bottom: 32px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.legal-page ul {
  padding-left: 22px;
  margin: 10px 0;
}
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--text); }
.legal-page em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}
.legal-page code {
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 13px;
  border: 1px solid var(--line);
}
.legal-page a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.footer-mini {
  padding: 24px var(--pad-x);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-mini a { color: var(--text-muted); text-decoration: underline; margin: 0 6px; }
.footer-mini a:hover { color: var(--orange); }

@media (max-width: 800px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-2);
  padding: 60px var(--pad-x) 24px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo-img,
.footer-logo { width: 110px; margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-col .muted { color: var(--text-dim); font-size: 13px; }

.footer-bottom {
  max-width: var(--container);
  margin: 24px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* mobile : on garde 2 cols mais on les compacte (vs 1 col qui rallonge trop) */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .footer-brand { grid-column: 1 / -1; }   /* brand sur toute la largeur en haut */
}

/* =================================================
   MOBILE-FIRST REFINEMENTS
   ================================================= */

/* tablette portrait & en-dessous */
@media (max-width: 768px) {
  section { padding: 72px var(--pad-x); }
  .hero { padding: 90px var(--pad-x) 50px; }
  .section-head { margin-bottom: 40px; }
  .hero-diag { width: 50%; height: 80px; }
  .contact-section::before { width: 180px; height: 70px; }
}

/* smartphone */
@media (max-width: 600px) {
  :root { --pad-x: 18px; }
  section { padding: 56px var(--pad-x); }
  .hero { padding: 84px var(--pad-x) 40px; }

  /* Nav : compact, les 2 CTAs restent visibles */
  .nav { padding: 10px var(--pad-x); gap: 8px; }
  .nav-logo .logo-img { width: 52px; }
  .nav-actions { gap: 6px; }
  .nav-call { padding: 8px 10px; font-size: 12.5px; }
  .nav-call span { display: none; }       /* mobile : juste l'icône tél */
  .nav-cta { padding: 9px 14px; font-size: 12.5px; }

  /* Hero : title contenu, boutons full-width pour touch */
  .hero-title { letter-spacing: -1px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { justify-content: center; padding: 14px 22px; font-size: 15px; }

  /* Section title plus compact */
  .section-title { font-size: clamp(26px, 7vw, 38px); }
  .section-sub { font-size: 15px; }

  /* Services + valeurs : grids déjà OK via auto-fill, ajustements visuels */
  .services-grid { gap: 14px; }
  .service-card { padding: 22px 20px; }
  .service-card h3 { font-size: 17px; }
  .service-card-cta { padding: 26px 22px; }

  /* Tag-bar : éviter scroll horizontal */
  .tag-bar {
    gap: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    padding-bottom: 22px;
    margin-bottom: 40px;
  }
  .tag-bar .dot { font-size: 16px; }

  /* Valeurs : centre + min-height adapté */
  .valeurs-grid { gap: 22px; }
  .valeur { padding: 16px 8px; }
  .vico-wrap { width: 60px; height: 60px; margin-bottom: 14px; }
  .vico { width: 30px; height: 30px; }
  .valeur h3 { min-height: 2.4em; font-size: 16px; }

  /* Réalisations : déjà 1 col <800px, fine-tune image */
  .realisation-feature { margin-bottom: 36px; }
  .realisation-feature img { height: 220px; }
  .realisation-caption h3 { font-size: 22px; }

  /* Contact : form padding compact */
  .contact-wrap { gap: 32px; }
  .contact-form { padding: 22px 18px; gap: 14px; }
  .tagline-bottom { font-size: 15px; }

  /* Footer : compact pour ne pas bouffer 1 écran sur mobile */
  .footer { padding: 28px var(--pad-x) 14px; }
  .footer-grid { padding-bottom: 18px; gap: 18px; }
  .footer-brand .logo-img,
  .footer-logo { width: 70px; margin-bottom: 8px; }
  .footer-brand p { font-size: 12.5px; line-height: 1.45; }
  .footer-col h4 { font-size: 12px; margin-bottom: 8px; letter-spacing: 1.5px; }
  .footer-col a, .footer-col p { font-size: 12.5px; margin-bottom: 4px; line-height: 1.4; }
  .footer-col .muted { font-size: 11.5px; }
  .footer-bottom { margin-top: 14px; font-size: 12px; }
}

/* ultra petit ≤375 */
@media (max-width: 380px) {
  .hero-title { font-size: 36px; }
  .hero-title .script { font-size: 44px; }
  .nav-cta span, .nav-cta { letter-spacing: 0; }
}

/* Touch device : virer les hovers qui surprennent au tap */
@media (hover: none) {
  .service-card:hover { transform: none; }
  .btn-primary:hover, .nav-cta:hover { transform: none; }
  .theme-toggle.theme-fab:hover { transform: none; }
}

/* Reduced motion : respecter user pref */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
