/* ==========================================================================
   TENVO — Feuille de style principale
   Identité visuelle : Bleu nuit #0E3B43, Safran #FFB020, Fond clair #F4F7F6
   Typographies : Bricolage Grotesque (titres), DM Sans (corps)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables et réinitialisation
   -------------------------------------------------------------------------- */
:root {
  --c-bleu-nuit: #0E3B43;
  --c-bleu-fonce: #0A2C33;
  --c-safran: #FFB020;
  --c-safran-hover: #EAA015;
  --c-fond-clair: #F4F7F6;
  --c-blanc: #FFFFFF;
  --c-bordure: #D5DEDC;
  --c-texte-sec: #3F5A5F;
  --c-texte-clair: #D6E4E2;
  --c-erreur: #D32F2F;
  --c-erreur-fond: #FFEBEE;
  --c-succes: #1B5E20;
  --c-succes-fond: #E8F5E9;

  --font-titres: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-corps: 'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius-card: 16px;
  --container-max: 1120px;
  --container-faq: 820px;
  --container-contact: 680px;

  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-corps);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-bleu-nuit);
  background-color: var(--c-blanc);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Accessibilité : Focus clavier visible sur tous les éléments interactifs */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--c-safran);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Mise en page générale
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-spacing {
  padding-top: 92px;
  padding-bottom: 92px;
}

.bg-nuit {
  background-color: var(--c-bleu-nuit);
  color: var(--c-blanc);
}

.bg-clair {
  background-color: var(--c-fond-clair);
  color: var(--c-bleu-nuit);
}

.bg-blanc {
  background-color: var(--c-blanc);
  color: var(--c-bleu-nuit);
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Typographie (Titres serrés line-height 1.05 à 1.1)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-titres);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--c-blanc);
  margin-bottom: 24px;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  color: inherit;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--c-texte-sec);
  max-width: 640px;
  margin-bottom: 48px;
}

.bg-nuit .section-intro {
  color: var(--c-texte-clair);
}

/* --------------------------------------------------------------------------
   Boutons (Hauteur min 48px, rayon 10px, cibles tactiles >= 44px)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-safran {
  background-color: var(--c-safran);
  color: var(--c-bleu-nuit);
}

.btn-safran:hover {
  background-color: var(--c-safran-hover);
}

.btn-nuit {
  background-color: var(--c-bleu-nuit);
  color: var(--c-blanc);
  border: 1px solid var(--c-bleu-nuit);
}

.btn-nuit:hover {
  background-color: var(--c-bleu-fonce);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  font-weight: 500;
  color: var(--c-texte-clair);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-link:hover {
  color: var(--c-blanc);
}

/* --------------------------------------------------------------------------
   1. En-tête (Header)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--c-bleu-nuit);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(213, 222, 220, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  height: 31px;
  width: 96px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.header-nav-list a {
  color: var(--c-texte-clair);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-nav-list a:hover {
  color: var(--c-blanc);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Bouton hamburger (caché sur bureau) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(213, 222, 220, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--c-blanc);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* --------------------------------------------------------------------------
   2. Hero (Fond bleu nuit, deux colonnes)
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--c-bleu-nuit);
  color: var(--c-blanc);
  padding-top: 60px;
  padding-bottom: 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--c-texte-clair);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Carte Hero droite */
.hero-card {
  background-color: var(--c-blanc);
  color: var(--c-bleu-nuit);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  border: 1px solid var(--c-bordure);
}

.hero-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-bleu-nuit);
  margin-bottom: 24px;
}

.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--c-bleu-nuit);
}

.check-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--c-safran);
  color: var(--c-bleu-nuit);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--c-bleu-nuit);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card-note {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--c-texte-sec);
  border-top: 1px solid var(--c-bordure);
  padding-top: 18px;
}

/* --------------------------------------------------------------------------
   3. Section Solutions (Fond clair, 6 cartes)
   -------------------------------------------------------------------------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-white {
  background-color: var(--c-blanc);
  border: 1px solid var(--c-bordure);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.card-white h3 {
  color: var(--c-bleu-nuit);
}

.card-white p {
  color: var(--c-texte-sec);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Section Au quotidien (Fond blanc, 3 cartes fond #F4F7F6)
   -------------------------------------------------------------------------- */
.daily-notice {
  font-size: 0.95rem;
  color: var(--c-texte-sec);
  margin-top: -8px;
  margin-bottom: 40px;
  padding: 10px 16px;
  background-color: var(--c-fond-clair);
  border-left: 3px solid var(--c-safran);
  display: inline-block;
  border-radius: 4px;
}

.daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-tinted {
  background-color: var(--c-fond-clair);
  border: 1px solid var(--c-bordure);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}

.card-tinted h3 {
  color: var(--c-bleu-nuit);
}

.card-tinted p {
  color: var(--c-texte-sec);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Section Méthode (Fond clair, 4 étapes)
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  background-color: var(--c-blanc);
  border: 1px solid var(--c-bordure);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--c-safran);
  color: var(--c-bleu-nuit);
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--c-bleu-nuit);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--c-texte-sec);
  line-height: 1.55;
}

.methode-cta {
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. Section Piliers (Pensé pour ceux qui n'ont pas une minute)
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pillar-item {
  border-bottom: 1px solid var(--c-bordure);
  padding-bottom: 24px;
}

.pillar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pillar-title {
  font-family: var(--font-titres);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-bleu-nuit);
  margin-bottom: 8px;
}

.pillar-text {
  font-size: 1rem;
  color: var(--c-texte-sec);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Section Tarifs (Fond bleu nuit, centrée)
   -------------------------------------------------------------------------- */
.pricing-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.pricing-wrapper h2 {
  color: var(--c-blanc);
}

.pricing-wrapper p {
  color: var(--c-texte-clair);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   8. Section FAQ (Fond clair, centré 820px)
   -------------------------------------------------------------------------- */
.faq-wrapper {
  max-width: var(--container-faq);
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--c-blanc);
  border: 1px solid var(--c-bordure);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #B4C2BF;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-titres);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-bleu-nuit);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  stroke: var(--c-bleu-nuit);
  stroke-width: 2;
  fill: none;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 20px 24px;
  color: var(--c-texte-sec);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Section Contact / Formulaire (Fond bleu nuit, centré 680px)
   -------------------------------------------------------------------------- */
.contact-wrapper {
  max-width: var(--container-contact);
  margin: 0 auto;
}

.contact-wrapper h2 {
  color: var(--c-blanc);
}

.contact-cta-wrapper {
  margin-bottom: 8px;
}

.contact-btn-calendly {
  font-size: 1.05rem;
  padding: 0 32px;
  min-height: 52px;
}

.contact-alt-note {
  color: var(--c-texte-clair);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-top: 16px;
  margin-bottom: 0;
}

.contact-form-card {
  background-color: var(--c-blanc);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  text-align: left;
  border: 1px solid var(--c-bordure);
  margin-top: 36px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-bleu-nuit);
  margin-bottom: 8px;
}

.form-label .required-star {
  color: var(--c-safran-hover);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-bordure);
  border-radius: var(--radius-sm);
  background-color: var(--c-blanc);
  color: var(--c-bleu-nuit);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
  line-height: 1.5;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--c-blanc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E3B43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  padding-right: 44px;
  cursor: pointer;
}

.form-select::-ms-expand {
  display: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: var(--c-blanc);
  border-color: var(--c-bleu-nuit);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--c-erreur);
  background-color: var(--c-erreur-fond);
}

.form-error-msg {
  display: none;
  font-size: 0.84rem;
  color: var(--c-erreur);
  margin-top: 6px;
  font-weight: 500;
}

.form-error-msg.visible {
  display: block;
}

/* Case à cocher consentement */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
}

.form-checkbox {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: var(--c-bleu-nuit);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-label {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--c-texte-sec);
  cursor: pointer;
}

.consent-label a {
  color: var(--c-bleu-nuit);
  text-decoration: underline;
  font-weight: 600;
}

.form-submit-btn {
  width: 100%;
  font-size: 1.05rem;
}

/* Message de confirmation de formulaire */
.form-success-banner {
  display: none;
  background-color: var(--c-succes-fond);
  color: var(--c-succes);
  border: 1px solid #A5D6A7;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

.form-success-banner.visible {
  display: block;
}

/* Message d'échec d'envoi de formulaire */
.form-error-banner {
  display: none;
  background-color: var(--c-erreur-fond);
  color: var(--c-erreur);
  border: 1px solid var(--c-erreur);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

.form-error-banner.visible {
  display: block;
}

.form-error-banner a {
  color: inherit;
  text-decoration: underline;
}

.contact-direct-info {
  color: var(--c-texte-clair);
  font-size: 0.95rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Pied de page (Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--c-bleu-fonce);
  color: var(--c-texte-clair);
  padding-top: 56px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 32px;
}

.footer-brand {
  font-weight: 600;
  color: var(--c-blanc);
}

.footer-bottom {
  border-top: 1px solid rgba(213, 222, 220, 0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--c-texte-clair);
}

.footer-links a:hover {
  color: var(--c-blanc);
  text-decoration: underline;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-texte-clair);
  vertical-align: middle;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--c-blanc);
}

.footer-social-link svg {
  display: block;
  width: 16px;
  height: 16px;
}

.footer-copyright {
  color: rgba(214, 228, 226, 0.7);
}

/* --------------------------------------------------------------------------
   Pages Légales (Bandeau brouillon & typographie)
   -------------------------------------------------------------------------- */
.draft-banner {
  background-color: #FFF3CD;
  color: #664D03;
  border: 1px solid #FFE69C;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 28px;
  margin-bottom: 40px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.legal-content h1 {
  color: var(--c-bleu-nuit);
  font-size: 2.5rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--c-bleu-nuit);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content ul {
  color: var(--c-texte-sec);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.placeholder-tag {
  background-color: #EBF1F0;
  color: var(--c-bleu-nuit);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.92em;
}

/* --------------------------------------------------------------------------
   Responsive Design (Moins de 860px & Mobile 390px)
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .section-spacing {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 2.25rem; /* 36px - strictement sous les 40px */
    line-height: 1.1;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.15;
  }

  /* Header & Navigation mobile */
  .header-container {
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .header-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--c-bleu-nuit);
    border-bottom: 1px solid rgba(213, 222, 220, 0.2);
    padding: 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .header-nav-list li {
    width: 100%;
  }

  .header-nav-list a {
    width: 100%;
    padding: 12px 14px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .header-nav-list a:active,
  .header-nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  /* Le bouton d'audit dans le header reste visible et compact */
  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-safran {
    padding: 0 14px;
    font-size: 0.88rem;
    min-height: 44px;
    flex-shrink: 0;
  }

  /* Grilles sur 1 colonne sous 860px */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-section {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  /* Boutons et formulaire pleine largeur */
  .hero-cta-group {
    width: 100%;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-cta-group .btn-link {
    width: auto;
    align-self: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-card {
    padding: 28px 20px;
    width: 100%;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .daily-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .methode-cta .btn {
    width: 100%;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pricing-wrapper {
    width: 100%;
  }

  .pricing-wrapper .btn {
    width: 100%;
  }

  .contact-wrapper {
    width: 100%;
  }

  .contact-btn-calendly {
    width: 100%;
  }

  .contact-form-card {
    padding: 28px 18px;
    width: 100%;
  }

  .form-submit-btn {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Optimisation stricte pour mobiles (390px et moins) */
@media (max-width: 420px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 1.85rem; /* ~29.6px, très lisible et < 40px */
    line-height: 1.15;
  }

  h2 {
    font-size: 1.55rem;
  }

  .header-brand .header-logo {
    width: 80px;
    height: auto;
  }

  .header-actions .btn-safran {
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .hero-card {
    padding: 24px 16px;
  }

  .contact-form-card {
    padding: 24px 14px;
  }
}

/* ==========================================================================
   INTERACTIONS & ANIMATIONS (refonte octobre 2026)
   ========================================================================== */

/* --- En-tête qui se compacte au scroll --- */
.site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled {
  background-color: rgba(14, 59, 67, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(5, 25, 29, 0.35);
}

/* --- Boutons vivants : reflet au survol + légère élévation --- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-safran::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left 0.6s ease;
}
.btn-safran:hover::after {
  left: 130%;
}
.btn-safran:hover,
.btn-nuit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 176, 32, 0.28);
}
.btn-nuit:hover {
  box-shadow: 0 10px 22px rgba(14, 59, 67, 0.25);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
/* Onde au clic */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: btn-ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes btn-ripple {
  to { transform: scale(4); opacity: 0; }
}

/* --- Hero : fil d'activité en direct --- */
.feed-card {
  box-shadow: 0 24px 60px rgba(3, 20, 24, 0.45);
}
.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.feed-head .hero-card-title {
  margin-bottom: 0;
}
.feed-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-texte-sec);
  white-space: nowrap;
}
.feed-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #2E9E5B;
  box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.6);
  animation: live-pulse 1.8s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(46, 158, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); }
}
.feed-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  /* Hauteur fixe : le fil défile à l'intérieur sans faire bouger la page */
  height: 352px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.feed-item {
  flex-shrink: 0;
}
.feed-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "time text" "time status";
  column-gap: 14px;
  row-gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background-color: var(--c-fond-clair);
  border: 1px solid var(--c-bordure);
}
.feed-time {
  grid-area: time;
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-texte-sec);
  padding-top: 2px;
}
.feed-text {
  grid-area: text;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}
.feed-status {
  grid-area: status;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-bleu-nuit);
  background-color: rgba(255, 176, 32, 0.22);
  padding: 2px 10px;
  border-radius: 999px;
}
.feed-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--c-safran);
}
.feed-item.is-entering {
  animation: feed-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feed-item.is-new {
  border-color: var(--c-safran);
  background-color: #FFF8EA;
}
.feed-item.is-leaving {
  animation: feed-out 0.4s ease forwards;
}
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes feed-out {
  to { opacity: 0; transform: translateY(10px); }
}

/* --- Bande défilante --- */
.marquee {
  background-color: var(--c-safran);
  color: var(--c-bleu-nuit);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(14, 59, 67, 0.15);
  border-bottom: 1px solid rgba(14, 59, 67, 0.15);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-row {
  display: flex;
  list-style: none;
  flex-shrink: 0;
}
.marquee-row li {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 44px;
}
.marquee-row li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-bleu-nuit);
  margin-right: -22px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --- Cartes Solutions et Quotidien : réaction au survol --- */
.card-white,
.card-tinted {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-white::before,
.card-tinted::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background-color: var(--c-safran);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card-white:hover,
.card-tinted:hover {
  transform: translateY(-4px);
  border-color: #BFCFCC;
  box-shadow: 0 16px 34px rgba(14, 59, 67, 0.1);
}
.card-white:hover::before,
.card-tinted:hover::before {
  transform: scaleX(1);
}

/* --- Simulateur du coût d'inaction --- */
.sim-wrapper {
  max-width: 940px;
}
.sim-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 36px;
}
.sim-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: fit-content;
  margin: 0 auto 48px;
  padding: 6px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sim-tab {
  position: relative;
  z-index: 1;
  min-height: 48px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  background: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-texte-clair);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.sim-tab.is-active {
  color: var(--c-bleu-nuit);
}
.sim-tab-pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background-color: var(--c-safran);
  box-shadow: 0 6px 18px rgba(255, 176, 32, 0.3);
  transition: transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.sim-tabs.is-second .sim-tab-pill {
  transform: translateX(100%);
}
.sim-panel h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.sim-panel-intro {
  color: var(--c-texte-clair);
  margin-bottom: 28px;
}
.sim-panel:not([hidden]) {
  animation: sim-panel-in 0.4s ease;
}
@keyframes sim-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.sim-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 10px;
}
.sim-input-wrap {
  position: relative;
}
.sim-input {
  width: 100%;
  min-height: 58px;
  padding: 0 70px 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: var(--c-bleu-fonce);
  color: var(--c-blanc);
  font-size: 1.15rem;
  font-weight: 500;
  -moz-appearance: textfield;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sim-input::-webkit-outer-spin-button,
.sim-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sim-input:hover {
  border-color: rgba(255, 255, 255, 0.3);
}
.sim-input:focus {
  outline: none;
  border-color: var(--c-safran);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.2);
}
.sim-unit {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-texte-clair);
  opacity: 0.75;
  pointer-events: none;
}
.sim-cta {
  text-align: center;
  margin-top: 36px;
}
.sim-calc-btn {
  min-height: 60px;
  padding: 0 40px;
  font-size: 1.1rem;
}
.sim-results {
  margin-top: 56px;
}
.sim-results-title {
  text-align: center;
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--c-safran);
  margin-bottom: 24px;
}
.sim-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sim-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-card);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sim-card-main {
  background-color: var(--c-blanc);
  color: var(--c-bleu-nuit);
  border-color: var(--c-safran);
  box-shadow: 0 18px 44px rgba(3, 20, 24, 0.45), 0 0 0 3px rgba(255, 176, 32, 0.35);
}
.sim-card-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-texte-clair);
  margin-bottom: 10px;
}
.sim-card-main .sim-card-label,
.sim-card-main .sim-card-unit {
  color: var(--c-texte-sec);
}
.sim-card-value {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.sim-card-main .sim-card-value {
  color: var(--c-bleu-nuit);
}
.sim-card-unit {
  font-size: 0.95rem;
  color: var(--c-texte-clair);
}
/* Résultat unique */
.sim-result {
  margin-top: 40px;
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-card);
  background-color: var(--c-blanc);
  color: var(--c-bleu-nuit);
  box-shadow: 0 18px 44px rgba(3, 20, 24, 0.45), 0 0 0 3px rgba(255, 176, 32, 0.4);
}
.sim-result-label {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-texte-sec);
  margin-bottom: 8px;
}
.sim-result-value {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.sim-result-sub {
  font-size: 1.15rem;
  color: var(--c-texte-sec);
  margin-bottom: 28px;
}
.sim-result-sub strong {
  color: var(--c-bleu-nuit);
}
.sim-result.is-pulse .sim-result-value {
  animation: sim-pulse 0.7s ease;
}
.sim-results.is-pulse .sim-card-main {
  animation: sim-pulse 0.9s ease;
}
@keyframes sim-pulse {
  40% { transform: scale(1.04); }
}
.sim-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-texte-clair);
  opacity: 0.85;
  max-width: 620px;
  margin: 24px auto 0;
}

/* --- Méthode : ligne de progression + étapes qui s'allument --- */
.steps-grid {
  position: relative;
}
.steps-line {
  position: absolute;
  left: 44px;
  right: 44px;
  top: 47px;
  height: 3px;
  background-color: var(--c-bordure);
  border-radius: 3px;
  z-index: 0;
}
.steps-line-fill {
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--c-safran);
  border-radius: 3px;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.steps-grid.is-visible .steps-line-fill {
  width: 100%;
}
.step-card {
  position: relative;
  z-index: 1;
}
.js-anim .step-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-anim .steps-grid.is-visible .step-card {
  opacity: 1;
  transform: none;
}
.js-anim .steps-grid.is-visible .step-card:nth-child(3) { transition-delay: 0.35s; }
.js-anim .steps-grid.is-visible .step-card:nth-child(4) { transition-delay: 0.7s; }
.js-anim .steps-grid.is-visible .step-card:nth-child(5) { transition-delay: 1.05s; }
.step-number {
  transition: transform 0.3s ease;
}
.step-card:hover .step-number {
  transform: scale(1.12) rotate(-6deg);
}

/* --- FAQ : ouverture en douceur --- */
.faq-item[open] .faq-content {
  animation: faq-open 0.35s ease;
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* --- Retour en haut avec anneau de progression --- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--c-bleu-nuit);
  color: var(--c-safran);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(5, 25, 29, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  transform: translateY(-3px);
}
.btt-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.btt-ring circle {
  fill: none;
  stroke-width: 3;
}
.btt-track {
  stroke: rgba(255, 255, 255, 0.15);
}
.btt-progress {
  stroke: var(--c-safran);
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
}
.btt-arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  /* Évite que les longs boutons élargissent la page sur mobile */
  .hero-grid > *,
  .calc-grid > * {
    min-width: 0;
  }
  .btn {
    white-space: normal;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .sim-grid,
  .sim-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sim-tabs {
    width: 100%;
  }
  .sim-tab {
    padding: 0 10px;
    font-size: 0.92rem;
    white-space: normal;
  }
  .sim-card-value {
    font-size: 2.6rem;
  }
  .sim-result {
    padding: 32px 18px;
  }
  .sim-result-value {
    font-size: 3rem;
  }
  .sim-result .btn {
    width: 100%;
  }
  .sim-calc-btn,
  .sim-cta .btn {
    width: 100%;
  }
  .calc-big {
    font-size: 2.8rem;
  }
  .calc-big-small {
    font-size: 2rem;
  }
  .calc-result {
    padding: 28px 20px;
  }
  .steps-line {
    display: none;
  }
  .feed-list {
    height: 372px;
  }
  .marquee-row li {
    font-size: 1rem;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

/* --- Respect des préférences « réduire les animations » --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
  }
  .marquee-row[aria-hidden="true"] {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
}


/* --------------------------------------------------------------------------
   Vidéo de présentation
   -------------------------------------------------------------------------- */
.vsl-wrap { max-width: 960px; margin: 40px auto 0; }
.vsl { display: block; width: 100%; border-radius: 20px; background: #0E3B43; box-shadow: 0 24px 60px rgba(14, 59, 67, .22); }
.vsl-16x9 { aspect-ratio: 16 / 9; }
.vsl-9x16 { display: none; aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; }
@media (max-width: 640px) {
  .vsl-16x9 { display: none; }
  .vsl-9x16 { display: block; }
}
.vsl-section .section-intro { margin-left: auto; margin-right: auto; }
