:root{
  --rouge:#C8161D; --vert:#17802A; --encre:#1d2420; --gris:#5b6560;
  --fond:#f6f7f5; --blanc:#ffffff; --trait:#dfe3df;
  --titre:'Bricolage Grotesque','Trebuchet MS',Arial,sans-serif;
  --texte:'Figtree','Segoe UI',Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--texte);color:var(--encre);background:var(--fond);line-height:1.6;font-size:1.05rem}
a{color:inherit}
:focus-visible{outline:3px solid var(--vert);outline-offset:3px}
.bande{height:6px;background:linear-gradient(90deg,var(--rouge),var(--vert))}

header.haut{background:var(--blanc);border-bottom:1px solid var(--trait)}
.haut-in{max-width:1100px;margin:0 auto;padding:.7rem 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.marque{display:flex;align-items:center;gap:.7rem;text-decoration:none;font-family:var(--titre);font-weight:700;font-size:1.1rem}
.marque img{width:44px;height:44px;border-radius:50%}
nav.menu{display:flex;gap:1.3rem;font-weight:600;font-size:.98rem}
nav.menu a{text-decoration:none;color:var(--gris);padding:.3rem 0;border-bottom:2px solid transparent}
nav.menu a:hover{color:var(--encre);border-color:var(--vert)}

.accueil{max-width:1100px;margin:0 auto;padding:3.5rem 1.2rem 2.5rem;display:grid;grid-template-columns:1.25fr .75fr;gap:2.5rem;align-items:center}
.accueil h1{font-family:var(--titre);font-weight:800;font-size:clamp(2.3rem,5.5vw,4rem);line-height:1.04;letter-spacing:-.02em}
.accueil h1 span{background:linear-gradient(90deg,var(--rouge),var(--vert));-webkit-background-clip:text;background-clip:text;color:transparent}
.accueil p{margin-top:1.1rem;max-width:34rem;color:var(--gris);font-size:1.15rem}
.accueil .go{display:inline-block;margin-top:1.6rem;background:var(--encre);color:#fff;text-decoration:none;font-weight:700;padding:.8rem 1.4rem;border-radius:999px}
.accueil .go:hover{background:var(--vert)}
.accueil img{width:100%;max-width:340px;justify-self:center;border-radius:50%;box-shadow:0 0 0 8px #fff,0 0 0 10px var(--trait)}

main section.bloc{max-width:1100px;margin:0 auto;padding:1.5rem 1.2rem 3rem}
h2{font-family:var(--titre);font-size:1.9rem;font-weight:800;margin-bottom:.4rem}
.intro{color:var(--gris);margin-bottom:1.6rem}
.grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.1rem}
.carte{display:block;text-decoration:none;background:var(--blanc);border:1px solid var(--trait);border-left:8px solid var(--c);border-radius:6px;padding:1.2rem 1.3rem}
.carte h3{font-family:var(--titre);font-size:1.35rem;font-weight:700;color:var(--c)}
.carte p{color:var(--gris);margin-top:.3rem;font-size:1rem}
.carte:hover{background:#fbfcfb;border-color:var(--c)}
.carte small{display:block;margin-top:.7rem;font-weight:700;color:var(--encre)}

.apropos{background:var(--blanc);border-top:1px solid var(--trait);border-bottom:1px solid var(--trait)}
.apropos .in{max-width:1100px;margin:0 auto;padding:2.5rem 1.2rem}
.apropos p{max-width:46rem;color:var(--gris)}

footer{max-width:1100px;margin:0 auto;padding:2rem 1.2rem 3rem;color:var(--gris);font-size:.95rem;display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;justify-content:space-between}

/* pages de section */
.section-page{max-width:760px;margin:0 auto;padding:3rem 1.2rem 4rem}
.section-page .retour{display:inline-block;margin-bottom:1.5rem;font-weight:600;color:var(--gris)}
.section-page h1{font-family:var(--titre);font-size:clamp(2rem,5vw,3rem);font-weight:800;color:var(--c);line-height:1.1}
.section-page p{margin-top:1rem;color:var(--gris)}
.section-page .lien{display:inline-block;margin-top:1.4rem;background:var(--c);color:#fff;text-decoration:none;font-weight:700;padding:.8rem 1.4rem;border-radius:999px}

@media(max-width:760px){
  .accueil{grid-template-columns:1fr;padding-top:2rem}
  .accueil img{max-width:220px;order:-1}
  nav.menu{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
