/* Styles de la landing senior V2.
 * Ordre de cascade : polices, socle, puis personnalisation V2.
 * Les adaptations mobiles et les états initiaux figurent en fin de fichier.
 */
@import url('./assets/css/fonts.css');
@import url('./assets/css/base.css');

/* 01. Couleurs et variables */
:root {
  --primary: #112957;
  --accent: #ef7912;
  --blue-2: #203c86;
  --blue-3: #203c86;
  --light-blue: #e6eaf1;
  --light-blue-2: #eef0f5;
  --gray: #faf9f6;
  --text: #25334b;
  --text-light: #566176;
  --paper: #faf9f6;
  --line: #dcdedc;
}
/* 02. Mise en page, accessibilité et boutons */
html {
  scroll-padding-top: 100px;
}
body {
  background: var(--paper);
  font-size: 17px;
  line-height: 1.75;
}
.container {
  max-width: 1240px;
  padding-inline: 40px;
}
button,
input,
select {
  font-family: inherit;
}
a {
  color: var(--primary);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 5px;
}
.v2-skip {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 1200;
  padding: 10px 18px;
  background: var(--paper);
  transform: translateY(-180%);
}
.v2-skip:focus {
  transform: translateY(0);
}
.btn {
  min-height: 56px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 25px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.btn-primary,
.df-btn-next {
  background: var(--accent);
  /*color: var(--primary);*/
  box-shadow: none;
  font-weight: 700;
}
.btn-primary:hover,
.df-btn-next:hover {
  background: #f28b30;
  box-shadow: none;
  transform: translateY(-2px);
}
/* 03. En-tête et navigation */
header {
  background: rgba(250, 249, 246, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  backdrop-filter: none;
}
.logo {
  height: auto;
  width: 188px;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  margin: 0;
  font-size: 14px;
}
header nav .btn {
  font-size: 14px;
  min-height: 44px;
}
.v2-header-note {
  font-size: 13px;
  color: var(--text-light);
  border-left: 1px solid var(--line);
  padding-left: 24px;
  margin-right: auto;
  margin-left: 25px;
}
/* 04. Premier écran et photographie */
.ms-hero {
  background: var(--paper);
  min-height: 0;
  overflow: visible;
}
.ms-hero > .container {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 52px;
  align-items: center;
  padding-top: 136px;
  padding-bottom: 42px;
}
.ms-hero-main {
  padding: 0;
  min-width: 0;
}
.ms-hero-content {
  max-width: none;
}
.v2-eyebrow,
.v2-section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 19px;
}
.v2-eyebrow:before {
  content: '';
  display: inline-block;
  background: var(--accent);
  width: 23px;
  height: 2px;
  vertical-align: middle;
  margin-right: 12px;
}
.ms-hero-content h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
em.v2-serif,
.ms-section-title em,
.ms-hiw-header em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: #d5680b;
}
.ms-hero-content > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 510px;
  margin-bottom: 25px;
}
.ms-btn-cta-hero {
  margin-bottom: 14px;
}
.v2-hero-micro {
  font-size: 13px !important;
  margin: 0 0 22px !important;
}
.ms-hero-badges {
  gap: 10px 22px;
  margin: 22px 0 0;
}
.ms-hero-badge {
  font-size: 13px;
}
.ms-hero-badge svg {
  color: var(--primary);
  width: 17px;
  height: 17px;
}
.v2-hero-photo {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-height: 490px;
}
.v2-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 570px;
  object-fit: cover;
  object-position: 50% 47%;
  border-radius: 100px 12px 12px 12px;
}
.v2-photo-note {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--paper);
  padding: 19px 25px;
  border-radius: 7px;
  max-width: 290px;
  box-shadow: 0 5px 25px #1129570c;
}
.v2-photo-note span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.v2-photo-note p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  font-style: italic;
  line-height: 1.25;
  color: var(--primary);
}
.v2-first-trust {
  margin-top: 18px;
  max-width: 460px;
}
.v2-first-trust .trustpilot-widget {
  min-height: 20px;
}
/* 05. Avis Trustpilot et invitation à défiler */
.ms-trustpilot-section {
  position: relative;
  z-index: 3;
  padding: 0;
  margin-bottom: -90px;
}
.ms-trustpilot-card {
  max-width: none;
  border: 1px solid #e8eaf0;
  border-radius: 22px;
  padding: 30px 38px 25px;
  background: #fff;
  box-shadow: 0 16px 45px #1129570c;
  backdrop-filter: none;
}
.v2-reviews-carousel {
  min-height: 140px;
}
.ms-trust-footer {
  border-top: 1px solid #eef0f3;
  margin: 24px 0 0;
  padding: 20px 0 0;
  justify-content: center;
  gap: 32px;
}
.v2-scroll-invite {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  top: 112px;
  margin: 0 auto;
  width: fit-content;
  font-size: 13px;
  text-decoration: none;
}
.v2-scroll-invite span {
  font-size: 22px;
  color: var(--accent);
}
.ms-hero + .ms-hiw {
  padding-top: 165px;
}
@media (min-width: 1001px) {
  .ms-hero > .container {
    min-height: calc(100svh - 160px);
  }
}
.ms-trust-item {
  font-size: 14px;
}
.ms-trust-item svg {
  color: var(--blue-2);
}
/* 06. Titres et rythme des sections */
.ms-section-title,
.ms-hiw-header {
  text-align: left;
  margin-bottom: 44px;
}
.ms-section-title h2,
.ms-hiw-header h2 {
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.23;
  max-width: 780px;
  margin-bottom: 18px;
}
.ms-section-title p,
.ms-hiw-header p {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  color: var(--text-light);
}
.ms-hiw,
.ms-benefits,
.ms-contract,
.ms-objections,
.ms-proof,
.ms-faq {
  padding: 85px 0;
}
/* 07. Accompagnement */
.ms-hiw {
  background: #f0eee8;
}
.ms-hiw-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  perspective: none;
  border-top: 1px solid #cfd1d3;
  margin-bottom: 42px;
}
.ms-hiw-card {
  background: none;
  backdrop-filter: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 30px 24px 0 0;
}
.ms-hiw-card + .ms-hiw-card {
  padding-left: 24px;
  border-left: 1px solid #d8d9d8;
}
.ms-hiw-card:hover {
  transform: none;
  box-shadow: none;
}
.ms-hiw-num {
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid #afb7c2;
  color: var(--primary);
  box-shadow: none;
}
.ms-hiw-icon {
  display: none;
}
.ms-hiw-card h3 {
  font-size: 17px;
  line-height: 1.5;
}
.ms-hiw-card p {
  font-size: 15px;
}
.ms-hiw-tag {
  background: transparent;
  color: var(--blue-2);
  padding: 0;
  font-size: 11px;
  line-height: 1.5;
}
.ms-hiw-reassurance {
  background: var(--primary);
  border: 0;
  max-width: none;
  text-align: left;
  padding: 30px 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8px 32px;
  border-radius: 10px;
}
.ms-hiw-reassurance-icon {
  display: none;
}
.ms-hiw-reassurance h3 {
  color: var(--paper);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  grid-row: span 2;
}
.ms-hiw-reassurance-list {
  margin: 0;
  max-width: none;
  gap: 4px;
}
.ms-hiw-reassurance-list li {
  color: var(--paper);
  font-size: 15px;
}
.ms-hiw-reassurance-list li svg {
  color: #f4ad6e;
}
.ms-hiw-reassurance-footer {
  color: #d9dfeb;
  font-size: 12px;
}
/* 08. Avantages */
.ms-benefits {
  background: var(--paper);
}
.ms-benefits-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.ms-benefit-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 26px 0;
  column-gap: 19px;
}
.ms-benefit-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.ms-benefit-icon {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  margin: 0;
  background: #eee9df;
  border-radius: 12px;
}
.ms-benefit-icon svg {
  width: 34px;
  height: 34px;
}
.ms-benefit-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.ms-benefit-card p {
  font-size: 16px;
  line-height: 1.75;
}
.ms-benefits-cta,
.ms-contract-cta,
.ms-objections-cta,
.ms-proof-cta {
  text-align: left;
  margin-top: 28px;
}
.ms-benefits-cta-micro,
.ms-contract-cta-micro,
.ms-objections-cta-micro,
.ms-proof-cta-micro,
.ms-faq-cta-micro {
  font-size: 13px;
}
/* 09. Comparaison du contrat */
.ms-contract {
  background: #e9edf2;
}
.ms-contract-layout {
  gap: 60px;
}
.ms-contract-text h3 {
  font-size: 24px;
  font-weight: 500;
}
.ms-contract-text > p {
  font-size: 17px;
}
.ms-contract-point {
  font-size: 16px;
  align-items: flex-start;
}
.ms-contract-cards {
  gap: 14px;
}
.ms-compare-card {
  background: var(--paper);
  border: 1px solid #d2d8e1;
  border-radius: 10px;
  padding: 25px 28px;
}
.ms-compare-card--adapted {
  background: #f7f5ee;
  border-left: 4px solid var(--accent);
}
.ms-compare-card h3,
.ms-compare-card--current h3,
.ms-compare-card--adapted h3 {
  color: var(--primary);
  font-weight: 500;
}
.ms-compare-card-icon {
  display: none;
}
.ms-compare-card li {
  font-size: 15px;
}
.ms-compare-card--current li:before {
  background: #637188;
}
.ms-compare-card--adapted li:before {
  background: var(--accent);
}
.ms-contract-conclusion {
  text-align: left;
  max-width: 760px;
  margin: 30px 0 0;
  font-size: 16px;
}
/* 10. Réassurance */
.ms-objections {
  background: var(--paper);
}
.ms-objections-grid {
  gap: 0 40px;
}
.ms-objection-card {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 27px 0;
}
.ms-objection-card:hover {
  box-shadow: none;
}
.ms-objection-card h3 {
  font-size: 18px;
}
.ms-objection-card p {
  font-size: 16px;
  padding-left: 38px;
}
.ms-objections-reassurance {
  justify-content: flex-start;
  margin-bottom: 22px;
  gap: 18px;
}
.ms-objections-reassurance-item {
  font-size: 13px;
}
/* 11. Confiance et avis */
.ms-proof {
  background: var(--primary);
  color: var(--paper);
}
.ms-proof .ms-section-title h2 {
  color: var(--paper);
}
.ms-proof .ms-section-title p {
  color: #d1d9e6;
}
.ms-proof .v2-section-label {
  color: #f4ad6e;
}
.v2-proof-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.v2-proof-link {
  color: var(--paper);
  text-underline-offset: 6px;
  font-size: 16px;
}
.ms-proof .trustpilot-widget {
  background: var(--paper);
  padding: 20px;
  border-radius: 10px;
  min-height: 180px;
}
.ms-proof-cta-micro {
  color: #d1d9e6;
}
/* 12. Questions fréquentes */
.ms-faq {
  background: #f0eee8;
}
.ms-faq > .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px 64px;
}
.ms-faq .ms-section-title {
  margin: 0;
}
.ms-faq-list {
  width: 100%;
  margin: 0;
  gap: 0;
}
.ms-faq-item {
  background: none;
  border: 0;
  border-top: 1px solid #d2d4d3;
  border-radius: 0;
}
.ms-faq-item[data-open='true'] {
  box-shadow: none;
}
.ms-faq-question {
  padding: 23px 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.22s ease;
}
.ms-faq-item[data-open='true'] .ms-faq-question {
  color: var(--blue-2);
}
.ms-faq-chevron {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.22s ease;
}
.ms-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    visibility 0s linear 0.32s;
}
.ms-faq-item[data-open='true'] .ms-faq-answer {
  grid-template-rows: 1fr;
  max-height: none;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
/* Ce conteneur permet de passer de zéro à la hauteur réelle de chaque réponse. */
.ms-faq-answer-content {
  min-height: 0;
  overflow: hidden;
}
.ms-faq-answer-inner {
  padding: 0 32px 22px 0;
  font-size: 16px;
  transform: translateY(-6px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.ms-faq-item[data-open='true'] .ms-faq-answer-inner {
  transform: translateY(0);
}
.ms-faq-cta {
  grid-column: 1/-1;
  margin: 28px 0 0;
  text-align: left;
  max-width: none;
  border-top: 1px solid #d2d4d3;
  padding-top: 35px;
}
.v2-last-word {
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 500;
}
/* 13. Pied de page */
footer {
  background: var(--paper);
  color: var(--primary);
  padding: 45px 0 28px;
}
.ms-footer-logo {
  filter: none;
  height: auto;
  width: 172px;
  margin-bottom: 15px;
}
.ms-footer-links {
  flex-wrap: wrap;
  max-width: 540px;
  gap: 12px 22px;
}
.ms-footer-links a {
  color: var(--text-light);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ms-footer-links a:hover {
  color: var(--primary);
}
.ms-footer-tagline {
  opacity: 1;
  font-size: 13px;
}
.ms-footer-bottom {
  opacity: 1;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-light);
  text-align: left;
}
/* 14. Formulaire et rendez-vous */
#ms-hero-form {
  padding: 16px;
  font-size: 16px;
  line-height: 1.5;
}
.df-container {
  background: var(--paper);
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overscroll-behavior: contain;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 20px 80px #11295726;
}
.df-header {
  margin-bottom: 12px;
}
.df-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  padding-right: 40px;
}
.df-title span {
  color: var(--blue-2);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}
.df-subtitle {
  flex-direction: row;
  gap: 6px 16px;
  font-size: 13px;
}
.df-subtitle svg,
.df-footer-item svg {
  color: var(--blue-2);
}
.df-option-btn {
  font-size: 16px;
  line-height: 1.4;
  min-height: 46px;
  border: 1px solid #c7cdd8;
  background: #fdfcf9;
  border-radius: 8px;
  padding: 10px 14px;
  gap: 10px;
  transition: transform 0.2s;
}
.df-option-btn.selected {
  color: var(--primary);
  background: #f9ecde;
  border-color: #b55400;
}
.df-question {
  margin-bottom: 14px;
}
.df-question-label {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.df-question-num {
  flex-shrink: 0;
}
.df-input-group {
  min-width: 0;
  margin-bottom: 12px;
}
.df-personal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.df-honeypot {
  display: none;
}
.df-certilead-mentions {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-light);
}
.df-certilead-mentions p + p {
  margin-top: 6px;
}
.df-certilead-mentions a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.df-verification-note {
  font-size: 13px;
  color: var(--blue-2);
}
.df-input--code {
  max-width: 240px;
  text-align: center;
  letter-spacing: 0.3em;
}
.df-code-resend {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: none;
  color: var(--blue-2);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.df-code-resend:disabled {
  color: var(--text-light);
  cursor: default;
  text-decoration: none;
}
/* Les mentions détaillées remplacent les rappels génériques sur la dernière étape. */
.df-container:has(.df-step--details.active) .df-footer,
.df-container:has(.df-step--details.active) .df-social-proof {
  display: none;
}
.df-input-group label {
  font-size: 16px;
  margin-bottom: 4px;
}
.df-input {
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #b9c1ce;
  background: #fdfcf9;
  min-height: 48px;
  padding: 10px 14px;
}
.df-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  margin-top: 12px;
}
.df-consent label {
  font-size: 14px;
  line-height: 22px;
  color: var(--text);
}
.df-consent input[type='checkbox'] {
  -webkit-appearance: none;
  appearance: none;
  height: 22px;
  width: 22px;
  margin: 0;
  border: 2px solid #8a96aa;
  border-radius: 6px;
  background-color: #fff;
  background-position: center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  box-shadow: 0 1px 3px #1129570d;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.df-consent input[type='checkbox']:hover {
  border-color: var(--blue-2);
}
.df-consent input[type='checkbox']:checked {
  border-color: var(--blue-2);
  background-color: var(--blue-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.df-consent input[type='checkbox']:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
}
.df-consent.has-error input[type='checkbox'] {
  border-color: #a12c25;
}
.df-consent.has-error label {
  color: #a12c25;
}
.df-contact-options {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.df-contact-title {
  font-size: 15px;
}
.df-contact-card {
  background: #fdfcf9;
  border: 1px solid #c7cdd8;
  border-radius: 9px;
  min-height: 96px;
  padding: 12px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.df-contact-card[hidden] {
  display: none;
}
.df-contact-card:hover {
  border-color: var(--blue-2);
  background: #eef3f9;
  box-shadow: 0 4px 12px #11295714;
  transform: translateY(-2px);
}
.df-contact-card:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
}
.df-contact-card.selected {
  border-color: #b55400;
  background: #f9ecde;
}
.df-contact-icon {
  background: var(--primary);
  transition: background-color 0.2s ease;
}
.df-contact-icon svg {
  color: #fff;
}
.df-contact-card.selected .df-contact-icon {
  background: #b55400;
}
.df-good-news {
  background: #e9edf2;
  border: 0;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.df-good-news-title {
  color: var(--primary);
  font-size: 16px;
}
.df-good-news-text {
  font-size: 14px;
  color: var(--text);
}
.df-progress {
  margin-bottom: 14px;
}
.df-progress-fill {
  background: var(--accent);
  transition: none;
}
.df-progress-text {
  font-size: 14px;
}
.df-error {
  font-size: 14px;
  color: #a12c25;
}
.df-nav {
  gap: 10px;
  margin-top: 12px;
}
.df-nav .btn,
.df-success > .btn {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 16px;
}
.df-footer {
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 12px;
  padding-top: 10px;
}
.df-footer-item,
.df-hours-list {
  font-size: 13px;
}
.df-social-proof {
  font-size: 13px;
  margin-top: 8px;
}
.df-success {
  padding: 12px 0;
}
.df-success-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}
.df-success-icon svg {
  width: 28px;
  height: 28px;
}
.df-success h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.df-success p {
  font-size: 16px;
  margin-bottom: 14px;
}
.df-business-hours {
  padding: 12px 16px;
  margin: 12px 0;
}
.df-calendar-header {
  margin-bottom: 8px;
}
.df-cal-nav {
  width: 44px;
  height: 44px;
}
.df-cal-day {
  min-height: 40px;
  padding: 6px 4px;
  font-size: 16px;
}
.df-cal-day.disabled {
  opacity: 0.65;
  color: #707b8a;
}
.df-calendar-days span {
  font-size: 12px;
}
.df-slot {
  font-size: 16px;
  min-height: 42px;
  padding: 8px 4px;
}
.v2-form-error {
  margin-top: 12px;
  color: #a12c25;
  font-size: 15px;
  line-height: 1.6;
}
.v2-form-error:empty {
  display: none;
}

/* Sur ordinateur, utiliser la largeur pour garder chaque étape compacte. */
@media (min-width: 641px) {
  .df-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .df-options:not(.df-options--coverage) > .df-option-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .df-options--coverage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .df-step--details.active {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px 16px;
  }
  .df-step--details > .df-input-group {
    grid-column: span 3;
  }
  .df-step--details > .df-input-group--identity {
    grid-column: span 2;
  }
  .df-step--details > .df-input-group,
  .df-step--details > .df-consent,
  .df-step--details > .df-nav {
    margin: 0;
  }
  .df-step--details > .df-consent,
  .df-step--details > .df-verification-note,
  .df-step--details > .df-certilead-mentions,
  .df-step--details > .df-error,
  .df-step--details > .df-nav {
    grid-column: 1 / -1;
  }
  .df-nav {
    flex-direction: row;
  }
  .df-appointment-booking {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: 20px;
  }
  .df-appointment-title,
  .df-appointment-description,
  .df-appointment-booking > .df-nav {
    grid-column: 1 / -1;
  }
  .df-calendar,
  .df-slots-section {
    min-width: 0;
    margin: 0;
  }
  .df-slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* 15. Appel à l’action mobile */
.ms-sticky-cta {
  background: var(--paper);
  box-shadow: none;
}
/* 16. Adaptations : grands écrans, tablettes, mobiles et mouvement réduit */
@media (min-width: 1500px) {
  .ms-hero > .container {
    padding-top: 155px;
    padding-bottom: 55px;
  }
  .v2-hero-photo {
    min-height: 540px;
  }
}
@media (max-width: 1050px) {
  .container {
    padding-inline: 28px;
  }
  .v2-header-note {
    display: none;
  }
  .ms-hero > .container {
    gap: 30px;
  }
  .ms-hero-content h1 {
    font-size: 44px;
  }
  .v2-hero-photo {
    min-height: 490px;
  }
  .ms-hiw-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .ms-hiw-card + .ms-hiw-card {
    border: 0;
    padding: 30px 0 0;
  }
  .ms-hiw-card {
    padding-right: 0;
  }
  .v2-proof-layout {
    gap: 35px;
  }
  .ms-faq > .container {
    gap: 32px;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }
  .container {
    padding-inline: 22px;
  }
  header {
    padding: 14px 0;
  }
  .logo {
    width: 149px;
  }
  header nav {
    display: flex;
    gap: 0;
  }
  header nav > a:not(.btn) {
    display: none;
  }
  header nav .btn {
    margin: 0 !important;
    padding: 10px 13px !important;
    font-size: 12px;
    min-height: 42px;
  }
  .ms-hero {
    padding: 0;
  }
  .ms-hero > .container {
    grid-template-columns: 1fr;
    padding-top: 110px;
    padding-bottom: 28px;
    gap: 28px;
  }
  .ms-hero-content {
    text-align: left;
  }
  .ms-hero-content h1 {
    font-size: clamp(34px, 8.6vw, 44px);
  }
  .ms-hero-content > p {
    font-size: 16px;
  }
  .v2-eyebrow {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .ms-btn-cta-hero {
    width: 100%;
    font-size: 15px;
  }
  .ms-hero-badges {
    justify-content: flex-start;
    gap: 10px 18px;
  }
  .v2-first-trust {
    margin-top: 14px;
  }
  .v2-hero-photo {
    min-height: 0;
    height: 350px;
    margin-left: 12px;
  }
  .v2-hero-photo img {
    border-radius: 65px 10px 10px 10px;
    object-position: 50% 42%;
  }
  .v2-photo-note {
    left: -12px;
    bottom: 18px;
    max-width: 245px;
    padding: 15px 20px;
  }
  .v2-photo-note p {
    font-size: 21px;
  }
  .ms-trustpilot-section {
    padding: 0;
  }
  .ms-trust-footer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .ms-trust-item {
    font-size: 12px;
  }
  .ms-hiw,
  .ms-benefits,
  .ms-contract,
  .ms-objections,
  .ms-proof,
  .ms-faq {
    padding: 56px 0;
  }
  .ms-section-title h2,
  .ms-hiw-header h2 {
    font-size: 31px;
  }
  .ms-section-title p,
  .ms-hiw-header p {
    font-size: 16px;
  }
  .ms-hiw-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ms-hiw-card,
  .ms-hiw-card + .ms-hiw-card {
    padding: 25px 0;
    border-bottom: 1px solid #d2d4d3;
  }
  .ms-hiw-card-head {
    margin-bottom: 12px;
  }
  .ms-hiw-reassurance {
    grid-template-columns: 1fr;
    padding: 26px 24px;
    gap: 20px;
  }
  .ms-hiw-reassurance h3 {
    grid-row: auto;
    font-size: 23px;
  }
  .ms-benefits-grid,
  .ms-contract-layout,
  .ms-objections-grid,
  .v2-proof-layout,
  .ms-faq > .container {
    grid-template-columns: 1fr;
  }
  .ms-benefit-card {
    grid-template-columns: 42px 1fr;
    column-gap: 16px;
  }
  .ms-benefit-icon {
    width: 42px;
    height: 42px;
  }
  .ms-contract-layout {
    gap: 28px;
  }
  .ms-contract-text > p {
    font-size: 16px;
  }
  .ms-contract-point {
    font-size: 15px;
  }
  .ms-contract-cards {
    gap: 12px;
  }
  .ms-compare-card {
    padding: 23px;
  }
  .ms-objection-card p {
    padding-left: 0;
  }
  .ms-objections-reassurance {
    gap: 12px;
  }
  .v2-proof-layout {
    gap: 28px;
  }
  .ms-proof .ms-section-title {
    margin: 0;
  }
  .ms-faq > .container {
    gap: 30px;
  }
  .ms-faq-cta {
    margin: 0;
  }
  .ms-faq-question {
    font-size: 16px;
  }
  .v2-last-word {
    font-size: 25px;
  }
  .ms-footer-content {
    align-items: flex-start;
    text-align: left;
  }
  .ms-footer-links {
    justify-content: flex-start;
  }
  .ms-footer-bottom {
    padding-bottom: 75px;
  }
}
@media (max-width: 640px) {
  #ms-hero-form {
    padding: 10px;
  }
  .df-container {
    padding: 20px;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
  }
  .df-title {
    font-size: 22px;
  }
  .df-subtitle {
    flex-direction: row;
    gap: 8px 14px;
  }
  .df-nav {
    flex-direction: column-reverse;
  }
  .df-contact-options {
    grid-template-columns: 1fr;
  }
  .df-contact-card {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    padding: 14px 20px;
  }
  .df-contact-icon {
    margin: 0;
    width: 35px;
    height: 35px;
  }
  .df-contact-check {
    top: calc(50% - 10px);
  }
  .df-cal-day {
    min-height: 44px;
  }
  .df-slot {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .ms-hero-fade,
  .ms-hiw-fade,
  .ms-benefits-fade,
  .ms-contract-fade,
  .ms-objection-fade,
  .ms-proof-fade,
  .ms-faq-fade {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 680px) {
  .ms-trustpilot-section {
    margin-bottom: -65px;
  }
  .ms-trustpilot-card {
    padding: 25px 14px 20px;
    border-radius: 18px;
  }
  .ms-trust-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-top: 20px;
    padding-top: 18px;
  }
  .v2-scroll-invite {
    top: 85px;
    font-size: 11px;
  }
  .ms-hero + .ms-hiw {
    padding-top: 140px;
  }
}
/* 17. Détails des composants et états initiaux du formulaire. */
#ms-nav-compare-btn {
  padding: 10px 20px;
  margin-left: 16px;
}
.ms-hero-fade--delay-1 {
  --delay: 1;
}
.ms-hero-fade--delay-2 {
  --delay: 2;
}
.ms-hero-fade--delay-4 {
  --delay: 4;
}
.ms-hero-fade--delay-5 {
  --delay: 5;
}
.df-good-news-icon {
  width: 18px;
  height: 18px;
}
.df-question--compact {
  margin-bottom: 14px;
}
#ms-df-consent-error {
  display: none;
  margin-left: 32px;
}
.df-success-icon--phone {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.05));
}
.df-hours-icon {
  width: 16px;
  height: 16px;
}
.df-appointment-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.df-appointment-description {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}
#ms-df-slots-section {
  display: none;
}
#ms-df-slots-loading {
  display: none;
}
#ms-df-slots-empty {
  display: none;
}
.df-success-icon--appointment {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.05));
}
