/* ============================================================
   BRICE-TECH — style.css (thème clair, rassurant)
   Palette : blanc / encre #1F2933 / bleu marine #16324F
             bleu action #2563EB / vert validation #15803D
   Typo : Bricolage Grotesque (titres) / Inter (corps)
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F8FA;
  --bg-blue: #EFF4FA;
  --border: #E3E8EE;
  --ink: #1F2933;
  --ink-2: #52606D;
  --navy: #16324F;
  --blue: #2563EB;
  --blue-soft: #DBEAFE;
  --green: #15803D;
  --green-soft: #DCFCE7;
  --amber: #B45309;
  --amber-soft: #FEF3C7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 50, 79, 0.06), 0 8px 24px rgba(22, 50, 79, 0.07);
  --maxw: 1080px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.18; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; margin-bottom: 0.5em; }
h3 { font-size: 1.2rem; font-weight: 600; }

section { padding: 68px 0; }
.section-soft { background: var(--bg-soft); }
.section-intro { color: var(--ink-2); max-width: 44em; margin-bottom: 36px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink-2); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); text-decoration: none; }

.lang-switch {
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  color: var(--ink-2);
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--navy);
  font-size: 1.2rem;
  padding: 4px 11px;
  cursor: pointer;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25); }
.btn-primary:hover { background: #1D4ED8; }

.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: #0F2436; }

.btn-sm { padding: 9px 18px; font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero p.lead { color: var(--ink-2); font-size: 1.15rem; margin: 18px 0 30px; max-width: 32em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.92rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-note .sep { color: var(--border); }

/* Carte promesse (panneau hero) */
.promise-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.promise-card h3 { margin-bottom: 16px; font-size: 1.05rem; }
.promise-card ul { list-style: none; }
.promise-card li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}
.promise-card li:last-child { border-bottom: none; }
.promise-card .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Parcours / badges ---------- */
.path-strip {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.path-item {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.path-item .k { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.path-item .v { color: var(--ink-2); font-size: 0.95rem; }
.path-item .v strong { color: var(--ink); }

/* ---------- Cartes piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: #C7D6EA; }
.card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--blue);
}
.card .icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.96rem; flex: 1; }
.card .card-cta { margin-top: 18px; font-weight: 600; font-size: 0.95rem; }
.card .card-cta::after { content: " →"; }

/* ---------- Liste de prestations ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 32px 0; }
.service-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.service-item .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}
.service-item .txt strong { display: block; color: var(--ink); font-weight: 600; }
.service-item .txt span { color: var(--ink-2); font-size: 0.92rem; }

/* Offre d'appel */
.offer {
  display: flex;
  gap: 26px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  margin: 36px 0 8px;
  flex-wrap: wrap;
}
.offer .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 22px;
  line-height: 1;
}
.offer .price small { font-size: 0.95rem; display: block; font-weight: 600; color: var(--ink-2); }
.offer h3 { color: #fff; margin-bottom: 6px; }
.offer p { color: #C9D6E4; font-size: 0.95rem; max-width: 34em; }
.offer .grow { flex: 1; min-width: 260px; }

/* ---------- Encart humain ---------- */
.note-box {
  background: var(--bg-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  color: var(--ink-2);
  margin: 28px 0;
  font-size: 0.98rem;
}
.note-box strong { color: var(--navy); }

/* ---------- Page SOS ---------- */
.calm-banner {
  background: var(--green-soft);
  border-bottom: 1px solid #BBE7C9;
}
.calm-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.calm-banner .label { font-size: 0.92rem; color: var(--green); font-weight: 600; }

.sos-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 28px;
  scroll-margin-top: 130px;
}
.sos-card h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sos-card .why { color: var(--ink-2); margin: 6px 0 18px; }

.do-list { counter-reset: step; list-style: none; margin: 14px 0; }
.do-list li { counter-increment: step; position: relative; padding: 11px 0 11px 50px; color: var(--ink-2); }
.do-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 9px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  border-radius: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
}
.do-list strong { color: var(--ink); }

.dont-list { list-style: none; margin: 14px 0; }
.dont-list li { position: relative; padding: 9px 0 9px 34px; color: var(--ink-2); }
.dont-list li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  color: var(--amber);
  font-weight: 700;
}

.sublabel { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin: 20px 0 4px; }
.sublabel.do { color: var(--green); }
.sublabel.dont { color: var(--amber); }

/* ---------- Habitudes (remplace les stats choc) ---------- */
.habits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.habit {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: left;
}
.habit .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.habit h3 { font-size: 1.05rem; margin-bottom: 8px; }
.habit p { color: var(--ink-2); font-size: 0.93rem; }

/* ---------- Tableau outils ---------- */
.tools-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.95rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tools-table th, .tools-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.tools-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); background: var(--bg-soft); }
.tools-table td { color: var(--ink-2); }
.tools-table td:first-child { color: var(--ink); font-weight: 600; }
.tools-table tr:last-child td { border-bottom: none; }
.badge {
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--green-soft);
  color: var(--green);
  white-space: nowrap;
}

/* ---------- Page contact ---------- */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.widget-slot {
  background: var(--bg-blue);
  border: 2px dashed #B7CCE6;
  border-radius: var(--radius);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 40px 24px;
  margin: 26px 0;
  color: var(--ink-2);
}

.urgent-box {
  background: var(--amber-soft);
  border: 1px solid #F2D38B;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 32px;
}
.urgent-box h3 { color: var(--amber); margin-bottom: 6px; }
.urgent-box p { color: var(--ink-2); margin-bottom: 16px; }

.contact-info { list-style: none; margin: 22px 0; }
.contact-info li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink-2); }
.contact-info li:last-child { border-bottom: none; }
.contact-info .k { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); min-width: 130px; padding-top: 3px; }
.contact-info .v strong { color: var(--ink); }

/* ---------- Bandeau final ---------- */
.band { background: var(--bg-blue); text-align: center; }
.band p { color: var(--ink-2); margin: 10px auto 26px; max-width: 36em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 34px 0; font-size: 0.9rem; color: var(--ink-2); background: var(--bg-soft); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--blue); }
.footer-mission { font-size: 0.85rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .pillars, .services-grid, .habits, .contact-cols { grid-template-columns: 1fr; }

  .burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }

  section { padding: 50px 0; }
  .sos-card { padding: 24px 20px; }
  .offer { padding: 24px; }
  body { font-size: 17px; }
}

/* ---------- Page tarifs ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--blue); position: relative; }
.price-card.featured::before {
  content: "Le plus complet";
  position: absolute;
  top: -13px; left: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 14px;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 14px 0 4px;
}
.price-card .amount small { font-size: 0.95rem; font-weight: 600; color: var(--ink-2); }
.price-card p.desc { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 16px; }
.price-card ul { list-style: none; margin: 0 0 22px; flex: 1; }
.price-card li { padding: 7px 0 7px 28px; position: relative; color: var(--ink-2); font-size: 0.93rem; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }

.price-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.96rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.price-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); background: var(--bg-soft); }
.price-table td { color: var(--ink-2); }
.price-table td:first-child { color: var(--ink); font-weight: 600; }
.price-table td:last-child { font-family: var(--font-display); font-weight: 700; color: var(--navy); white-space: nowrap; text-align: right; }
.price-table tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .price-cards { grid-template-columns: 1fr; }
  .price-table td:last-child { text-align: left; }
}

/* ---------- Animation d'accueil ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero h1, .hero p.lead, .hero-ctas, .hero-note { animation: fadeUp 0.6s ease both; }
.hero p.lead { animation-delay: 0.12s; }
.hero-ctas { animation-delay: 0.24s; }
.hero-note { animation-delay: 0.36s; }

/* Bouclier qui se dessine */
.shield-anim { display: flex; justify-content: center; margin-bottom: 16px; }
.shield-anim svg { width: 88px; height: 88px; overflow: visible; }
.shield-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s ease forwards 0.35s;
}
.check-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw 0.5s ease forwards 1.35s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse-ring {
  opacity: 0;
  transform-origin: center;
  animation: ringOut 1.4s ease-out 1.8s;
}
@keyframes ringOut {
  0% { opacity: 0.45; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.45); }
}

/* Garanties qui apparaissent une à une, après le bouclier */
.promise-card h3 { animation: fadeUp 0.5s ease both 0.5s; }
.promise-card li { opacity: 0; animation: fadeUp 0.45s ease forwards; }
.promise-card li:nth-child(1) { animation-delay: 1.55s; }
.promise-card li:nth-child(2) { animation-delay: 1.75s; }
.promise-card li:nth-child(3) { animation-delay: 1.95s; }
.promise-card li:nth-child(4) { animation-delay: 2.15s; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p.lead, .hero-ctas, .hero-note, .promise-card h3, .promise-card li { animation: none; opacity: 1; transform: none; }
  .shield-path, .check-path { animation: none; stroke-dashoffset: 0; }
  .pulse-ring { animation: none; opacity: 0; }
}

/* ---------- Formulaire de contact ---------- */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 640px;
}
.contact-form .row { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form label .opt { font-weight: 400; color: var(--ink-2); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .hint { font-size: 0.85rem; color: var(--ink-2); margin-top: 14px; }
.direct-line {
  margin-top: 22px;
  font-size: 1rem;
  color: var(--ink-2);
}
.direct-line strong a { color: var(--navy); }
