/* ==========================================================================
   THÈME « identité marquée » — chargé APRÈS style.css (branche nouveau-design)
   Palette inchangée : bleu #2a6f7f / #245f78, vert #4a8a6c / #3d7d68, beiges.
   Motif de marque : deux cercles (pro / perso) qui se rejoignent → « vous ».
   ========================================================================== */

@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deep: #1d4a5c;                       /* bleu profond (même teinte, plus sombre) */
  --mint: #b7ecd6;                       /* vert clair pour les textes sur fond bleu */
  --radius: 22px;
  --pop-blue: color-mix(in srgb, var(--accent) 26%, transparent);
  --pop-green: color-mix(in srgb, var(--accent-2) 30%, transparent);
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 6Q17-2 32 6T62 6T92 6T118 6' fill='none' stroke='%234a8a6c' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --squiggle-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 6Q17-2 32 6T62 6T92 6T118 6' fill='none' stroke='%23b7ecd6' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 28'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='15' cy='14' r='13'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='15' cy='14' r='13' fill='%232a6f7f'/%3E%3Ccircle cx='29' cy='14' r='13' fill='%234a8a6c'/%3E%3Ccircle cx='29' cy='14' r='13' fill='%23fbf8f1' clip-path='url(%23c)'/%3E%3C/svg%3E");
  --mark-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 28'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='15' cy='14' r='13'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='15' cy='14' r='13' fill='%23ffffff' fill-opacity='.35'/%3E%3Ccircle cx='29' cy='14' r='13' fill='%23b7ecd6' fill-opacity='.7'/%3E%3Ccircle cx='29' cy='14' r='13' fill='%23fbf8f1' clip-path='url(%23c)'/%3E%3C/svg%3E");
}

body { font-family: var(--sans); font-size: 17px; letter-spacing: .005em; }
h1, h2, h3.center-title, .card-head h3, .book-copy h3, .steps-v h3, .timeline h3, .section-label, .stats-grid strong, .slide, blockquote, .price strong { font-family: var(--serif); font-weight: 400; }

/* ---------- En-tête : logo avec la marque ---------- */
.header { padding: 12px 28px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 0; box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 12%, transparent); }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; letter-spacing: .005em; color: var(--deep); }
.logo::before { content: ""; width: 44px; height: 28px; background: var(--mark) center / contain no-repeat; flex: none; }
.nav { gap: 22px; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn) { position: relative; padding: 4px 0; color: var(--deep); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- Boutons : pilule + flèche ---------- */
.btn { padding: 14px 30px; border-radius: 999px; font-weight: 700; letter-spacing: .01em; background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn:not(.btn-small)::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .2s ease; }
.btn:not(.btn-small):hover::after { transform: translateX(4px); }
.btn-small { padding: 9px 20px; background: var(--accent-2); box-shadow: none; }
.hero .btn, .price .btn { background: #fbf8f1; color: var(--deep); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }

/* ---------- Titres ---------- */
.section h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; color: var(--deep); margin-bottom: 36px; text-wrap: balance; }
.section h2::after, .center-title::after { content: ""; display: block; width: 110px; height: 12px; margin: 14px auto 0; background: var(--squiggle) center / contain no-repeat; }
.center-title { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; color: var(--deep); margin-top: 84px; text-wrap: balance; }
.center-title::after { width: 90px; margin-top: 12px; }
.section-subtitle { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--accent-2); margin-bottom: 48px; }
.eyebrow { font-weight: 700; letter-spacing: .14em; color: var(--accent-2); }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent-2); vertical-align: middle; }
.lead { font-size: 1.15rem; }
.section-label { font-size: 1.6rem; line-height: 1.2; color: var(--deep); }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding: 112px 24px 150px; background: linear-gradient(135deg, #1d4a5c 0%, #245f78 45%, #3d7d68 100%); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.14) 0 190px, transparent 191px),
    radial-gradient(circle at 74% 62%, rgba(183,236,214,.20) 0 170px, transparent 171px),
    radial-gradient(circle at 6% 92%, rgba(255,255,255,.08) 0 150px, transparent 151px),
    radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.7px) 0 0 / 26px 26px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 0; background: var(--alt);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 100 480 100 720 60S1200 0 1440 50V90H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 100 480 100 720 60S1200 0 1440 50V90H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.hero-inner { max-width: 1120px; grid-template-columns: 1.15fr .85fr; gap: 56px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 22px; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--mint); }
.hero p { font-size: 1.25rem; line-height: 1.55; max-width: 540px; color: rgba(255,255,255,.92); }
.hero .badge { background: var(--mint); color: var(--deep); }
.hero-art { transform: rotate(2.5deg); filter: drop-shadow(0 28px 40px rgba(8,30,40,.35)); }

/* ---------- Bloc chiffres + questions ---------- */
.split { position: relative; background: var(--alt); min-height: 0; }
.split .stats, .split .pain { background: transparent; padding-top: 72px; padding-bottom: 110px; }
.split .pain { border-left: 2px dashed color-mix(in srgb, var(--accent) 28%, transparent); }
.split::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--bg); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30C300 80 560 70 800 40S1240 0 1440 36V70H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30C300 80 560 70 800 40S1240 0 1440 36V70H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.stats-grid strong, .split .stats-grid strong { font-weight: 400; font-size: clamp(3rem, 5.4vw, 4.6rem); line-height: .95; letter-spacing: -.01em; }
.stats-grid li:nth-child(odd) strong { color: var(--accent); }
.stats-grid li:nth-child(even) strong { color: var(--accent-2); }
.split .stats-grid strong { min-width: 190px; }
.slide { padding: 46px 40px 40px; border: 0; border-radius: var(--radius); background: #fff; font-style: italic; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.35; color: var(--deep); box-shadow: 9px 9px 0 var(--pop-green), 0 12px 30px -16px rgba(20,60,70,.3); }
.slide::before { top: 6px; left: 24px; font-size: 5rem; color: var(--accent-2); opacity: .5; font-family: var(--serif); }
.arrow { background: var(--accent-2); }
.dot-btn.is-active { background: var(--accent-2); }

/* ---------- Cartes « autocollant » ---------- */
.card { position: relative; padding: 30px; border-radius: var(--radius); background: #fff; border: 1.5px solid color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: 8px 8px 0 var(--pop-blue); transition: transform .25s ease, box-shadow .25s ease; }
.card:nth-child(even) { box-shadow: 8px 8px 0 var(--pop-green); }
.card:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--pop-blue); }
.card:nth-child(even):hover { box-shadow: 12px 12px 0 var(--pop-green); }
.grid.four { gap: 34px; }
.icon { border-radius: 50% 50% 50% 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.card-head h3 { font-size: 1.3rem; line-height: 1.2; color: var(--deep); }
.card .question { font-weight: 700; color: var(--accent); }
.qlist { border-top: 2px dotted color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- Tableau des offres ---------- */
.compare-wrap { border-radius: var(--radius); box-shadow: 10px 10px 0 var(--pop-green), 0 14px 30px -18px rgba(20,60,70,.35); background: #fff; }
.compare thead th { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.compare tbody th { font-weight: 600; }

/* ---------- Démarche ---------- */
.timeline::before { height: 0; background: none; border-top: 3px dashed color-mix(in srgb, var(--accent-2) 55%, transparent); top: 25px; }
.timeline .dot { width: 54px; height: 54px; border-radius: 50% 50% 50% 12px; font-family: var(--serif); font-size: 1.6rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 7px var(--bg), 0 10px 18px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.timeline h3 { font-size: 1.35rem; color: var(--deep); }
.timeline p { font-size: .98rem; }

/* ---------- Références ---------- */
.marquee-track li { border-radius: 16px; height: 72px; box-shadow: 0 6px 16px -8px rgba(20,60,70,.25); }

/* ---------- À propos : portrait en forme organique ---------- */
#apropos { position: relative; overflow: hidden; background: color-mix(in srgb, var(--accent-2) 11%, var(--bg)); background-image: radial-gradient(color-mix(in srgb, var(--accent-2) 18%, transparent) 1.5px, transparent 1.7px); background-size: 24px 24px; padding-top: 96px; padding-bottom: 96px; }
#apropos::after { content: ""; position: absolute; right: -30px; bottom: -20px; width: 240px; height: 320px; background: url("img/deco-feuilles.svg") center / contain no-repeat; opacity: .9; pointer-events: none; }
.about { grid-template-columns: 300px 1fr; gap: 64px; position: relative; z-index: 1; }
.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1; background: var(--accent-2); opacity: .32; border-radius: 42% 58% 46% 54% / 54% 44% 56% 46%; transform: translate(16px, 16px) rotate(6deg); }
.portrait img { position: relative; border-radius: 58% 42% 54% 46% / 46% 56% 44% 54%; border: 6px solid #fff; box-shadow: 0 22px 40px -22px rgba(20,60,70,.55); }
.portrait .linkedin { position: relative; margin-top: 22px; }
.about-text h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--deep); }
.about-text .vision-title { font-size: 2.1rem; }
.about-text .about-intro { font-size: 1.1rem; }
.partner-logos li { border-radius: 16px; box-shadow: 0 6px 16px -8px rgba(20,60,70,.25); }

/* ---------- Livre ---------- */
#auteure { background-image: radial-gradient(color-mix(in srgb, var(--accent) 13%, transparent) 1.5px, transparent 1.7px); background-size: 24px 24px; }
.book-banner { position: relative; border-radius: 30px; box-shadow: 10px 10px 0 var(--pop-blue); }
.book-banner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.55); }
.book-copy, .book-visual { position: relative; z-index: 1; }
.book-copy h3 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.08; color: var(--deep); }
.book-kicker { color: var(--accent-2); letter-spacing: .14em; }

/* ---------- Contact + pied de page : bande bleu profond ---------- */
#contact { position: relative; overflow: hidden; max-width: none; padding: 104px 24px 96px; text-align: center; color: #fff; background: linear-gradient(135deg, #1d4a5c 0%, #245f78 50%, #3d7d68 100%); isolation: isolate; }
#contact::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,.12) 0 150px, transparent 151px),
    radial-gradient(circle at 24% 52%, rgba(183,236,214,.18) 0 150px, transparent 151px),
    radial-gradient(circle at 92% 80%, rgba(255,255,255,.08) 0 180px, transparent 181px),
    radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.7px) 0 0 / 26px 26px; }
#contact h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); }
#contact h2::after { background-image: var(--squiggle-light); }
#contact .lead { color: rgba(255,255,255,.9); font-size: 1.3rem; max-width: 640px; }
#contact .link { color: var(--mint); font-family: var(--serif); font-size: 1.35em; text-decoration-thickness: 2px; text-underline-offset: 6px; white-space: nowrap; }
.footer { padding: 30px 24px; background: #163c4b; color: rgba(255,255,255,.75); font-size: .92rem; }
.footer .link { color: var(--mint); }

/* ---------- Page parents ---------- */
.badge { letter-spacing: .02em; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); }
.voices blockquote { padding: 44px 28px 28px; border: 0; border-radius: var(--radius); background: #fff; font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--deep); box-shadow: 8px 8px 0 var(--pop-blue); }
.voices blockquote:nth-child(even) { box-shadow: 8px 8px 0 var(--pop-green); }
.voices blockquote::before { top: 8px; left: 22px; font-size: 4.2rem; color: var(--accent-2); opacity: .5; font-family: var(--serif); }
.alt .voices blockquote { background: #fff; }
.steps-v::before { background: none; width: 0; border-left: 3px dashed color-mix(in srgb, var(--accent-2) 55%, transparent); }
.step-num { width: 54px; height: 54px; border-radius: 50% 50% 50% 12px; font-family: var(--serif); font-size: 1.6rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 7px var(--alt), 0 10px 18px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.steps-v li { grid-template-columns: 54px 1fr; }
.steps-v::before { left: 26px; }
.steps-v h3 { font-size: 1.45rem; color: var(--deep); }
.price { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, #1d4a5c, #245f78 55%, #3d7d68); box-shadow: 10px 10px 0 var(--pop-green); }
.price::before { content: ""; position: absolute; right: -50px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.10); }
.price > * { position: relative; }
.price strong { font-size: 2.2rem; }
.theme { position: relative; padding: 24px 26px; border-radius: var(--radius); background: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.3; color: var(--deep); box-shadow: 7px 7px 0 var(--pop-blue); }
.theme:nth-child(even) { box-shadow: 7px 7px 0 var(--pop-green); }
.chips li { padding: 10px 18px; background: #fff; box-shadow: 0 6px 14px -8px rgba(20,60,70,.3); }
#parcours { position: relative; overflow: hidden; }
#collectif { position: relative; }
#collectif::after { content: ""; position: absolute; right: -10px; top: 40px; width: 160px; height: 214px; background: url("img/deco-feuilles.svg") center / contain no-repeat; opacity: .7; pointer-events: none; }

/* ---------- Fonds alternés : léger motif de points ---------- */
.alt { background-image: radial-gradient(color-mix(in srgb, var(--accent) 11%, transparent) 1.5px, transparent 1.7px); background-size: 24px 24px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .split .pain { border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--accent) 28%, transparent); }
  .split .stats, .split .pain { padding-top: 56px; padding-bottom: 72px; }
  .split .stats-grid strong { min-width: 120px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 260px; }
  #apropos::after { width: 150px; height: 200px; opacity: .6; right: -30px; }
}
@media (max-width: 800px) {
  .hero { padding: 72px 20px 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 340px; }
  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 3rem); }
  .hero-art { transform: rotate(1.5deg); }
  .hero::after { height: 54px; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .logo { font-size: 1.3rem; }
  .logo::before { width: 38px; height: 24px; }
  .nav a:not(.btn)::after { display: none; }
  .card, .card:nth-child(even), .voices blockquote, .voices blockquote:nth-child(even), .theme, .theme:nth-child(even) { box-shadow: 6px 6px 0 var(--pop-blue); }
  .card:nth-child(even), .voices blockquote:nth-child(even), .theme:nth-child(even) { box-shadow: 6px 6px 0 var(--pop-green); }
  .compare-wrap { box-shadow: 6px 6px 0 var(--pop-green); }
  .slide { padding: 44px 26px 30px; box-shadow: 6px 6px 0 var(--pop-green); }
  .book-banner { box-shadow: 6px 6px 0 var(--pop-blue); }
  #contact { padding: 80px 20px 72px; }
  #contact .link { white-space: normal; overflow-wrap: anywhere; font-size: 1.12em; }
  #collectif::after { display: none; }
  .btn:not(.btn-small) { padding: 14px 22px; font-size: .95rem; }
  .btn:not(.btn-small)::after { margin-left: 6px; }
  .center-title { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, .card, .nav a::after { transition: none; } }
