/* ==========================================================================
   Boost Creator Agency : design system (identique au site de référence)
   Points de rupture : mobile < 768 px, tablette 768 à 1099 px, desktop >= 1100 px.
   Les marges des sections sont gérées par elementor-bca.css.
   ========================================================================== */

/* ---------- 1. Jetons de design (identiques aux variables Figma) ---------- */
:root {
  --bleu: #1500ff;
  --noir: #000000;
  --blanc: #ffffff;
  --bleu-teinte: rgba(21, 0, 255, 0.05);
  --trait-clair: rgba(0, 0, 0, 0.12);
  --trait-sombre: rgba(255, 255, 255, 0.14);
  --verre: rgba(255, 255, 255, 0.06);
  --police-titre: "Poppins", system-ui, sans-serif;
  --police-texte: "Inter", system-ui, sans-serif;
  --h1: 64px;
  --h2: 44px;
  --h3: 24px;
  --h4: 18px;
  --prix: 48px;
  --grand: 20px;
  --normal: 16px;
  --petit: 14px;
  --label: 15px;
  --surtitre: 13px;
  --mot-geant: 214px;
  --mot-geant-page: 180px;
  --gouttiere: 120px;
  --section: 120px;
  --rayon-carte: 20px;
  --rayon-image: 28px;
  --entete: 88px;
}
@media (max-width: 1099px) {
  :root {
    --h1: 52px;
    --h2: 38px;
    --h3: 22px;
    --prix: 44px;
    --grand: 18px;
    --mot-geant: 150px;
    --mot-geant-page: 130px;
    --gouttiere: 40px;
    --section: 88px;
    --entete: 64px;
  }
}
@media (max-width: 767px) {
  :root {
    --h1: 40px;
    --h2: 30px;
    --h3: 20px;
    --prix: 40px;
    --grand: 17px;
    --mot-geant: 76px;
    --mot-geant-page: 74px;
    --gouttiere: 20px;
    --section: 64px;
    --rayon-carte: 18px;
    --rayon-image: 20px;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: var(--normal);
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--bleu); color: var(--blanc); font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.sombre :focus-visible, .bleu :focus-visible, .entete :focus-visible, .menu-mobile :focus-visible { outline-color: var(--blanc); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 3. Typographie ---------- */
.h1, .h2, .h3, .h4, .prix { font-family: var(--police-titre); }
.h1 { font-size: var(--h1); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; }
.h2 { font-size: var(--h2); font-weight: 700; line-height: 1.15; letter-spacing: -1px; }
.h3 { font-size: var(--h3); font-weight: 600; line-height: 1.3; }
.h4 { font-size: var(--h4); font-weight: 600; line-height: 1.35; }
.prix { font-size: var(--prix); font-weight: 700; line-height: 1.1; letter-spacing: -1px; }
.grand { font-size: var(--grand); line-height: 1.55; }
.petit { font-size: var(--petit); line-height: 1.5; }
.label { font-size: var(--label); font-weight: 600; line-height: 1.4; }
.surtitre { font-size: var(--surtitre); font-weight: 600; line-height: 1.4; letter-spacing: 2px; text-transform: uppercase; color: var(--bleu); }
@media (max-width: 767px) {
  .h1 { letter-spacing: -1px; line-height: 1.12; }
  .h2 { letter-spacing: -0.5px; line-height: 1.2; }
}
.texte-bleu { color: var(--bleu); }
.attenue { opacity: 0.72; }
.attenue-75 { opacity: 0.75; }
.attenue-60 { opacity: 0.6; }

/* ---------- 4. Mise en page ---------- */
.conteneur { width: 100%; max-width: calc(1200px + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.blanc { background: var(--blanc); color: var(--noir); }
.teinte { background: var(--bleu-teinte); color: var(--noir); }
.sombre { background: var(--noir); color: var(--blanc); }
.bleu { background: var(--bleu); color: var(--blanc); }
.sombre .surtitre, .bleu .surtitre, .fond-photo .surtitre, .hero .surtitre { color: rgba(255, 255, 255, 0.7); }

/* ---------- 5. Boutons (en-tête, menu, formulaire) ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--police-texte); font-size: var(--label); font-weight: 600; line-height: 1.4;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.bouton:hover { transform: translateY(-1px); }
.bouton.bouton--primaire { background: var(--bleu); color: var(--blanc); }
.bouton.bouton--primaire:hover { box-shadow: 0 10px 28px rgba(21, 0, 255, 0.35); }
.bouton.bouton--blanc { background: var(--blanc); color: var(--noir); }
.bouton.bouton--plein { width: 100%; }

/* ---------- 6. En-tête et menu mobile ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: var(--noir); color: var(--blanc); }
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 0; } }
.entete .conteneur { height: var(--entete); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.entete__logo img { width: 92px; height: 56px; object-fit: contain; }
.entete__nav ul { display: flex; gap: 36px; margin: 0; }
.entete__nav a { display: block; padding: 10px 0; font-size: var(--label); font-weight: 600; text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 2px; color: var(--blanc); }
.entete__nav a:hover, .entete__nav a[aria-current="page"] { text-decoration-line: underline; }
.entete__actions { display: flex; align-items: center; gap: 14px; }
.entete__audit-court { display: none; }
.entete__burger { display: none; width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; color: var(--blanc); cursor: pointer; }
@media (max-width: 1099px) {
  .entete__nav, .entete__audit-long { display: none; }
  .entete__logo img { width: 66px; height: 40px; }
  .entete__audit-court { display: inline-flex; padding: 9px 14px; font-size: var(--petit); }
  .entete__burger { display: inline-flex; align-items: center; justify-content: center; }
}
.menu-mobile { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; background: var(--noir); color: var(--blanc); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; }
.menu-mobile.ouvert { opacity: 1; visibility: visible; }
.menu-mobile__barre { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gouttiere); }
.menu-mobile__barre img { width: 66px; height: 40px; object-fit: contain; }
.menu-mobile__fermer { width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; color: var(--blanc); cursor: pointer; }
.menu-mobile nav { padding: 32px var(--gouttiere) 0; }
.menu-mobile nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--police-titre); font-size: 30px; font-weight: 700; line-height: 1.2; text-decoration: none; color: var(--blanc); }
.menu-mobile nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-mobile__bas { display: flex; flex-direction: column; gap: 14px; padding: 32px var(--gouttiere) 40px; }
.menu-mobile__bas p { opacity: 0.72; }
body.menu-ouvert { overflow: hidden; }

/* ---------- 7. Éléments de contenu (dans les widgets Éditeur de texte) ---------- */
.engagements { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.engagements li { display: flex; align-items: center; gap: 8px; font-size: var(--label); font-weight: 600; opacity: 0.9; }
@media (max-width: 767px) {
  .engagements { flex-direction: column; gap: 8px; }
  .engagements li { font-size: var(--petit); font-weight: 400; }
}
.mot-geant { display: block; margin-top: 36px; font-family: var(--police-titre); font-size: var(--mot-geant); font-weight: 700; line-height: 0.88; letter-spacing: -4px; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3); white-space: nowrap; user-select: none; }
.hero:not(.hero--accueil) .mot-geant { font-size: var(--mot-geant-page); margin-top: 6px; }
@media (max-width: 767px) {
  .mot-geant { margin-top: 4px; letter-spacing: -2px; -webkit-text-stroke-width: 1.5px; -webkit-text-stroke-color: rgba(255, 255, 255, 0.32); }
}
.numero { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--bleu); color: var(--blanc); font-family: var(--police-titre); font-size: var(--h4); font-weight: 600; }
@media (max-width: 767px) { .numero { width: 40px; height: 40px; font-family: var(--police-texte); font-size: var(--label); } }
.etiquette { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(21, 0, 255, 0.08); color: var(--bleu); font-size: var(--surtitre); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.etiquette--sombre { background: rgba(0, 0, 0, 0.7); color: var(--blanc); }
.etiquette--claire { background: rgba(255, 255, 255, 0.12); color: var(--blanc); }
.etiquette--blanche { background: var(--blanc); color: var(--bleu); }
.puces { display: flex; flex-direction: column; gap: 12px; }
.puces li { display: flex; gap: 12px; align-items: flex-start; }
.puces li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background-color: var(--bleu);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.puces--blanches li::before, .sombre .puces li::before, .hero .puces li::before, .carte--bleue .puces li::before, .carte--verre .puces li::before { background-color: var(--blanc); }
.puces span { opacity: 0.85; }
.puces--petites { gap: 12px; font-size: var(--petit); }
@media (max-width: 767px) { .puces li { gap: 10px; } }
.citation { padding-left: 20px; border-left: 3px solid var(--bleu); }
.note-source { max-width: 900px; opacity: 0.55; }
.numero-service { font-family: var(--police-titre); font-size: var(--h3); font-weight: 600; opacity: 0.6; }
.icone-plateforme { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--noir); color: var(--blanc); font-family: var(--police-titre); font-size: var(--h3); font-weight: 600; }
.icone-plateforme--bleue { background: var(--bleu); }
@media (max-width: 767px) { .icone-plateforme { width: 44px; height: 44px; border-radius: 12px; } }
.formule__prix { display: flex; flex-direction: column; gap: 4px; }
.formule__prix p { white-space: nowrap; }
.prix-unite { font-size: var(--petit); opacity: 0.8; }
.formule-detaillee .formule__prix .h2 { font-size: clamp(30px, 2.6vw, var(--h2)); }
@media (max-width: 767px) {
  .formule__prix { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px; }
  .formule__prix--pile { flex-direction: column; align-items: flex-start; gap: 2px; }
  .formule__prix--pile .h2 { font-size: var(--prix); }
}
.separateur { height: 1px; background: var(--trait-clair); border: 0; margin: 0; width: 100%; }
.carte--bleue .separateur { background: rgba(255, 255, 255, 0.3); }
.photo-fondateur { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 420px; height: 480px; border-radius: 28px; background: var(--noir); color: var(--blanc); }
@media (max-width: 1099px) { .photo-fondateur { max-width: none; } }
@media (max-width: 767px) { .photo-fondateur { height: 380px; border-radius: 22px; } }
.info-contact { display: flex; flex-direction: column; gap: 4px; }
.info-contact .surtitre { color: rgba(255, 255, 255, 0.6); }
.info-contact a { text-decoration: none; }
.etapes-contact { display: flex; flex-direction: column; gap: 16px; padding: 0; list-style: none; }
.etapes-contact li { display: flex; align-items: center; gap: 14px; }
.etapes-contact .numero { width: 36px; height: 36px; font-family: var(--police-texte); font-size: var(--label); }

/* ---------- 8. Formulaire de contact ---------- */
.formulaire { display: flex; flex-direction: column; gap: 24px; }
.formulaire .ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 767px) { .formulaire { gap: 18px; } .formulaire .ligne { grid-template-columns: 1fr; gap: 18px; } }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ label { font-size: var(--label); font-weight: 600; }
.champ input, .champ select, .champ textarea { width: 100%; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 12px; background: var(--blanc); color: var(--noir); font: inherit; font-size: var(--normal); }
.champ select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23000' stroke-opacity='.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.champ textarea { min-height: 150px; resize: vertical; }
.champ ::placeholder { color: rgba(0, 0, 0, 0.45); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(21, 0, 255, 0.15); }
.champ [aria-invalid="true"] { border-color: #c00018; }
.formulaire__message { font-size: var(--petit); }
.formulaire__message:empty { display: none; }
.formulaire .bouton { align-self: flex-start; }
@media (max-width: 767px) { .formulaire .bouton { align-self: stretch; } }

/* ---------- 9. Pied de page ---------- */
.pied { background: var(--noir); color: var(--blanc); padding: 72px 0 36px; }
.pied .conteneur { display: flex; flex-direction: column; gap: 48px; }
.pied__colonnes { display: flex; justify-content: space-between; gap: 64px; }
.pied__marque { display: flex; flex-direction: column; gap: 20px; max-width: 340px; }
.pied__marque img { width: 148px; height: 90px; object-fit: contain; object-position: left; }
.pied__colonne { display: flex; flex-direction: column; gap: 14px; }
.pied__colonne .surtitre { color: var(--blanc); }
.pied__colonne a, .pied__colonne p, .pied__marque p { opacity: 0.72; text-decoration: none; color: var(--blanc); }
.pied__colonne a:hover { opacity: 1; text-decoration: underline; }
.pied__trait { height: 1px; background: rgba(255, 255, 255, 0.16); }
.pied__bas { display: flex; justify-content: space-between; gap: 24px; font-size: var(--petit); }
.pied__bas p { opacity: 0.6; }
@media (max-width: 1099px) {
  .pied__colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .pied__marque { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 767px) {
  .pied { padding: 48px 0 28px; }
  .pied .conteneur { gap: 28px; }
  .pied__colonnes { gap: 28px 24px; }
  .pied__marque { gap: 28px; }
  .pied__marque img { width: 106px; height: 64px; }
  .pied__colonne--services { display: none; }
  .pied__colonne { gap: 10px; }
  .pied__bas { flex-direction: column; gap: 8px; }
  .pied__bas .pied__lieu { display: none; }
}

/* ---------- 10. Utilitaires ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
