/* =========================================================
   MTT Binôme Croisières — CSS Pages clean V3.1
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

:root {
  --blue: #3E8DB1;
  --blue-dark: #2d6e8a;
  --blue-light: #eaf4fa;
  --gold: #F0C060;
  --gold-dark: #c49520;
  --navy: #1c3040;
  --warm: #faf7f2;
  --warm2: #f3ede3;
  --text: #2c2c2c;
  --muted: #6b7885;
  --blue-contrast: #245f78;
  --muted-contrast: #4d5965;
  --gold-contrast: #7a5600;
  --white: #ffffff;
  --r: 14px;
  --max: 1060px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.3;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, #1c3a50 0%, #2a5f7a 50%, #3E8DB1 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(240,192,96,0.22);
  border: 1px solid rgba(255,227,160,0.75);
  color: #ffe3a0;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #ffffff !important;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-container {
  max-width: 680px;
  margin: 0 auto;
}

.hero-lead {
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 1.2rem;
  opacity: 0.92;
  line-height: 1.7;
}

.hero-lead-bold {
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 620px;
  margin: 0 auto 2rem;
  opacity: 0.96;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 0;
}

.hero-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(240,192,96,0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(240,192,96,0.4);
}

/* ── SECTIONS COMMUNES ── */
section {
  padding: 4.5rem 1.5rem;
}

.section-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-contrast);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted-contrast);
  line-height: 1.75;
  max-width: 560px;
}

/* ── PROBLÈME ── */
.problem {
  background: var(--warm);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
}

.problem-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(62,141,177,0.12);
}

.problem-list li .ico {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-list li p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

.problem-list li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.price-box {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid rgba(62,141,177,0.15);
  padding: 2rem;
}

.price-box-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-contrast);
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.price-row.bad {
  background: #fff3f3;
  border: 1px solid #ffd5d5;
}

.price-row.bad .amount {
  color: #c0392b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.price-row.bad .label,
.price-row.good .label {
  font-size: 0.9rem;
  color: #334957;
  font-weight: 700;
}

.price-row.good {
  background: #edf8f1;
  border: 1px solid #b8e8cb;
}

.price-row.good .amount {
  color: #1e8449;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.vs-sep {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-contrast);
  padding: 0.25rem;
}

.saving-banner {
  background: var(--blue-light);
  border: 1px solid rgba(62,141,177,0.2);
  border-radius: 10px;
  text-align: center;
  padding: 1rem 1.5rem;
  margin-top: 0.25rem;
}

.saving-banner strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: #204f66;
  display: block;
}

.saving-banner small {
  font-size: 0.8rem;
  color: #334957;
  margin-top: 4px;
  display: block;
}

.price-note {
  font-size: 0.8rem;
  color: var(--muted-contrast);
  text-align: center;
  margin-top: 1rem;
}

/* ── COMMENT ÇA MARCHE ── */
.how {
  background: var(--white);
}

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

.how-intro .section-sub {
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--warm);
  border-radius: var(--r);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(62,141,177,0.1);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted-contrast);
}

.how-note {
  margin-top: 2.5rem;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.how-note p {
  font-size: 0.93rem;
  color: var(--blue-dark);
  margin: 0;
}

.how-note strong {
  color: var(--navy);
}

/* ── SÉCURITÉ ── */
.security {
  background: var(--warm2);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.security-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.75rem;
  border: 1px solid rgba(62,141,177,0.12);
  border-top: 3px solid var(--blue);
}

.security-card .ico {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.security-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.security-card p {
  font-size: 0.875rem;
  color: var(--muted-contrast);
  line-height: 1.65;
}

/* ── ALGO ── */
.algo {
  background: var(--white);
}

.algo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3rem;
}

.algo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
}

.algo-tag {
  background: var(--blue-light);
  color: var(--blue-contrast);
  border: 1px solid rgba(62,141,177,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.algo-example {
  background: var(--warm);
  color: #1c3040 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  border-radius: var(--r);
  padding: 2rem;
  border: 1px solid rgba(62,141,177,0.1);
}

.profile-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(62,141,177,0.15);
  margin-bottom: 0.75rem;
}

.profile-card .name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}

.profile-card .tags {
  font-size: 0.8rem;
  color: var(--muted-contrast);
}

.profile-badge {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--blue-light);
  color: var(--blue-contrast);
  padding: 2px 10px;
  border-radius: 50px;
  margin-top: 6px;
}

.compat-arrow {
  text-align: center;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.compat-score {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--blue-dark);
}

.compat-score strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

/* ── TÉMOIGNAGES ── */
.testi {
  background: var(--warm);
}

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

.testi-intro .section-sub {
  margin: 0 auto;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.75rem;
  border: 1px solid rgba(62,141,177,0.1);
  border-left: 4px solid var(--gold);
}

.stars {
  color: var(--gold-contrast);
  letter-spacing: 3px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.testi-text {
  font-style: italic;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.testi-author {
  font-size: 0.82rem;
  color: var(--muted-contrast);
  font-weight: 500;
}

/* ── INSCRIPTION / FORMULAIRE ── */
.inscription {
  background: var(--white);
}

.inscription-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.inscription-pitch h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.inscription-pitch ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inscription-pitch ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text);
}

.inscription-pitch ul li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.tarif-block {
  background: var(--warm);
  border-radius: var(--r);
  padding: 1.5rem;
  border: 1px solid rgba(62,141,177,0.15);
  margin-top: 2rem;
}

.tarif-block .tarif-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-contrast);
  margin-bottom: 1rem;
}

.tarif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.tarif-row:last-child {
  border-bottom: none;
}

.tarif-row .t-name {
  font-size: 0.9rem;
  color: var(--text);
}

.tarif-row .t-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
}

.tarif-row .t-strike {
  text-decoration: line-through;
  color: var(--muted-contrast);
  font-size: 0.85rem;
  margin-left: 6px;
}

.tarif-note {
  font-size: 0.78rem;
  color: var(--muted-contrast);
  margin-top: 0.75rem;
  text-align: center;
}

/* Formulaire Brevo : design local, sans charger les polices Brevo avant le hero */
.lead-form-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 15px;
  background: transparent;
}

.lead-form-wrapper #sib-container {
  border-radius: 16px !important;
  border: 2px solid var(--blue) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

.lead-form-wrapper .sib-form-block__button {
  width: 100%;
  padding: 14px 18px;
  transition: 0.2s ease;
}

.lead-form-wrapper .sib-form-block__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(62,141,177,0.25);
}

.lead-form-wrapper input {
  border-radius: 10px !important;
}

.sib-container--large {
  padding: 2rem !important;
}

.form__entry {
  margin-bottom: 1.25rem;
  text-align: left;
}

.entry__field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #c0ccda;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 5px;
}

:where(.sib-form-message-panel) {
  display: none;
}

:where(.sib-form-message-panel .sib-notification__icon) {
  width: 20px;
  height: 20px;
}

#sib-container input:-ms-input-placeholder {
  font-family: Helvetica, Arial, sans-serif;
  text-align: left;
  color: #c0ccda;
}

#sib-container input::placeholder,
#sib-container textarea::placeholder {
  font-family: Helvetica, Arial, sans-serif;
  text-align: left;
  color: #c0ccda;
}

#sib-container a {
  text-decoration: underline;
  color: #2BB2FC;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .problem-grid,
  .algo-grid,
  .inscription-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 1rem 2.5rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .price-row {
    padding: 1rem;
    gap: 1rem;
  }

  .price-row .amount {
    white-space: nowrap;
  }
}

/* =========================================================
   MTT Binôme Croisières — Complément pages légales
   À ajouter une seule fois en bas de la feuille CSS commune
   ========================================================= */

.legal-hero .hero-pill {
  color: var(--white);
  text-decoration: none;
}

.legal-content {
  background: var(--white);
  padding: 4rem 1.5rem;
}

.legal-container {
  max-width: 860px;
}

.update-badge {
  display: inline-block;
  background: var(--blue-light);
  border: 1px solid rgba(62,141,177,0.2);
  color: var(--blue-contrast);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.legal-intro,
.note-box,
.alert-box,
.warning-box {
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 2rem;
  font-size: 0.93rem;
  line-height: 1.8;
}

.legal-intro {
  background: var(--warm);
  border-left: 4px solid var(--blue);
  color: var(--text);
}

.legal-intro strong,
.note-box strong,
.alert-box strong,
.warning-box strong {
  color: var(--navy);
}

.legal-summary {
  background: var(--blue-light);
  border: 1px solid rgba(62,141,177,0.2);
  border-radius: var(--r);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
}

.legal-summary h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.legal-summary ol {
  columns: 2;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-summary li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.legal-summary a {
  display: flex;
  gap: 6px;
  align-items: baseline;
  color: var(--blue-dark);
  font-size: 0.85rem;
  text-decoration: none;
}

.legal-summary a:hover {
  text-decoration: underline;
}

.legal-summary .num {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  scroll-margin-top: 90px;
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--gold);
}

.legal-section h2 .art-num {
  background: var(--blue);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 50px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.legal-section p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0.9rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.85rem 0;
  padding: 0;
}

.legal-section li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.legal-section ol {
  counter-reset: legal-counter;
}

.legal-section ol li {
  counter-increment: legal-counter;
}

.legal-section ol li::before {
  content: counter(legal-counter) ".";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.88rem;
}

.legal-section .nested-list {
  margin-top: 0.75rem;
}

.small-note {
  margin-top: 0.5rem;
  color: var(--muted-contrast) !important;
  font-size: 0.85rem !important;
}

.price-old {
  text-decoration: line-through;
  color: var(--muted-contrast);
  font-size: 0.88rem;
}

.note-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  color: var(--blue-dark);
}

.alert-box {
  background: #fff8e1;
  border: 1px solid rgba(240,192,96,0.75);
  border-left: 4px solid var(--gold-dark);
  color: #5a4000;
}

.warning-box {
  background: #fff3f3;
  border: 1px solid #ffd5d5;
  border-left: 4px solid #c0392b;
  color: var(--text);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 10px;
}

.legal-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
}

.legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.legal-table tr:nth-child(even) td {
  background: var(--warm);
}

.ok {
  color: #1a7a3a;
  font-weight: 800;
}

.nok {
  color: #c0392b;
  font-weight: 800;
}

.legal-link {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 580px) {
  .legal-summary ol {
    columns: 1;
  }

  .legal-section h2 {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: 3rem 1rem;
  }

  .legal-summary,
  .legal-intro,
  .note-box,
  .alert-box,
  .warning-box {
    padding: 1rem 1.1rem;
  }
}

/* =========================================================
   MTT Binôme Croisières — Correctif contraste V3.1
   Ajouté pour améliorer PageSpeed Accessibilité sans casser la DA.
   ========================================================= */

.section-label {
  color: var(--blue-contrast) !important;
  font-weight: 800 !important;
}

.section-sub,
.price-box-label,
.vs-sep,
.price-note,
.tarif-block .tarif-title,
.tarif-note,
.testi-author,
.profile-card .tags,
.step-card p,
.security-card p,
.small-note,
.price-old {
  color: var(--muted-contrast) !important;
  opacity: 1 !important;
}

.price-row.bad .label,
.price-row.good .label {
  color: #334957 !important;
  font-weight: 700 !important;
}

.saving-banner strong {
  color: #204f66 !important;
}

.saving-banner small {
  color: #334957 !important;
  opacity: 1 !important;
}

.algo-tag,
.profile-badge,
.update-badge,
.legal-summary a {
  color: var(--blue-contrast) !important;
  font-weight: 700 !important;
}

.stars {
  color: var(--gold-contrast) !important;
}

.btn-gold {
  color: var(--navy) !important;
  font-weight: 800 !important;
}

.hero-eyebrow {
  color: #ffe3a0 !important;
  border-color: rgba(255, 227, 160, 0.75) !important;
  background: rgba(240, 192, 96, 0.22) !important;
  font-weight: 800 !important;
}

.tarif-row .t-strike {
  color: var(--muted-contrast) !important;
}

.lead-form-wrapper #sib-container a {
  color: var(--blue-contrast) !important;
}

