/* ============================================
   unmondededifferences.fr — dialogue.css (2026)
   Direction « Dialogue & lumière » (maquette v12) : terracotta, miel,
   brun, sable ; titres Fraunces, texte Manrope ; bulles de
   conversation ; en-têtes clairs ; grands arrondis. Chargée après refonte.css.
   ============================================ */

@font-face { font-family: 'Fraunces'; src: url('../fonts/Fraunces-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/Fraunces-latin-ext.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/Fraunces-Italic-latin.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/Fraunces-Italic-latin-ext.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-latin-ext.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Palette « Dialogue & lumière » (maquette v12) */
  --cream:      #FFF9EF;   /* fond de page */
  --cream2:     #F7E9D1;   /* sable */
  --tint:       #F7E9D1;   /* bulles, étiquettes, encarts */
  --blush:      #E8B547;   /* miel */
  --night:      #382D28;   /* sections sombres, pied de page */
  --navy:       #382D28;
  --navy2:      #4A3A33;
  --text:       #382D28;
  --muted:      #725343;
  --muted2:     #8C7266;
  --coral:      #B95435;   /* actions : terracotta */
  --coral-dark: #9C4229;
  --coral-text: #B95435;
  --coral-soft: #E8B547;   /* accent sur fond sombre : miel */
  --coral-bg:   #F7E9D1;
  --coral-pale: #FBF1E4;
  --line:       #EAD9C4;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', system-ui, -apple-system, sans-serif;
  --on-dark-body: #EADBCB;
  --on-dark-soft: #CDB8A8;
}

body { background: var(--cream); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h1 em, h2 em { font-style: italic; color: var(--coral-text); }

/* ── Intertitres : petite étiquette pêche arrondie ── */
.section-label, body .section-eyebrow {
  display: inline-flex;
  width: fit-content;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  background: var(--tint);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
body .section-eyebrow::before { display: none; }

/* ── Boutons ── */
.btn-primary { background: var(--coral); padding: 18px 30px; font-size: 17px; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost, .btn-ghost-white { border: none; background: transparent; color: var(--text); font-weight: 600; font-size: 17px; padding: 17px 20px; }
.btn-ghost:hover, .btn-ghost-white:hover { color: var(--coral-text); background: transparent; }

/* ── En-tête clair, navigation en pilule ── */
#main-nav, #main-nav.scrolled { background: var(--cream); border-bottom: 1px solid transparent; height: 84px; }
#main-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(43,29,24,0.06); }
.nav-logo-main { color: var(--text); font-family: var(--serif); font-size: 22px; }
.nav-logo:hover .nav-logo-main { color: var(--text); }
.nav-logo-tagline { color: var(--muted); }
.nav-links a, .nav-dropdown-toggle--full, .nav-dropdown-toggle { color: var(--text); font-size: 15px; }
.nav-links a:hover, .nav-links a.active,
.nav-dropdown-toggle:hover, .nav-dropdown-toggle--full:hover,
.nav-item-dropdown:hover > a, .nav-item-dropdown:hover .nav-dropdown-toggle { color: var(--text); background: var(--tint); }
.nav-links a.nav-cta { background: var(--night); color: #fff; }
.nav-links a.nav-cta:hover { background: var(--coral); color: #fff; }
.nav-dropdown { background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(43,29,24,0.12); }
.nav-dropdown li a { color: var(--text) !important; }
.nav-dropdown li a:hover { color: var(--text) !important; background: var(--tint) !important; }
.nav-hamburger span { background: var(--text); }
@media (min-width: 901px) {
  .nav-links { background: #fff; border-radius: var(--r-pill); padding: 6px; gap: 2px; }
  .nav-links a, .nav-dropdown-toggle--full { border-radius: var(--r-pill); }
}
@media (max-width: 900px) {
  .nav-links { top: calc(84px + var(--cbar-h)) !important; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(43,29,24,0.12); }
  .nav-dropdown { border-left-color: var(--line) !important; }
}

/* ── Héros clairs (accueil et pages) ── */
.hero, .page-hero { background: var(--cream); }
.hero h1, .page-hero h1 { color: var(--text); font-weight: 400; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.25rem); line-height: 1; }
.hero h1 em, .page-hero h1 em { color: var(--coral-text); }
.hero-eyebrow, .page-hero-badge {
  display: inline-flex; width: fit-content;
  font-size: 13px; letter-spacing: 0.02em; text-transform: none;
  color: var(--text); background: var(--tint); padding: 6px 14px; border-radius: var(--r-pill);
}
.hero-lead, .page-hero p { color: var(--muted); font-size: 20px; }
.hero-sub { color: var(--muted); }
.hero-trust { border-top: 1px solid var(--line); }
.hero-trust-item { color: var(--muted); }
.hero-trust-item strong { color: var(--text); font-family: var(--serif); font-weight: 400; }
.hero-trust-source { color: var(--muted2); }
/* textes écrits en blanc dans les gabarits (pensés pour un héros sombre) */
body .hero [style*="color:rgba(255,255,255"], body .page-hero [style*="color:rgba(255,255,255"],
body .hero [style*="color:white"], body .page-hero [style*="color:white"],
body .hero [style*="color:#fff"], body .page-hero [style*="color:#fff"] { color: var(--muted) !important; }
body .hero .meta-card, body .page-hero .meta-card { background: #fff; border-color: var(--line); }
body .hero .meta-item-text, body .page-hero .meta-item-text { color: var(--muted); }
body .hero .meta-item-text strong, body .page-hero .meta-item-text strong { color: var(--text); }
body .hero .meta-label, body .page-hero .meta-label { color: var(--coral-text); }

/* ── Bulles de conversation (composant) ── */
.chat {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--tint);
  border-radius: 40px;
  width: 100%;
}
.bubble {
  max-width: 85%;
  padding: 18px 22px;
  border-radius: 28px 28px 28px 6px;
  background: #fff;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  align-self: flex-start;
}
.bubble--me { align-self: flex-end; background: var(--coral); color: #fff; border-radius: 28px 28px 6px 28px; }
.bubble--short { padding: 12px 18px; font-size: 15px; }
.chat-sign { align-self: flex-end; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); padding-right: 8px; }
.chat-sign img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* ── « Ce que vous me dites / Ce que j'entends » ── */
.section-dialogue { background: #fff; }
.dialogue-pairs { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.dialogue-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dialogue-said, .dialogue-heard { border-radius: 24px; padding: 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.dialogue-said { background: var(--cream); border-radius: 24px 24px 24px 6px; }
.dialogue-heard { background: var(--night); color: #fff; border-radius: 24px 24px 6px 24px; }
.dialogue-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); }
.dialogue-heard .dialogue-tag { color: var(--coral-soft); }
.dialogue-said q { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.35; color: var(--text); quotes: "« " " »"; }
.dialogue-heard p { font-size: 16px; line-height: 1.6; color: var(--on-dark-body); }
@media (max-width: 760px) { .dialogue-pair { grid-template-columns: 1fr; } }

/* ── « Tout commence par une conversation » : étapes ── */
.conv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 40px 0 56px; }
.conv-step { border-top: 1px dashed rgba(255,255,255,0.25); padding-top: 24px; }
.conv-step-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--blush); color: var(--night); font-family: var(--serif); font-size: 18px; margin-bottom: 14px; }
.conv-step h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.conv-step p { color: var(--on-dark-body); font-size: 15px; line-height: 1.6; }
.section-stats h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.5rem); }
.section-stats h2 em { color: var(--coral-soft); }
@media (max-width: 760px) { .conv-steps { grid-template-columns: 1fr; gap: 20px; } }

/* ── Cartes : grands arrondis, aplats teintés ── */
.problem-card, .solution-card, .decouverte-step, .benefit-item, .service-info-item, .pricing-card, .related-formation-card, .qualiopi-card { border-radius: 28px; }
.solution-card:nth-child(3n+1) { background: var(--tint); }
.solution-card:nth-child(3n+2) { background: #F8D9D2; }
.solution-card:nth-child(3n) { background: var(--cream2); }
.problem-number { color: var(--coral-text); font-family: var(--serif); }
.section-audience { background: var(--cream); }
.audience-card { border-radius: 32px; }
.audience-card + .audience-card { background: var(--night); }
.audience-card .audience-tag { display: inline-flex; width: fit-content; background: var(--tint); color: var(--text); padding: 5px 12px; border-radius: var(--r-pill); letter-spacing: 0.02em; text-transform: none; }
.audience-card + .audience-card .audience-tag { background: rgba(255,255,255,0.12); color: #fff; }

/* ── Témoignages en bulles, sur fond clair ── */
.section-testimonials { background: var(--cream); }
.section-testimonials h2 { color: var(--text); }
.section-testimonials .section-label { color: var(--text); }
.section-testimonials .section-intro { color: var(--muted); }
.testimonial-featured { background: var(--night); border-radius: 32px 32px 32px 8px; }
.testimonial-card { background: #fff; border: none; border-radius: 28px 28px 28px 6px; }
.testimonial-card:nth-child(even) { background: var(--tint); border-radius: 28px 28px 6px 28px; }
.testimonial-before { border-bottom-color: var(--line); }
.before-text, .before-label { color: var(--muted); }
.after-label { color: var(--coral-text); }
.testimonial-card blockquote { color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.45; }
.testimonial-card cite { color: var(--muted); }

/* ── Guide gratuit, FAQ, formulaires ── */
.section-resource { background: var(--cream2); }
.resource-form-wrap { border-radius: 32px; }
.form-group input, .form-group textarea, .form-group select,
.form-group-light input, .form-group-light textarea, .form-group-light select { background: var(--cream); border-color: var(--line); border-radius: 14px; }
.contact-form-box { border-radius: 32px; }

/* ── Appel final : carte arrondie sur fond clair ── */
.section-cta-coral { background: var(--cream); padding: 0 24px clamp(48px, 6vw, 88px); }
.section-cta-coral .section-wrap { background: var(--night); border-radius: 40px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); }
.section-cta-coral h2 em { color: var(--coral-soft); }
.section-cta-coral .btn-white { background: var(--blush); color: var(--night); }

/* ── Sections sombres héritées : expresso ── */
.section-stats, .section-manifeste, .module-card, .surmesure-box { background: var(--night); }
body .section-formations { background: #fff; }
body .formation-card { background: var(--cream); border-radius: 28px; }
body .fc-pill { background: #fff; }
body .tab-btn.active { background: var(--night); border-color: var(--night); }

/* ── Pied de page expresso ── */
#main-footer { background: var(--night); }
.foot-brand { font-family: var(--serif); }

/* Héros : la conversation prend presque la moitié de la largeur */
.hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.hero-visual { max-width: none; width: 100%; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
}
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero-trust-item { align-items: flex-start; text-align: left; }
