/* Annecy Motoculture — feuille de style
   Mise en page : bandeau photo plein cadre, puis sections alternées
   (texte / photo) et un bloc « atelier » sombre couleur sapin. */
:root {
  --sapin: #1d3a2c;        /* vert sapin, couleur de la marque */
  --sapin-2: #2b5440;
  --mousse: #e9efe4;       /* fond clair légèrement vert */
  --papier: #f7f9f4;
  --encre: #17211b;        /* texte principal */
  --gris: #56635b;         /* texte secondaire */
  --orange: #e2621b;       /* orange « tronçonneuse », accent */
  --orange-fonce: #b94c0f;
  --ligne: #cfd9cb;

  --f-titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-texte: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --largeur: 1140px;
  --rayon: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-fonce); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--f-titre);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.5rem; }
p { margin: 0; }

.conteneur { max-width: var(--largeur); margin-inline: auto; padding-inline: 20px; }
.sur-titre {
  font-family: var(--f-titre);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-fonce);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-titre); font-weight: 600; font-size: 1.15rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: .7em 1.3em; border-radius: var(--rayon);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-fonce); }
.btn-contour { border-color: currentColor; color: #fff; }
.btn-contour:hover { background: #fff; color: var(--sapin); border-color: #fff; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 10;
  background: var(--sapin); color: #fff;
}
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-block: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo span { font-family: var(--f-titre); font-weight: 700; font-size: 1.45rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.logo small { display: block; font-weight: 500; font-size: .8rem; letter-spacing: .16em; color: #b9d0c0; }
.menu { display: flex; gap: 4px 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.menu a { color: #fff; text-decoration: none; font-weight: 500; }
.menu a:hover { color: #ffb489; }

/* ---------- Bandeau d'accueil ---------- */
.bandeau {
  position: relative; color: #fff;
  background:
    linear-gradient(100deg, rgba(16,34,25,.88) 0%, rgba(16,34,25,.55) 55%, rgba(16,34,25,.15) 100%),
    url("https://images.unsplash.com/photo-1458245201577-fc8a130b8829?auto=format&fit=crop&w=1800&q=70") center 60% / cover,
    linear-gradient(135deg, #2b5440, #1d3a2c);
}
.bandeau .conteneur { padding-block: clamp(72px, 12vw, 140px); display: grid; gap: 22px; }
.bandeau .sur-titre { color: #ffb489; }
.bandeau h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  text-transform: uppercase; max-width: 12ch;
}
.bandeau h1 em { font-style: normal; color: var(--orange); }
.bandeau p.intro { font-size: 1.2rem; max-width: 46ch; color: #e3ece5; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.statut {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem;
  background: rgba(255,255,255,.12); border-radius: 99px;
  padding: 6px 14px; width: fit-content;
}
.statut::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa69e; }
.statut.ouvert::before { background: #5fd38a; }
.statut.ferme::before { background: #ff8a5c; }

/* ---------- Bande d'infos rapides ---------- */
.infos-rapides { background: var(--orange); color: #fff; }
.infos-rapides .conteneur {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 28px; padding-block: 18px;
}
.infos-rapides div { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.infos-rapides svg { width: 22px; height: 22px; flex: none; }

/* ---------- Sections ---------- */
section { padding-block: clamp(56px, 9vw, 100px); }
.entete-section { display: grid; gap: 10px; margin-bottom: 40px; max-width: 62ch; }
.entete-section p { color: var(--gris); }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service { display: grid; gap: 14px; align-content: start; }
.service .photo {
  aspect-ratio: 4 / 3; border-radius: var(--rayon);
  background-color: var(--sapin-2); background-size: cover; background-position: center;
}
.service ul { margin: 0; padding-left: 1.1em; color: var(--gris); }
.service li::marker { color: var(--orange); }

/* Atelier (bloc sombre) */
.atelier { background: var(--sapin); color: #fff; }
.atelier .grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.atelier .entete-section p { color: #c9dacd; }
.atelier .sur-titre { color: #ffb489; }
.atelier .photo-atelier {
  aspect-ratio: 5 / 4; border-radius: var(--rayon); max-width: 100%;
  background:
    url("https://images.unsplash.com/photo-1515433868209-994b50c7e2f1?auto=format&fit=crop&w=1000&q=70") center / cover,
    linear-gradient(135deg, #2b5440, #13281e);
}

/* Calendrier d'entretien */
.saisons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 2px solid rgba(255,255,255,.25); }
.saison { padding: 18px 18px 6px 0; display: grid; gap: 6px; }
.saison h3 { font-size: 1.25rem; color: #ffb489; text-transform: uppercase; letter-spacing: .04em; }
.saison p { color: #dde8e0; font-size: .98rem; }

/* Figurine de l'atelier */
.atelier .figurine { width: 100%; max-width: 420px; height: auto; justify-self: center; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }

/* Carrousel des marques */
.marques { background: var(--mousse); }
.carrousel { overflow: hidden; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); }
.carrousel-piste { display: flex; transition: transform .6s ease; }
@media (prefers-reduced-motion: reduce) { .carrousel-piste { transition: none; } }
.marque { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.marque-logo { display: grid; place-items: center; min-height: 220px; padding: 32px 20px; }
.marque-logo span { font-family: "Arial Black", "Archivo Black", var(--f-titre); font-weight: 900; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; letter-spacing: .02em; text-align: center; }
.marque-logo small { display: block; font-size: .5em; margin-block: .1em; }
.marque-texte { display: grid; gap: 12px; align-content: center; padding: 32px clamp(20px, 4vw, 48px); }
.marque-texte p { color: var(--gris); max-width: 52ch; }
.marque-stihl .marque-logo { background: #f37a1f; }
.marque-stihl .marque-logo span { color: #fff; font-style: italic; }
.marque-briggs .marque-logo { background: #111; }
.marque-briggs .marque-logo span { color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); }
.marque-stiga .marque-logo { background: #ffd100; }
.marque-stiga .marque-logo span { color: #1a1a1a; }
.carrousel-commandes { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px; border-top: 1px solid var(--ligne); }
.carrousel-fleche { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--sapin); background: transparent; color: var(--sapin); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.carrousel-fleche:hover { background: var(--sapin); color: #fff; }
.carrousel-points { display: flex; gap: 10px; }
.carrousel-points button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: var(--ligne); cursor: pointer; }
.carrousel-points button[aria-selected="true"] { background: var(--orange); width: 28px; border-radius: 6px; }

/* Pourquoi nous */
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 36px; }
.atout { display: grid; gap: 8px; padding-top: 16px; border-top: 3px solid var(--orange); }
.atout p { color: var(--gris); }

/* Bandeau lac */
.lac {
  color: #fff; padding-block: clamp(70px, 11vw, 130px);
  background:
    linear-gradient(0deg, rgba(16,34,25,.75), rgba(16,34,25,.35)),
    url("https://images.unsplash.com/photo-1590927693933-02f33d882884?auto=format&fit=crop&w=1800&q=70") center / cover,
    linear-gradient(135deg, #2b5440, #1d3a2c);
}
.lac blockquote { margin: 0; max-width: 30ch; font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }

/* Contact & horaires */
.contact { background: var(--mousse); }
.contact .grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.coordonnees { display: grid; gap: 22px; align-content: start; }
.coordonnees dt { font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--gris); }
.coordonnees dd { margin: 2px 0 0; font-size: 1.2rem; font-weight: 500; }
.coordonnees dd a { color: var(--encre); }
.horaires {
  background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon);
  padding: 24px; align-self: start;
}
.horaires table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.horaires th { font-weight: 600; width: 38%; }
.horaires tr:last-child th, .horaires tr:last-child td { border-bottom: 0; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { color: var(--orange-fonce); font-weight: 700; }
.horaires .ferme-jour { color: var(--gris); }

/* Pied de page */
.pied { background: #10221a; color: #b9c9be; font-size: .95rem; }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 28px; }
.pied a { color: #fff; }
.pied .credits { font-size: .82rem; color: #8ea597; }

/* Page mentions légales */
.page-texte { max-width: 72ch; display: grid; gap: 18px; }
.page-texte h2 { font-size: 1.6rem; margin-top: 12px; }

@media (max-width: 640px) {
  .menu { gap: 4px 16px; font-size: .95rem; }
  .entete { position: static; }
}
