/* ==========================================================================
   BLOOM CONCEPT — Feuille de style partagée
   Charte graphique du 25/08/26 (base 21/08 + déclinaison web section 5)
   ========================================================================== */

/* --- Polices auto-hébergées (Fraunces, Inter — fichiers variables, plus d'appel au CDN Google) --- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-var.woff2') format('woff2-variations'),
       url('../fonts/Fraunces-var.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-var.woff2') format('woff2-variations'),
       url('../fonts/Inter-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --- Design tokens --- */
:root {
  /* Couleurs de marque (charte, section 2) */
  --bleu-c: #1B4A82;
  --bleu-c-clair: #2C5FA0;   /* utilisé uniquement pour le dégradé des boutons/bandeaux, jamais seul */
  --dore: #C9A142;
  --ivoire: #F7F2E7;
  --blanc: #FFFFFF;

  /* Couleur web uniquement (charte, section 5 — pas une 5e couleur de marque) */
  --fond-web: #FBF9F6;

  /* Typo */
  --font-titres: 'Fraunces', Georgia, serif;
  --font-texte: 'Inter', -apple-system, Segoe UI, sans-serif;

  /* Rythme */
  --rayon: 4px;
  --ombre-carte: 0 2px 16px rgba(27, 74, 130, 0.08);
  --largeur-max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-texte);
  color: var(--bleu-c);
  background: var(--blanc);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.conteneur {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-titres);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--bleu-c);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 16px; }

a { color: inherit; }

img { max-width: 100%; display: block; }

section { padding: 72px 0; }
section.fond-alt { background: var(--fond-web); }

/* ==========================================================================
   Filet doré — deux lignes fines en dégradé, encadrent un bloc d'accroche
   ========================================================================== */
.filet-dore {
  height: 1px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--dore), transparent);
  border: none;
}

.bloc-accroche {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.bloc-accroche .filet-dore:first-child { margin-bottom: 24px; }
.bloc-accroche .filet-dore:last-child { margin-top: 24px; }

/* Variante pleine largeur, réservée au Hero : encadre tout le bloc
   (titre + sous-titre + boutons + badge crédibilité), pas seulement une accroche courte. */
.filet-dore-large {
  height: 1px;
  width: 100%;
  max-width: none;
  margin: 0;
  background: linear-gradient(to right, transparent, var(--dore) 15%, var(--dore) 85%, transparent);
  border: none;
}

/* ==========================================================================
   Filigrane — médaillon logo en très faible opacité, sceau discret
   ========================================================================== */
.filigrane {
  position: relative;
  isolation: isolate;
}
.filigrane::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background: url('../assets/logo-seul-transparent.png') center / contain no-repeat;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

/* Variante grand format "sceau", réservée au Hero */
.filigrane-grand::before {
  width: 520px;
  height: 520px;
}

/* ==========================================================================
   Boutons CTA — dégradé bleu C subtil, texte ivoire (jamais de bleu C en aplat)
   ========================================================================== */
.bouton {
  display: inline-block;
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--rayon);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bouton-principal {
  background: linear-gradient(135deg, var(--bleu-c) 0%, var(--bleu-c-clair) 100%);
  color: var(--ivoire);
  box-shadow: 0 4px 14px rgba(27, 74, 130, 0.25);
}
.bouton-principal:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27, 74, 130, 0.32); }

.bouton-secondaire {
  background: transparent;
  color: var(--bleu-c);
  border: 1px solid var(--bleu-c);
}
.bouton-secondaire:hover { background: var(--bleu-c); color: var(--ivoire); }

/* ==========================================================================
   Badge Crédibilité — petites capitales, séparateur trait vertical doré
   Pas de pastille, pas de fond coloré, pas d'émoji (charte section 5)
   ========================================================================== */
.badge-credibilite {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bleu-c);
  font-weight: 500;
}
.badge-credibilite span { display: inline-block; }
.badge-credibilite .separateur {
  width: 1px;
  height: 14px;
  background: var(--dore);
  display: inline-block;
}

/* ==========================================================================
   En-tête (Header)
   ========================================================================== */
.entete {
  background: var(--fond-web);
  border-bottom: 1px solid rgba(27, 74, 130, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.marque {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.marque-icone { height: 62px; width: 62px; }
.marque-texte {
  font-family: var(--font-titres);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--bleu-c);
  line-height: 1;
}
.marque-tm {
  font-family: var(--font-texte);
  font-size: 0.38em;
  font-weight: 500;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.7;
}
.entete-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.entete-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.entete-nav ul a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bleu-c);
}
.entete-nav ul a:hover { color: var(--dore); }

/* Bouton hamburger : caché par défaut, affiché uniquement sur mobile (voir media query) */
.menu-bascule {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-bascule span {
  display: block;
  height: 2px;
  background: var(--bleu-c);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.entete.menu-ouvert .menu-bascule span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.entete.menu-ouvert .menu-bascule span:nth-child(2) { opacity: 0; }
.entete.menu-ouvert .menu-bascule span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu déroulant mobile : liste des 3 pages, affiché seulement quand .entete a la classe .menu-ouvert */
.menu-mobile { display: none; }
.entete.menu-ouvert .menu-mobile { display: block; }
.menu-mobile ul {
  list-style: none;
  margin: 0;
  padding: 4px 24px 20px;
  display: flex;
  flex-direction: column;
}
.menu-mobile ul a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--bleu-c);
  border-bottom: 1px solid rgba(27, 74, 130, 0.08);
}
.menu-mobile ul li:last-child a { border-bottom: none; }
.menu-mobile ul a:hover { color: var(--dore); }

/* Bouton CTA du header : statique, fond bleu C plein, lettres dorées
   (distinct des autres CTA en dégradé, pour rester lisible dans le bandeau) */
.bouton-entete {
  background: var(--bleu-c);
  color: var(--dore);
}

/* ==========================================================================
   Hero — bloc d'ouverture de l'Accueil (Piste C : double filet doré,
   filigrane grand format, fond web, titre en dégradé)
   ========================================================================== */
.hero {
  background: var(--fond-web);
  padding: 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-contenu { max-width: 800px; margin: 0 auto; padding: 48px 0 40px; }

.hero h1 {
  font-family: var(--font-titres);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
  max-width: 760px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, var(--bleu-c) 0%, #143a68 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--bleu-c); /* repli si background-clip non supporté */
}

.hero-sous-titre {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  color: #3d5d85;
}

.hero-boutons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badge {
  padding-bottom: 8px;
}

.conteneur-etroit { max-width: 720px; margin: 0 auto; }

.liste-simple {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
.liste-simple li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.liste-simple li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dore);
}

.texte-fort {
  font-weight: 600;
  color: var(--bleu-c);
  font-size: 1.1rem;
}

.grille-cartes-texte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.carte-texte {
  background: var(--blanc);
  border: 1px solid rgba(27, 74, 130, 0.1);
  border-radius: var(--rayon);
  padding: 32px 28px;
  box-shadow: var(--ombre-carte);
}
.carte-texte h3 { margin-bottom: 12px; }

/* Accent or discret, réservé à la grille des Principes (La Méthode) */
.grille-principes .carte-texte h3 {
  position: relative;
  padding-top: 18px;
}
.grille-principes .carte-texte h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--dore);
}
.carte-texte p { margin: 0; font-size: 0.95rem; }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bleu-c);
  font-weight: 600;
  text-decoration: none;
}
.lien-fleche:hover { color: var(--dore); }

.accroche-texte {
  color: #3d5d85;
  font-size: 1.05rem;
}

.texte-cloture {
  text-align: center;
  max-width: 680px;
  margin: 48px auto 0;
  font-family: var(--font-titres);
  font-weight: 500;
  color: var(--bleu-c);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.35;
}

/* ==========================================================================
   Carte Chiffre — chiffre clé + description + source
   ========================================================================== */
.grille-chiffres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.carte-chiffre {
  background: var(--blanc);
  border: 1px solid rgba(27, 74, 130, 0.1);
  border-radius: var(--rayon);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--ombre-carte);
}
.carte-chiffre .chiffre {
  font-family: var(--font-titres);
  font-size: 3rem;
  font-weight: 600;
  color: var(--dore);
  line-height: 1;
  margin-bottom: 12px;
}
.carte-chiffre .description { font-size: 0.98rem; margin-bottom: 12px; }
.carte-chiffre .source {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(27, 74, 130, 0.6);
}

/* Grille ROI : 3 cartes, réutilise .carte-chiffre avec une grille à 3 colonnes */
.grille-roi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grille-roi .carte-chiffre .chiffre { font-size: 2.1rem; }

/* ==========================================================================
   Frise — 4 cartes horizontales reliées par des flèches (La Méthode)
   Remplace l'ancien stepper à cercles, esthétique .carte-chiffre
   ========================================================================== */
.frise {
  display: flex;
  align-items: stretch;
  margin-top: 56px;
}
.frise-carte {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--blanc);
  border: 1px solid rgba(27, 74, 130, 0.1);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-carte);
  padding: 26px 20px 24px;
}
.frise-carte-cadrage {
  background: var(--ivoire);
  border-color: rgba(201, 161, 66, 0.5);
}
.frise-marqueur {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.frise-numero {
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--dore);
  line-height: 1;
}
.frise-tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dore);
}
.frise-titre {
  font-family: var(--font-titres);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--bleu-c);
  margin: 0 0 6px;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frise-sous-titre-or {
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dore);
  margin: 0 0 10px;
}
.frise-texte {
  font-size: 0.85rem;
  color: #5a7398;
  margin: auto 0 0;
  padding-top: 8px;
}
.frise-fleche {
  flex: 0 0 26px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frise-fleche::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--dore);
}

@media (max-width: 900px) {
  .frise { flex-direction: column; }
  .frise-fleche { flex: 0 0 24px; width: 100%; }
  .frise-fleche::before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 11px solid var(--dore);
    border-bottom: none;
  }
}

/* ==========================================================================
   Détail des étapes (paragraphes complets sous la frise, La Méthode)
   ========================================================================== */
.hero-note {
  font-size: 0.9rem;
  color: #3d5d85;
  max-width: 560px;
  margin: 20px auto 0;
  text-align: center;
}
.etape-detail { margin-top: 56px; }
.etape-detail h3 { margin-bottom: 14px; }
.etape-detail > p:last-child { margin-bottom: 0; }
.session {
  padding-left: 20px;
  border-left: 2px solid rgba(201, 161, 66, 0.35);
  margin-bottom: 20px;
}
.session:last-child { margin-bottom: 0; }
.session h4 {
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--bleu-c);
  margin: 0 0 6px;
}
.session p { margin: 0; font-size: 0.94rem; }

/* ==========================================================================
   Tableau comparatif
   ========================================================================== */
.tableau-scroll { overflow-x: auto; }
.tableau-comparatif {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanc);
  font-size: 0.92rem;
  min-width: 720px;
}
.tableau-comparatif th, .tableau-comparatif td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 74, 130, 0.1);
  vertical-align: top;
}
.tableau-comparatif thead th {
  background: var(--bleu-c);
  color: var(--ivoire);
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: 0.85rem;
}
.tableau-comparatif thead th:first-child { border-top-left-radius: var(--rayon); }
.tableau-comparatif thead th:last-child { border-top-right-radius: var(--rayon); }
.tableau-comparatif tbody th {
  font-weight: 600;
  background: var(--fond-web);
}
.tableau-comparatif td.colonne-bloom {
  background: rgba(201, 161, 66, 0.08);
  font-weight: 500;
  border-left: 2px solid var(--dore);
  border-right: 2px solid var(--dore);
}

/* ==========================================================================
   Accordéon FAQ
   ========================================================================== */
.accordeon { max-width: 780px; margin: 0 auto; }
.accordeon-item {
  border-bottom: 1px solid rgba(27, 74, 130, 0.12);
}
.accordeon-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-texte);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bleu-c);
  cursor: pointer;
}
.accordeon-icone {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.accordeon-icone::before, .accordeon-icone::after {
  content: '';
  position: absolute;
  background: var(--dore);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordeon-icone::before { width: 14px; height: 2px; }
.accordeon-icone::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.accordeon-item.ouvert .accordeon-icone::after { transform: translate(-50%, -50%) scaleY(0); }

.accordeon-reponse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordeon-item.ouvert .accordeon-reponse { max-height: 400px; }
.accordeon-reponse p { padding: 0 4px 22px; margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   Pied de page (Footer)
   ========================================================================== */
.pied {
  background: var(--bleu-c);
  color: var(--ivoire);
  padding: 56px 0 32px;
}
.pied a { text-decoration: none; color: var(--ivoire); }
.pied a:hover { color: var(--dore); }
.pied-logo { margin-bottom: 16px; }
.pied-logo .marque-icone { height: 40px; width: 40px; }
.pied-logo .marque-texte { color: var(--ivoire); font-size: 1.35rem; }
.pied-baseline { font-size: 0.92rem; opacity: 0.85; margin-bottom: 24px; }
.pied-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.9rem;
}
.pied-legal {
  font-size: 0.78rem;
  opacity: 0.75;
  border-top: 1px solid rgba(247, 242, 231, 0.2);
  padding-top: 20px;
  line-height: 1.5;
}
.pied-copyright { font-size: 0.78rem; opacity: 0.6; margin-top: 8px; }

/* ==========================================================================
   Mini-marque "BC" — sous 32px (favicon, avatar réduit)
   ========================================================================== */
.mini-marque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bleu-c);
  color: var(--dore);
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 0.78rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .grille-chiffres { grid-template-columns: 1fr; }
  .grille-roi { grid-template-columns: 1fr; }
  .grille-cartes-texte { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
  .entete .conteneur { padding-top: 12px; padding-bottom: 12px; }
  .marque-icone { height: 30px; width: 30px; }
  .marque-texte { font-size: 1.05rem; }
  .entete-nav { gap: 8px; }
  .entete-nav ul { display: none; } /* remplacée par .menu-mobile sur mobile */
  .bouton-entete { padding: 8px 12px; font-size: 0.76rem; white-space: nowrap; }
  .menu-bascule { display: flex; }
}

/* ==========================================================================
   Page À propos — Bloc 2 : Araven & Bloom Concept + bio de Florence
   ========================================================================== */
.bio-layout {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.bio-photo {
  flex: 0 0 280px;
  margin: 0;
}
.bio-photo img {
  border-radius: var(--rayon);
  box-shadow: var(--ombre-carte);
}
.bio-photo figcaption {
  font-size: 0.85rem;
  color: #3d5d85;
  text-align: center;
  margin-top: 12px;
}
.bio-texte {
  flex: 1;
  max-width: 640px;
}
.bio-texte h2 { margin-bottom: 24px; }
.bio-badge {
  margin: 8px 0 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.bio-badge .separateur { display: none; }
@media (max-width: 900px) {
  .bio-layout { flex-direction: column; align-items: center; }
  .bio-photo { flex: 0 0 auto; width: 220px; }
  .bio-texte { max-width: 100%; }
  .bio-badge { justify-content: center; text-align: center; }
}

