/* BeeConnect - landing provisoire
   Valeurs reprises de la maquette Figma « BeeConnect - Mes déplacements ».
   Polices auto-hébergées (Boldonse et Barlow Semi Condensed, licence OFL). */
@font-face { font-family: "Boldonse"; src: url("fonts/boldonse-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Variables Figma */
  --jaune: #fbba06;
  --jaune-mots: #fdcb60;
  --violet: #662682;
  --turquoise: #00a19a;
  --bouton: #007d77;
  --fond: #faf8f4;
  --blanc: #ffffff;
  --encre: #2b2833;
  --gris-texte: #5e5a66;
  --bordure: #e6e1d8;
  --titre: "Boldonse", "Arial Black", sans-serif;
  --texte: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --marge: clamp(20px, 8.333vw, 120px);   /* 120 px sur 1440 */
  --section: clamp(56px, 6.667vw, 96px);  /* 96 px sur 1440 */
  --biseau: 2.688vw;                      /* 38,71 px sur 1440, soit 1,5° */
  --logo: clamp(132px, 18vw, 259px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--texte); font-weight: 300; font-size: 16px; line-height: 1.45;
  color: var(--encre); background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
p { margin: 0; }
a { color: var(--bouton); font-weight: 700; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 3px; }
.sur-couleur :focus-visible { outline-color: var(--blanc); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--blanc); padding: 10px 16px; }

.wrap { padding-inline: var(--marge); max-width: 1440px; margin-inline: auto; }

/* Titres */
.titre-section {
  font-family: var(--titre); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; letter-spacing: -0.16px;
  color: var(--violet); margin: 0;
}
.titre-hero {
  font-family: var(--titre); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 5vw, 72px); line-height: 1.1; letter-spacing: -0.72px;
  color: var(--violet); margin: 0;
}
.intro { font-size: 18px; line-height: 1.4; }
.intro-couleur { font-weight: 400; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.4; }
.accroche { font-weight: 600; font-size: 18px; line-height: 1.4; }
.accroche em { font-style: italic; text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 6px; text-decoration-skip-ink: none; text-underline-offset: 0; }

/* Bouton principal */
.bouton {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border: 0; border-radius: 999px;
  background: var(--bouton); color: var(--blanc);
  font-family: var(--texte); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: filter 0.15s ease;
}
.bouton:hover { filter: brightness(0.9); }
.bouton img { flex: none; }
.bouton--violet { background: var(--violet); }

/* Biseau 1,5° en haut de section */
.biseau { position: relative; }
.biseau::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: var(--biseau); background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.biseau--inverse::before { clip-path: polygon(0 0, 100% 100%, 0 100%); }

/* En-tête */
.entete { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.entete .wrap { display: flex; justify-content: space-between; align-items: flex-start; }
.marque { position: relative; display: block; padding-top: calc(var(--logo) * 0.108); text-decoration: none; }
.marque::before {
  content: ""; position: absolute; z-index: -1;
  width: calc(var(--logo) * 1.216); aspect-ratio: 1;
  left: calc(var(--logo) * -0.112); top: calc(var(--logo) * -0.54);
  background: var(--blanc); border-radius: 3px; transform: rotate(-1.5deg);
}
.marque img { width: var(--logo); height: auto; margin-bottom: calc(var(--logo) * -0.073); }
.marque span { display: block; font-weight: 500; font-size: clamp(12px, 1.1vw, 16px); line-height: 1.2; color: var(--violet); }
.entete .bouton { margin-top: clamp(16px, 2.7vw, 39px); }

/* Hero : illustration mobilités */
.hero { background: var(--jaune); aspect-ratio: 1440 / 693; min-height: 300px; max-height: 760px; width: 100%; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }

/* Bandeau des pages intérieures : texture de mots */
.bandeau { position: relative; background: var(--jaune); overflow: hidden; padding: clamp(150px, 20vw, 293px) 0 clamp(60px, 9.7vw, 140px); }
.bandeau__mots {
  position: absolute; inset: 0; pointer-events: none; user-select: none;
  font-family: var(--titre); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.1; letter-spacing: -0.72px; color: var(--jaune-mots);
}
.bandeau__mots span { display: block; }
.bandeau__mots span:nth-child(1) { margin: -0.33em 0 0 -40px; }
.bandeau__mots span:nth-child(2) { margin-left: -150px; }
.bandeau__mots span:nth-child(3) { margin-left: -70px; }
.bandeau__mots span:nth-child(4) { margin-left: -10px; }
.bandeau__mots span:nth-child(5) { margin-left: -120px; }
.bandeau__mots span:nth-child(6) { margin-left: -60px; }
.bandeau .wrap { position: relative; }

/* Sections */
.section { padding-block: var(--section); }
.section--blanc { background: var(--blanc); }
.section--fond { background: var(--fond); }
.section--violet { background: var(--violet); color: var(--blanc); }
.section--turquoise { background: var(--turquoise); color: var(--blanc); }
.section--violet .titre-section, .section--turquoise .titre-section { color: var(--blanc); }
.colonnes { display: flex; gap: clamp(32px, 5.56vw, 80px); align-items: flex-start; }
.colonnes > * { flex: 1 1 0; min-width: 0; }
.pile { display: flex; flex-direction: column; align-items: flex-start; }

/* Présentation */
.presentation { padding-top: clamp(56px, 4.6vw, 66px); }
.presentation .pile--titre { gap: 40px; }
.presentation .pile--texte { gap: 20px; }
.presentation .pile--texte .bouton { margin-top: 28px; }
.anim { width: 100%; aspect-ratio: 560 / 235; object-fit: cover; }

/* Mes déplacements */
.modes { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.modes__entete { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.modes ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; width: 100%; }
.modes li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-inline: 12px;
  font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: 0.78px; text-transform: uppercase; }

/* Entreprises */
.entreprises .pile { gap: 24px; }
.entreprises .titre-section { max-width: 720px; }
.entreprises .intro-couleur { max-width: 600px; }

/* Accompagnement et prestations */
.accompagnement .pile { gap: 24px; }
.prestations { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.prestations li { display: flex; gap: 24px; align-items: flex-start; padding-block: 12px; }
.prestations .num { flex: none; width: 71px; font-family: var(--titre); font-size: 40px; line-height: 1.1; color: var(--jaune); }
.prestations h3 { margin: 0 0 6px; font-family: var(--titre); font-weight: 400; font-size: 20px; line-height: 1.35; color: var(--violet); }

/* Formulaire */
.inscription__intro { flex: 0 0 360px; display: flex; flex-direction: column; gap: 14px; }
.champs { display: flex; flex-direction: column; gap: 20px; }
.ligne { display: flex; gap: 20px; }
.ligne > * { flex: 1 1 0; min-width: 0; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ label, .champ legend {
  font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: 1.12px; text-transform: uppercase; color: var(--violet); padding: 0;
}
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ select, .champ textarea {
  width: 100%; height: 52px; padding: 0 14px 0 16px;
  background: var(--blanc); border: 1.5px solid var(--bordure); border-radius: 3px;
  font-family: var(--texte); font-weight: 300; font-size: 16px; line-height: 1.2; color: var(--encre);
}
.champ textarea { height: 160px; padding-top: 14px; resize: vertical; }
.champ select { appearance: none; background-image: url("assets/chevron.svg"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.champ select:invalid { color: var(--gris-texte); }
.champ ::placeholder { color: var(--gris-texte); opacity: 1; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--bouton); outline-offset: 0; border-color: var(--bouton); }
fieldset.champ { border: 0; margin: 0; padding: 0; }
fieldset.champ legend { margin-bottom: 12px; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.case { display: flex; gap: 12px; align-items: center; font-weight: 400; font-size: 16px; line-height: 1.3; color: var(--encre); cursor: pointer; }
.case input { flex: none; appearance: none; width: 20px; height: 20px; margin: 0; background: var(--blanc); border: 1.5px solid #cfc8bb; border-radius: 3px; cursor: pointer; }
.case input:checked { background: var(--bouton) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; border-color: var(--bouton); }
.case--consentement { font-size: 14px; color: var(--gris-texte); align-items: flex-start; }
.case--consentement a { font-weight: 600; }
.champs .bouton { align-self: flex-start; }
.pot { position: absolute; left: -9999px; }

/* Pied de page */
.pied { background: var(--violet); color: var(--blanc); padding-block: 48px; margin-top: var(--biseau); }
.pied .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.pied__signature { display: flex; flex-direction: column; gap: 8px; }
.pied__signature strong { font-family: var(--titre); font-weight: 400; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; letter-spacing: -0.16px; color: var(--jaune); }
.pied nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.pied nav a { font-weight: 400; font-size: 17px; line-height: 1.2; color: var(--blanc); text-decoration: none; }
.pied nav a:hover { text-decoration: underline; }

/* Pages légales et confirmation */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--titre); font-weight: 400; font-size: 20px; line-height: 1.35; color: var(--violet); margin: 44px 0 12px; }
.prose p, .prose ul { font-size: 18px; line-height: 1.4; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose .bouton { margin-top: 20px; }
.todo { background: #fde9a6; padding: 0 4px; border-radius: 3px; font-weight: 400; }

@media (max-width: 860px) {
  .colonnes { flex-direction: column; }
  .colonnes > * { flex: none; width: 100%; }
  .hero { aspect-ratio: 390 / 380; }
  .presentation .pile--titre { gap: 24px; }
  .modes ul { flex-wrap: wrap; gap: 28px 0; }
  .modes li { flex: 0 0 50%; }
  .inscription__intro { flex: none; }
  .ligne { flex-direction: column; }
  .cases { grid-template-columns: 1fr; }
  .pied .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .entete .bouton { padding: 11px 18px; font-size: 15px; }
}

/* Correctifs */
.anim { height: auto; }
.champ label.case, .case { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 16px; color: var(--encre); }
.champs > .case--consentement { font-size: 14px; color: var(--gris-texte); }
.bandeau .titre-hero { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.28; max-width: 18ch; }

/* Carte d'inscription (lien vers Google Forms) */
.inscription__carte { background: var(--blanc); border: 1.5px solid var(--bordure); border-radius: 3px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.inscription__carte h3 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 20px; line-height: 1.35; color: var(--violet); }
.inscription__carte p, .inscription__carte ul { font-size: 18px; line-height: 1.4; margin: 0; }
.inscription__carte ul { padding-left: 20px; }
.inscription__carte li { margin-bottom: 6px; }
.inscription__carte .bouton { margin-top: 8px; }
.inscription__carte .petit { font-weight: 400; font-size: 14px; line-height: 1.3; color: var(--gris-texte); }
.inscription__carte .petit a { font-weight: 600; }

/* Bandeau d'accueil réduit pour remonter le contenu */
.hero { aspect-ratio: 1440 / 400; min-height: 240px; max-height: 440px; }
.hero img { object-position: center 35%; }
@media (max-width: 860px) { .hero { aspect-ratio: 390 / 250; } }

/* Audit : accessibilité et confort */
picture { display: block; width: 100%; }
.intro-couleur { font-weight: 700; font-size: 20px; }            /* blanc sur turquoise : passe en « grand texte » (3:1) */
.pied nav a { display: inline-flex; align-items: center; min-height: 44px; }
.prose a, .inscription__carte .petit a { padding-block: 4px; }
.skip:focus { min-height: 44px; display: inline-flex; align-items: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton { transition: none; }
}

/* Signature de l'agence */
.pied__credit { flex-basis: 100%; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; line-height: 1.3; color: var(--blanc); }
.pied__credit a { color: var(--blanc); font-weight: 600; display: inline-block; padding-block: 12px; }

/* CTA Devenez membre : bloc centré sur fond jaune, comme dans la maquette */
.section--jaune { background: var(--jaune); }
.adhesion { padding-top: calc(var(--section) + 23px); }
.adhesion .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.adhesion .intro { max-width: 640px; }
.adhesion .bouton { margin-top: 8px; }
.adhesion .petit { font-weight: 400; font-size: 14px; line-height: 1.3; color: var(--encre); max-width: 520px; }
.adhesion .petit a { color: var(--violet); font-weight: 600; padding-block: 4px; }

/* v8 : adhésion, tarifs, libellés */
.marque span { padding-left: calc(var(--logo) * 0.045); }
.note { font-weight: 400; font-size: 16px; padding-left: 14px; border-left: 4px solid var(--jaune); }
.adhesion .wrap { gap: 24px; }
.adhesion .qui, .adhesion .tarifs, .adhesion .suite { width: 100%; max-width: 860px; text-align: left; }
.adhesion .qui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; font-size: 16px; line-height: 1.4; }
.adhesion .qui strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 16px; color: var(--violet); margin-bottom: 4px; }
.tarifs { background: var(--blanc); border-radius: 3px; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.tarifs h3, .suite h3 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 20px; line-height: 1.35; color: var(--violet); }
.tarifs__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tarif { border: 1.5px solid var(--bordure); border-radius: 3px; padding: 18px 20px; font-size: 16px; line-height: 1.4; }
.tarif__qui { font-weight: 600; }
.tarif__prix { font-family: var(--titre); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; color: var(--violet); margin: 6px 0 4px; }
.tarifs ul, .suite ol { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.45; }
.tarifs li, .suite li { margin-bottom: 6px; }
.tarifs a { font-size: 16px; padding-block: 4px; display: inline-block; }
.suite { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) {
  .adhesion .qui, .tarifs__grille { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .entete .bouton { font-size: 14px; padding: 10px 14px; gap: 7px; }
}
@media (max-width: 520px) { .entete .bouton { display: none; } }

/* v9 : mobile et affichage zoomé */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.skip { left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; overflow: visible; clip-path: none; }
h1, h2, h3 { overflow-wrap: break-word; }

/* Logo : sous 1300 px, la mention passe sous le logo pour ne plus toucher le pointillé */
@media (max-width: 1300px) {
  .marque img { margin-bottom: 3px; }
  .marque::before { aspect-ratio: auto; height: calc(var(--logo) * 1.27 + 22px); }
}
@media (max-width: 700px) {
  :root { --logo: clamp(104px, 38vw, 150px); }
  .marque span { font-size: clamp(11px, 3.1vw, 12px); }
  .titre-hero { line-height: 1.2; }
  .titre-section { line-height: 1.3; }
  .tarifs h3, .suite h3 { line-height: 1.3; }
  .adhesion .petit a, .tarifs a, .pied a { display: inline-block; padding-block: 11px; }
}
/* Écrans très étroits ou zoom de page élevé */
@media (max-width: 340px) {
  :root { --marge: 16px; }
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
  .titre-hero { font-size: 27px; letter-spacing: -0.3px; }
  .titre-section { font-size: 21px; }
  .bouton { white-space: normal; text-align: left; max-width: 100%; }
  .modes li { flex-basis: 100%; }
  .tarif__prix { font-size: 24px; }
  .tarifs { padding: 16px; }
  .tarif { padding: 14px; }
}
@media (max-width: 340px) {
  .pied__signature strong { font-size: 18px; overflow-wrap: anywhere; }
  .pied nav { flex-wrap: wrap; gap: 0 20px; }
  .etapes li, .etape { min-width: 0; }
}

/* v13 : libellé plus long, bouton d'en-tête masqué plus tôt */
@media (max-width: 640px) { .entete .bouton { display: none; } }

/* v14 : bandeau de consentement */
.consentement { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin-inline: auto; padding: 18px 20px; background: var(--blanc); color: var(--encre); border: 2px solid var(--violet); border-radius: 12px; box-shadow: 0 8px 28px rgba(43, 40, 51, 0.22); font-size: 16px; line-height: 1.4; }
.consentement p { margin: 0 0 14px; }
.consentement a { color: var(--violet); font-weight: 600; }
.consentement__actions { display: flex; gap: 12px; }
.consentement__bouton { flex: 1 1 0; min-height: 44px; padding: 10px 16px; border: 2px solid var(--violet); border-radius: 999px; background: var(--blanc); color: var(--violet); font: inherit; font-weight: 600; cursor: pointer; }
.consentement__bouton:hover, .consentement__bouton:focus-visible { background: var(--violet); color: var(--blanc); }
.pied__cookies { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 400; font-size: 17px; line-height: 1.2; color: var(--blanc); cursor: pointer; }
.pied__cookies:hover { text-decoration: underline; }
.pied__cookies[hidden] { display: none; }
