/* ==========================================================================
   TALIBRE — Système de design
   Palette : Navy / Teal / Sand / Coral / Slate / Off-white
   Typo : Arial (conforme à la charte) — hiérarchie par poids et échelle
   Signature visuelle : motif "passerelle" (deux arcs qui se rejoignent)
   ========================================================================== */

:root{
  --navy: #142038;
  --navy-light: #1f3050;
  --teal: #0B8A7A;
  --teal-light: #0fa792;
  --sand: #E8C97A;
  --coral: #D95B3B;
  --slate: #4A6070;
  --off-white: #F7F5F0;
  --white: #FFFFFF;

  --ink: #142038;
  --ink-muted: #4A6070;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-soft: 0 6px 24px rgba(20,32,56,0.08);
  --shadow-card: 0 10px 30px rgba(20,32,56,0.10);

  --maxw: 1180px;

  font-size: 16px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1,h2,h3,h4{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 .5em 0;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; }
h2{ font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.18; }
h3{ font-size: 1.25rem; line-height: 1.3; }

p{ margin: 0 0 1em 0; }

.lede{
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 640px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9em;
}

.italic-tag{
  font-style: italic;
  color: var(--slate);
}

/* Boutons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:focus-visible{ outline: 3px solid var(--sand); outline-offset: 2px; }
.btn-primary{ background: var(--coral); color: var(--white); }
.btn-primary:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-ghost{ background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); }
.btn-navy{ background: var(--navy); color: var(--white); }
.btn-navy:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-outline{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color: var(--white); }
.btn-block{ width:100%; justify-content:center; }

/* Header */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: var(--off-white);
  border-bottom: 1px solid rgba(20,32,56,0.08);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand{ display:flex; align-items:center; gap:.6em; }
.brand .wordmark{ font-weight:800; font-size:1.25rem; color:var(--navy); letter-spacing: .01em;}
.brand .wordmark span{ color: var(--teal); }
.brand-mark{ width:38px; height:38px; flex-shrink:0; }

nav.main-nav{ display:flex; align-items:center; gap: 28px; }
nav.main-nav a{
  font-weight:600; font-size:.96rem; color: var(--ink);
  padding: 6px 2px;
  position: relative;
}
nav.main-nav a:hover{ color: var(--teal); }
.header-cta{ display:flex; align-items:center; gap:18px; }

.nav-toggle-checkbox{ display:none; }
.nav-toggle-label{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:30px; height:24px;
  cursor:pointer;
}
.nav-toggle-label span{
  display:block; height:3px; width:100%;
  background: var(--navy); border-radius:2px;
}

/* Hero */
.hero{
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items:center;
  position: relative;
  z-index: 2;
}
.hero h1{ color: var(--white); }
.hero .lede{ color: rgba(255,255,255,.82); }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 30px; }
.hero-art{ position:relative; }

/* Bandeau stats */
.stat-strip{
  background: var(--teal);
  color: var(--white);
}
.stat-strip .container{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  padding: 30px 28px;
}
.stat-item{ text-align:center; }
.stat-num{ font-size: 2.3rem; font-weight:800; display:block; }
.stat-label{ font-size: .92rem; opacity:.92; }

/* Sections génériques */
.section{ padding: 84px 0; }
.section-tight{ padding: 56px 0; }
.section-navy{ background: var(--navy); color: var(--white); }
.section-navy h2{ color: var(--white); }
.section-navy .lede{ color: rgba(255,255,255,.8); }
.section-off{ background: var(--off-white); }
.section-white{ background: var(--white); }
.section-head{ max-width: 720px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Grilles de cartes */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 26px; }

.card{
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.card-flat{
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 28px;
  border: 1px solid rgba(20,32,56,0.08);
}

.icon-circle{
  width:54px; height:54px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
  flex-shrink:0;
}
.icon-circle svg{ width:26px; height:26px; }
.bg-teal{ background: rgba(11,138,122,.12); color: var(--teal); }
.bg-coral{ background: rgba(217,91,59,.12); color: var(--coral); }
.bg-sand{ background: rgba(232,201,122,.28); color: #8a6a1f; }
.bg-navy{ background: rgba(20,32,56,.08); color: var(--navy); }

/* Étapes numérotées (process réel) */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
.step{ position:relative; padding-top: 8px; }
.step-num{
  font-size: .85rem; font-weight:800; color: var(--teal);
  letter-spacing: .06em;
  margin-bottom: 10px; display:block;
}

/* Timeline horizontale (délais) */
.timeline{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.timeline-item{
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  text-align:center;
  box-shadow: var(--shadow-card);
}
.timeline-duration{ font-size:1.5rem; font-weight:800; color: var(--navy); display:block; margin-bottom:6px;}
.timeline-arrow{ display:flex; align-items:center; justify-content:center; color: var(--slate); }

/* Badges (remplacent les emojis) */
.badge{
  display:inline-flex; align-items:center; gap:.4em;
  font-size:.78rem; font-weight:800; letter-spacing:.04em;
  padding: 6px 14px; border-radius:999px;
  text-transform: uppercase;
}
.badge-sand{ background: var(--sand); color: #4a3a0c; }
.badge-teal{ background: var(--teal); color: var(--white); }
.badge-coral{ background: var(--coral); color: var(--white); }
.badge-outline{ background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }

/* Pricing */
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card{
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  display:flex; flex-direction:column;
  border: 2px solid transparent;
}
.price-card.featured{ border-color: var(--coral); transform: translateY(-8px); }
.price-card ul{ margin: 18px 0 26px 0; padding:0; list-style:none; flex-grow:1; }
.price-card li{ display:flex; gap:.6em; align-items:flex-start; margin-bottom:10px; font-size:.95rem; color: var(--ink-muted); }
.price-card li svg{ flex-shrink:0; margin-top:3px; width:16px; height:16px; color: var(--teal); }
.price-card .price-name{ font-size:1.3rem; font-weight:800; color: var(--navy); }
.price-card .price-note{ font-size:.85rem; color: var(--slate); margin-bottom: 4px; }

/* Quote / disclaimer */
.disclaimer{
  background: rgba(232,201,122,.22);
  border-radius: var(--radius-s);
  padding: 18px 22px;
  font-size: .9rem;
  color: #4a3a0c;
  display:flex; gap:.7em;
}
.disclaimer svg{ flex-shrink:0; width:20px; height:20px; margin-top:2px; }

/* CTA double bloc */
.split-cta{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-cta .panel{
  border-radius: var(--radius-l);
  padding: 44px 36px;
  color: var(--white);
}
.split-cta .panel.navy{ background: var(--navy); }
.split-cta .panel.teal{ background: var(--teal); }

/* FAQ (natif, sans JS) */
.faq-item{
  background: var(--white);
  border-radius: var(--radius-s);
  margin-bottom: 12px;
  border: 1px solid rgba(20,32,56,.08);
  overflow:hidden;
}
.faq-item summary{
  cursor:pointer;
  padding: 18px 22px;
  font-weight:700;
  list-style:none;
  display:flex; justify-content:space-between; align-items:center;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .chev{ transition: transform .2s ease; flex-shrink:0; margin-left: 14px; }
.faq-item[open] summary .chev{ transform: rotate(180deg); }
.faq-item .faq-body{ padding: 0 22px 20px 22px; color: var(--ink-muted); }

/* Parcours vertical (candidats) */
.path{ position:relative; padding-left: 56px; }
.path::before{
  content:""; position:absolute; left:19px; top:6px; bottom:6px; width:2px;
  background: rgba(20,32,56,.12);
}
.path-step{ position:relative; margin-bottom: 34px; }
.path-step:last-child{ margin-bottom:0; }
.path-step::before{
  content: attr(data-n);
  position:absolute; left:-56px; top:0;
  width:40px; height:40px; border-radius:50%;
  background: var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:.95rem;
}

/* Tableaux secteurs */
.sector-grid{ display:grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.sector-pill{
  background: var(--white);
  border-radius: var(--radius-s);
  padding: 18px 12px;
  text-align:center;
  font-weight:700;
  font-size: .88rem;
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

/* Footer */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 64px 0 28px;
}
.footer-grid{
  display:grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4{ color: var(--white); font-size: .92rem; letter-spacing:.04em; text-transform:uppercase; margin-bottom:16px;}
.footer-grid a{ display:block; margin-bottom: 10px; font-size:.94rem; }
.footer-grid a:hover{ color: var(--sand); }
.footer-brand .wordmark{ color: var(--white); font-size:1.3rem; font-weight:800; }
.footer-brand .wordmark span{ color: var(--sand); }
.footer-tagline{ font-style: italic; color: rgba(255,255,255,.65); margin-top: 10px; max-width: 280px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 24px; font-size:.84rem; color: rgba(255,255,255,.55);
  flex-wrap: wrap; gap:10px;
}
.footer-bottom a{ color: rgba(255,255,255,.55); }
.footer-bottom a:hover{ color: var(--white); }

/* Passerelle motif (signature) — diviseur de section */
.bridge-divider{ display:block; width:100%; height:64px; }
.bridge-divider path{ fill: var(--off-white); }
.section-navy + .section-off .bridge-divider path,
.hero + .bridge-divider path{ fill: var(--off-white); }

/* Formulaires */
.form-card{
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 38px;
  box-shadow: var(--shadow-card);
}
.form-row{ margin-bottom: 18px; }
.form-row label{ display:block; font-weight:700; font-size:.9rem; margin-bottom:6px; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea{
  width:100%;
  padding: 13px 14px;
  border-radius: var(--radius-s);
  border: 1.5px solid rgba(20,32,56,.18);
  font-family: inherit;
  font-size: .96rem;
  background: var(--off-white);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: none; border-color: var(--teal); background: var(--white);
}
.form-grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.required{ color: var(--coral); }

.contact-info-list{ list-style:none; padding:0; margin: 0 0 0 0; }
.contact-info-list li{ display:flex; gap:14px; align-items:flex-start; margin-bottom: 22px; }
.contact-info-list .label{ font-weight:700; color: var(--navy); display:block; }
.contact-info-list .value{ color: var(--ink-muted); }

/* Blog */
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.blog-card{
  background: var(--white); border-radius: var(--radius-m);
  overflow:hidden; box-shadow: var(--shadow-card);
  display:flex; flex-direction:column;
}
.blog-card .blog-cover{
  height: 150px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  position: relative;
}
.blog-card .blog-body{ padding: 22px 24px 26px; flex-grow:1; display:flex; flex-direction:column; }
.blog-card .cat{ font-size:.74rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--teal); margin-bottom:8px;}
.blog-card h3{ margin-bottom:10px; }
.blog-card p{ color: var(--ink-muted); font-size:.94rem; flex-grow:1; }
.blog-card .read-more{ font-weight:700; color: var(--coral); margin-top:14px; }

.article-shell{ max-width: 740px; margin: 0 auto; }
.article-shell .article-cat{ color: var(--teal); font-weight:800; text-transform:uppercase; font-size:.8rem; letter-spacing:.06em; }
.article-shell h1{ margin-top: 10px; }
.article-meta{ color: var(--slate); font-size:.9rem; margin-bottom: 36px; }
.article-shell h2{ margin-top: 1.6em; font-size: 1.5rem; }
.article-shell h3{ margin-top: 1.3em; }
.article-shell p, .article-shell li{ font-size: 1.05rem; color: #2a3344; }
.article-shell ul{ padding-left: 1.2em; }
.article-shell a{ color: var(--teal); font-weight:700; text-decoration: underline; }
.article-shell .pull-note{
  background: var(--off-white); border-radius: var(--radius-s);
  padding: 20px 24px; margin: 28px 0; font-size:.96rem; color: var(--ink-muted);
}
.article-cta{
  margin-top: 48px; background: var(--navy); color: var(--white);
  border-radius: var(--radius-l); padding: 34px; text-align:center;
}
.article-cta h3{ color: var(--white); }
.article-shell .article-cta p{ color: rgba(255,255,255,.88); font-size: 1rem; }
.article-shell .article-cta a.btn{ color: var(--white); text-decoration: none; font-weight:700; }
.sources-list{ font-size: .88rem; color: var(--slate); margin-top: 40px; border-top: 1px solid rgba(20,32,56,.1); padding-top: 20px; }
.sources-list a{ color: var(--slate); text-decoration: underline; }

/* Page intérieure générique (hero plus court) */
.page-hero{
  background: var(--navy); color: var(--white);
  padding: 64px 0 76px;
}
.page-hero h1{ color: var(--white); max-width: 760px; }
.page-hero .lede{ color: rgba(255,255,255,.82); max-width: 620px; }

/* Responsive */
@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; max-width: 360px; margin: 0 auto; }
  .grid-3, .grid-4, .grid-2, .steps, .timeline, .split-cta, .pricing-grid, .footer-grid, .blog-grid, .form-grid-2{ grid-template-columns: 1fr; }
  .stat-strip .container{ grid-template-columns: 1fr; gap: 18px; }
  .sector-grid{ grid-template-columns: repeat(3,1fr); }
  .price-card.featured{ transform:none; }

  .site-header .container{ position:relative; flex-wrap: wrap; }
  nav.main-nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    position:absolute;
    top:100%; left:0; right:0;
    background: var(--off-white);
    border-bottom: 1px solid rgba(20,32,56,0.1);
    padding: 6px 28px 22px;
    box-shadow: var(--shadow-soft);
  }
  nav.main-nav a{ width:100%; padding:12px 0; border-bottom:1px solid rgba(20,32,56,.06); }
  .nav-toggle-label{ display:flex; }
  .nav-toggle-checkbox:checked ~ nav.main-nav{ display:flex; }
}
@media (max-width: 600px){
  .section{ padding: 56px 0; }
  .sector-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}
