/* OKUTA — feuille de style unique.
   Palette relevée sur le logo : vert #009746 (aplats seulement, jamais sous du texte),
   jaune #FEED00 (accent lisible avec l'encre), encre #2B2A28, gris de fond #F4F5F3.
   Contrastes mesurés : encre/blanc 14,3:1 · encre/jaune 11,8:1 · blanc sur vert 3,8:1 (insuffisant). */

:root {
  --vert: #009746;
  --vert-fonce: #00753a;
  --jaune: #FEED00;
  --encre: #2B2A28;
  --gris: #F4F5F3;
  --gris-ligne: #E2E4DF;
  --gris-texte: #5A5C56;
  --blanc: #FFFFFF;
  --largeur: 1120px;
  --r: 4px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
}

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

a { color: var(--encre); text-decoration-color: var(--vert); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--encre); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 22px; }

.saut {
  position: absolute; left: -9999px;
}
.saut:focus {
  left: 12px; top: 12px; z-index: 50; background: var(--jaune); color: var(--encre);
  padding: 10px 16px; border-radius: var(--r); font-weight: 700;
}

/* ---------- en-tête ---------- */
.entete {
  border-bottom: 1px solid var(--gris-ligne);
  background: var(--blanc);
  position: sticky; top: 0; z-index: 20;
}
.entete__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 92px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
}
.marque img { width: 200px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--encre);
  padding: 6px 0; border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--vert); }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: var(--r);
  font-weight: 700; font-size: .97rem; text-decoration: none; border: 0; cursor: pointer;
}
.btn--principal { background: var(--encre); color: var(--blanc); }
.btn--principal:hover { background: #000; }
.btn--appel { background: var(--jaune); color: var(--encre); white-space: nowrap; }
.btn--appel:hover { background: #f2df00; }

/* ---------- hero ---------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--gris-ligne);
}
.hero__inner { max-width: 780px; margin: 0; }
.hero h1 { margin-bottom: .5em; }
.hero__sous {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--gris-texte);
  margin-bottom: 1.8em;
}
.hero .btn--principal { padding: 14px 26px; }

/* ---------- blocs ---------- */
.bloc { padding: clamp(40px, 6vw, 72px) 0; }
.bloc--gris { background: var(--gris); }
.bloc__etroit { max-width: 720px; }
.bloc p:last-child { margin-bottom: 0; }

/* ---------- cartes services ---------- */
.cartes {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.carte {
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-top: 4px solid var(--vert); border-radius: var(--r);
  padding: 22px 22px 20px;
}
.carte h3 { margin-bottom: .35em; }
.carte p { color: var(--gris-texte); margin: 0; font-size: .97rem; }

/* ---------- réalisations ---------- */
.realisations {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.realisation {
  border: 1px solid var(--gris-ligne); border-radius: var(--r); overflow: hidden;
  background: var(--blanc); padding-bottom: 18px;
}
.realisation img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.realisation h3, .realisation p { padding: 0 18px; }
.realisation h3 { margin-top: 16px; margin-bottom: .25em; }
.realisation .meta { color: var(--gris-texte); font-size: .9rem; margin-bottom: .5em; }
.vide { color: var(--gris-texte); }

/* ---------- contact ---------- */
.contact { display: grid; gap: 44px; grid-template-columns: 1fr 1fr; align-items: start; }
.coordonnees { list-style: none; margin: 0; padding: 0; }
.coordonnees li { padding: 12px 0; border-bottom: 1px solid var(--gris-ligne); }
.coordonnees li span {
  display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gris-texte);
}
.coordonnees a { text-decoration: none; font-weight: 600; }

.formulaire { background: var(--gris); padding: 26px; border-radius: var(--r); }
.formulaire label { display: block; margin-bottom: 16px; font-weight: 600; font-size: .95rem; }
.formulaire input, .formulaire textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1px solid #C9CCC6; border-radius: var(--r); font: inherit; background: var(--blanc);
}
.formulaire input:focus, .formulaire textarea:focus {
  outline: 3px solid rgba(0, 151, 70, .35); outline-offset: 1px; border-color: var(--vert);
}
.formulaire textarea { resize: vertical; min-height: 130px; }
.formulaire .note { font-size: .85rem; color: var(--gris-texte); }
.formulaire .piege { position: absolute; left: -9999px; }
.succes { background: #E8F5EC; border-left: 4px solid var(--vert); padding: 14px 16px; border-radius: var(--r); }
.erreur { background: #FDECEC; border-left: 4px solid #B42318; padding: 14px 16px; border-radius: var(--r); }

/* ---------- pied ---------- */
.pied { background: var(--encre); color: #E9EAE6; margin-top: 40px; padding: 44px 0 22px; }
.pied a { color: #E9EAE6; text-decoration-color: rgba(255,255,255,.4); }
.pied__grille { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }
.pied__nom { font-weight: 700; font-size: 1.15rem; margin-bottom: .3em; }
.pied__titre {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: #A8ABA3; margin-bottom: .8em;
}
.pied__bas { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; }
.pied__bas p { margin: 0; font-size: .85rem; color: #A8ABA3; }

/* ---------- petits écrans ---------- */
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; }
  .entete__inner { min-height: 76px; gap: 14px; }
  .marque img { width: 160px; }
  .nav { width: 100%; order: 3; gap: 16px; margin-left: 0; padding-bottom: 8px; }
  .btn--appel { margin-left: auto; font-size: .9rem; padding: 9px 14px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn--appel { display: none; }
}
