/* =========================================================================
   L'Atelier du Menuisier 87 — feuille de style unique, ecrite a la main
   (pas de build).

   Identite retravaillee autour du logo existant (icone croisillon de
   fenetre esquisse a main levee + logotype script rouge brique/encre) :
   palette brique + encre + papier kraft plutot que le bleu marine/orange
   herite du template de depart (sans rapport avec un artisan du bois).
   Boutons rectangulaires a coins legerement arrondis (conserve du site
   d'origine), plus une touche signature "esquisse d'atelier" : le filet
   .divider imite un double trait crayonne, et les cartes affichent au
   survol des reperes d'angle façon plan technique.
   Polices auto-hebergees (aucune requete Google Fonts a l'affichage) :
   Bitter (serif bas-de-casse a empattements carres, evoque des assemblages
   solides — tenons, blocs, poutres — plutot qu'une serif haute-contraste
   "editoriale") pour les titres, Karla (bas-de-casse chaleureux, moins
   corporate qu'Inter) pour le texte courant.
   ========================================================================= */

/* --- Polices auto-hebergees (fichiers variables : un seul fichier par
   famille couvre toute la plage de graisses, aucune requete tierce) ------ */
@font-face {
  font-family: 'Bitter';
  src: url('../fonts/bitter-variable.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-variable.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

/* --- Design tokens ---------------------------------------------------------
   Palette extraite du logo (icone esquissee + logotype rouge brique/encre) :
   encre chaude (texte, fonds sombres), brique (accent), papier kraft et
   papier clair (surfaces). Les noms de variables sont conserves tels quels
   (--black, --orange...) pour ne rien casser dans admin.css, qui consomme
   les memes tokens : seules les valeurs changent. ------------------------- */
:root {
  --black: #2a2420;      /* encre */
  --steel: #4a3f35;
  --slate: #6e6154;      /* texte secondaire, ~6:1 sur --white/--off-white */
  --slate-soft: #a79c8c;
  --off-white: #efe4d2;  /* papier kraft (sections alternees) */
  --white: #fffbf3;      /* papier clair (cartes, header) */
  --orange: #9c3a32;     /* brique, accent — repris du logo */
  --orange-dark: #7a2c26;
  --line: rgba(42, 36, 32, 0.16);
  --success: #3f7d3a;

  --font-display: 'Bitter', Georgia, serif;
  --font-sub: 'Karla', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Karla', 'Segoe UI', system-ui, sans-serif;

  --radius: 12px;
  --container: 1160px;
  --shadow-card: 0 6px 16px rgba(42, 36, 32, 0.10);
  --shadow-lg: 0 18px 40px rgba(42, 36, 32, 0.18);
}

/* --- Reset minimal -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.block-image { margin: 24px 0; }
.block-image img { border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* Espace reserve pour une photo pas encore fournie (jamais une fausse photo) */
.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--slate-soft);
  text-align: center;
  padding: 24px;
}
.image-placeholder span { font-size: 2rem; }
.image-placeholder p { margin: 0; font-size: 0.85rem; max-width: 220px; }

.block-avant-apres { margin: 24px 0; }
.avant-apres-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.avant-apres-item { position: relative; min-width: 0; }
.avant-apres-item img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; }
.avant-apres-item .image-placeholder { min-height: 180px; }
.avant-apres-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}
.block-avant-apres figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--slate); text-align: center; }
@media (max-width: 640px) {
  .avant-apres-grid { grid-template-columns: 1fr; }
}
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 72px; }
.section-tight { padding-block: 40px; }
.eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow::before { content: ""; }

/* Filet de section en double trait decale, comme un rapide trace crayon +
   repasse a l'encre — signature discrete plutot qu'un simple hairline. */
.divider {
  border: none;
  height: 6px;
  margin: 0;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 5px / 100% 1px no-repeat;
  opacity: 0.85;
}

/* --- Bandeau contact (topbar), repris de site actuelle -------------------- */
.topbar { background: var(--black); color: #fff; font-size: 0.9rem; }
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-contacts { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.topbar-contacts a { color: #fff; text-decoration: none; }
.topbar-contacts a:hover { text-decoration: underline; }
.topbar-dot { opacity: 0.7; }

/* --- En-tete / navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  color: var(--black);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 6px 18px rgba(42, 36, 32, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.logo {
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid var(--orange);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text-name { display: block; font-size: 1rem; text-transform: uppercase; font-weight: 800; }
.logo-text-tag { display: block; font-size: 0.78rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 1;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.main-nav a:hover { background: var(--off-white); }
.main-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(156, 58, 50, 0.35);
}
.main-nav a.nav-cta:hover { background: var(--orange-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--black);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1rem;
}

/* --- Boutons (rectangles a coins legerement arrondis, pas des pilules,
   comme sur site actuelle). Le bouton primaire a un coin chanfreine (haut-
   droit) façon coupe d'assemblage — seule touche "coupee a la main" du
   systeme de boutons, volontairement discrete. ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
/* Fond brique fonce : texte papier (pas encre) pour rester au-dessus du
   ratio WCAG AA (4,5:1) — le papier passe a 7,4:1 sur cette brique. */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(156, 58, 50, 0.35);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-ghost-paper { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost-paper:hover { background: #fff; color: var(--black); }

/* --- Bandeau degrade diagonal (navy/accent tres attenue), repris de
   site actuelle : utilise derriere le hero et en tete des pages ville/tarifs */
.glow-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(42, 36, 32, 0.06), rgba(156, 58, 50, 0.06));
}
.glow-banner .container { position: relative; }

/* --- Hero ------------------------------------------------------------------ */
.hero { padding-block: 64px 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); color: var(--black); margin-top: 12px; }
.hero-lead { font-size: 1.1rem; color: rgba(42, 36, 32, 0.85); max-width: 46ch; margin-top: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; margin-bottom: 22px; }

/* Badges de confiance ("trust"), pilules blanches bordees ------------------ */
.hero-badges { display: flex; gap: 12px; margin-top: 0; flex-wrap: wrap; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.hero-badge strong { color: var(--black); font-family: var(--font-display); font-weight: 800; }

/* --- Panneau hero blanc a liste de coches, repris de site actuelle ------- */
.hero-panel {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--orange);
  display: grid;
  gap: 14px;
}
.hero-panel h2 { font-size: 1.15rem; }
.hero-panel p { color: rgba(42, 36, 32, 0.75); margin: 0; }
.panel-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.panel-list li { padding-left: 24px; position: relative; font-weight: 600; }
.panel-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); }

/* --- Cartes ------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(42, 36, 32, 0.12); }
/* Reperes d'angle façon plan technique, au survol seulement — clin d'oeil
   discret au croisillon esquisse du logo, sans surcharger les cartes. */
a.card::before, a.card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
a.card::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
}
a.card::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
}
a.card:hover::before, a.card:hover::after { opacity: 1; }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(156, 58, 50, 0.14);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--slate); font-size: 0.92rem; margin-bottom: 0; }

/* Carte modele (grille "modeles populaires") avec CTA orange plein -------- */
.model-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  box-shadow: var(--shadow-card);
}
.model-card .model-icon {
  width: 100%;
  height: 84px;
  border-radius: 10px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.model-card .model-icon svg { width: 36px; height: 36px; stroke: var(--slate); }
.model-card h3 { font-size: 0.98rem; margin-bottom: 4px; }
.model-card p { font-size: 0.84rem; color: var(--slate); margin-bottom: 14px; }
.model-card .btn { width: 100%; padding: 10px; font-size: 0.88rem; }

/* --- Boutique (produits neufs/reconditionnes, vente en magasin) ---------- */
.product-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
}
.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--off-white);
}
.product-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.product-card-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 18px 0; }
.product-card h3 { font-size: 1rem; padding: 10px 18px 0; margin-bottom: 0; }
.product-card-price { font-family: var(--font-display); font-weight: 800; color: var(--orange); padding: 6px 18px 18px; margin: 0; }
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag-etat { background: var(--off-white); color: var(--slate); border: 1px solid var(--line); }
.tag-stock-on { background: rgba(26,127,55,0.12); color: var(--success); }
.tag-stock-off { background: rgba(18,18,18,0.08); color: var(--slate); }
@media (max-width: 640px) {
  .product-card-image { height: 160px; }
}

/* --- Avis / etoiles ------------------------------------------------------ */
.rating-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; }
.review-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  font-size: 0.92rem;
}
.review-card .stars { font-size: 0.85rem; margin-bottom: 8px; display: block; }
.review-author { font-weight: 700; margin-top: 10px; display: block; font-family: var(--font-display); }
.review-ville { font-weight: 400; color: var(--slate); font-family: var(--font-body); }

/* --- Section titres ------------------------------------------------------ */
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 10px; }
.section-head p { color: var(--slate); margin-top: 12px; }
.section-head.center { max-width: none; text-align: center; margin-inline: auto; }

/* --- Section "highlight" (fond blanc, filet accent en tete), section
   scindee en 2 et puces "pourquoi nous choisir" — repris de site actuelle */
.section.highlight { background: var(--white); border-top: 4px solid var(--orange); }
.split { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.section.why { background: var(--off-white); }
.bullets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bullets p {
  background: var(--white);
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
  text-align: center;
  margin: 0;
}

/* --- Bandeau zone d'intervention (carte blanche, filet accent, chip marine) */
.zone-banner {
  margin-top: 24px;
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
}
.zone-chip { padding: 10px 18px; border-radius: 999px; background: var(--black); color: #fff; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .zone-banner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
}

/* --- Atelier / localisation (remplace la rangee multi-boutiques de la
   reference : un seul point de vente ici) ----------------------------------- */
.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.location-card .location-info { padding: 40px; }
.location-card .location-map { min-height: 260px; background: var(--off-white); }
.location-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.location-card p { color: rgba(255,255,255,0.72); }
.location-card .location-detail { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.94rem; color: rgba(255,255,255,0.85); }
.location-card .location-detail strong { color: #fff; min-width: 90px; font-family: var(--font-display); font-weight: 700; }

/* Variante claire du meme motif ligne-detail (ex: bloc coordonnees contact) */
.detail-row { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.94rem; color: var(--black); }
.detail-row strong { min-width: 90px; font-family: var(--font-display); font-weight: 700; }

/* --- Bandeau CTA marine avant le footer, repris de site actuelle --------- */
.cta-banner {
  background: var(--black);
  color: #fff;
  padding-block: 45px;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 6px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 0; margin-bottom: 0; }

/* --- Section contact (carte coordonnees), repris de site actuelle -------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.contact-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid var(--line);
}
.contact-card p { margin: 0 0 8px; }
.contact-card p:last-child { margin-bottom: 0; }

/* --- Chips de marque (page ville, catalogue condense) ---------------------- */
.marque-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.marque-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
a.marque-chip:hover { border-color: var(--orange); color: var(--orange); }
.marque-chip-count {
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--slate);
  background: var(--off-white);
  border-radius: 999px;
  padding: 1px 7px;
}

/* --- Liste villes / zone d'intervention ----------------------------------- */
.villes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.villes-grid a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  font-size: 0.92rem;
}
.villes-grid a:hover { border-color: var(--orange); color: var(--orange); }
.villes-grid a span { display: block; font-family: var(--font-sub); font-size: 0.72rem; color: var(--slate); font-weight: 400; margin-top: 2px; }

/* --- Tableau tarifs -------------------------------------------------------- */
.price-before { display: inline-block; font-family: var(--font-body); font-weight: 400; color: var(--slate); text-decoration: line-through; margin-right: 6px; font-size: 0.85em; }

/* --- FAQ (details/summary natif, zero JS) --------------------------------- */
.faq-item { background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq-item summary {
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--orange); font-size: 1.3rem; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 18px; color: var(--slate); }

/* --- Breadcrumb ------------------------------------------------------------ */
.breadcrumb { font-family: var(--font-sub); font-size: 0.78rem; color: var(--slate); margin-bottom: 20px; letter-spacing: 0.02em; }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

/* --- Tarifs en direct (fetch cote navigateur du Google Sheet publie) ------ */
.tarifs-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.tarifs-tab {
  font-family: var(--font-sub);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--off-white);
  color: var(--black);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tarifs-tab:hover { border-color: var(--orange); }
.tarifs-tab.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.tarifs-search { max-width: 380px; margin-bottom: 26px; }
.tarifs-search input {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.tarifs-search input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }

.tarifs-section { display: none; }
.tarifs-section.active { display: block; }
.tarifs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tarifs-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.tarifs-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--black); }
.tarifs-card p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--slate);
  margin: 8px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.tarifs-card p:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tarifs-card .price { font-weight: 800; color: var(--orange); font-family: var(--font-display); white-space: nowrap; }

/* --- Liste a puces des pages de contenu (CRUD Pages, bloc "liste") ------- */
.block-liste { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; }
.block-liste li { position: relative; padding-left: 22px; color: var(--slate); font-size: 0.95rem; }
.block-liste li::before { content: "•"; position: absolute; left: 4px; color: var(--orange); font-weight: 800; }

/* --- Formulaire contact ---------------------------------------------------- */
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.85rem; font-weight: 700; }
.form-field input, .form-field textarea, .form-field select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--orange); }

/* --- Reseaux sociaux --------------------------------------------------------- */
.social-list { display: flex; flex-direction: column; gap: 12px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  font-size: 0.95rem;
}
.social-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.social-link:hover .social-badge { background: var(--orange); color: var(--white); }

.social-row { display: flex; gap: 10px; }
.social-row .social-badge { width: 32px; height: 32px; }
.social-row a { text-decoration: none; }

/* --- Footer ----------------------------------------------------------------- */
.site-footer { background: #1c1712; color: rgba(255,255,255,0.7); padding-block: 52px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--orange); }
.site-footer li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 32px; padding-top: 18px; font-size: 0.8rem; color: rgba(255,255,255,0.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* --- Bandeau de consentement cookies (Google Analytics) --------------------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--black); color: rgba(255,255,255,0.85); box-shadow: 0 -8px 24px rgba(18,18,18,0.18); }
.cookie-banner-inner { max-width: var(--container); margin-inline: auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner-inner p { margin: 0; font-size: 0.88rem; max-width: 62ch; }
.cookie-banner-inner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* --- Alertes admin/formulaires (reutilise cote admin) ----------------------- */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: rgba(26,127,55,0.1); color: var(--success); }
.alert-error { background: rgba(243,154,30,0.15); color: var(--orange-dark); }

/* --- Responsive -------------------------------------------------------------- */
@media (max-width: 900px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-contacts { justify-content: center; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .villes-grid { grid-template-columns: repeat(2, 1fr); }
  .location-card { grid-template-columns: 1fr; }
  .location-card .location-map { min-height: 200px; }
}
@media (max-width: 640px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 6px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 12px 24px rgba(42, 36, 32, 0.12);
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .bullets { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .villes-grid { grid-template-columns: 1fr; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}
