/* Pages d'atterrissage : pages régionales et compte séquestre CashSentinel */

/* Le titre de la page est le H1 : mêmes styles que le titre H2 des autres pages */
#titre h1.page-title {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  letter-spacing: .04em;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 auto 2rem;
  max-width: 1100px;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  #titre h1.page-title { font-size: 3.5rem; }
}
@media (min-width: 992px) {
  #titre h1.page-title { font-size: 4.5rem; }
}

/* Logo du header hors H1 sur ces pages : reprend les styles de header > h1 */
header > .site-title {
  display: flex;
  position: absolute;
  top: 0;
  width: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
  z-index: 1;
}
header > .site-title a {
  max-width: calc(100% - 160px);
  padding-left: 50px;
}
header > .site-title img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media (min-width: 576px) {
  header > .site-title a { padding-left: 0; }
  header > .site-title img { width: 200px; }
}

/* Contenu */
.landing {
  --l-navy: #081C34;
  --l-gold: #E6CA8F;
  --l-ink: #1D2733;
  color: var(--l-ink);
  line-height: 1.7;
  max-width: 1100px;
  margin: 0 auto;
}
.landing p { margin: 0 0 1.6rem; }
.landing .landing-chapo {
  font-size: 1.15em;
  font-weight: 500;
  color: var(--l-navy);
  border-left: 3px solid var(--l-gold);
  padding-left: 2rem;
  margin: 1rem 0 4rem;
}
.landing h2 {
  font-family: "Playfair Display", serif;
  color: var(--l-navy);
  font-size: 2.6rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 5rem 0 2rem;
}
@media (min-width: 992px) {
  .landing h2 { font-size: 3.2rem; }
}
.landing h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--l-gold);
  margin-top: 1.4rem;
}

/* Liste à puces dorées */
.landing ul.landing-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.landing ul.landing-points li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.4rem;
}
.landing ul.landing-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 10px;
  height: 10px;
  background: var(--l-gold);
  transform: rotate(45deg);
}
.landing strong { color: var(--l-navy); }

/* Cartes */
.landing-cards {
  display: grid;
  gap: 2.4rem;
  margin: 2rem 0;
}
/* Liste d'étapes : sans retrait de liste, alignée sur le texte */
.landing ol.landing-cards {
  list-style: none;
  padding: 0;
  margin-left: 0;
}
@media (min-width: 768px) {
  .landing-cards { grid-template-columns: repeat(2, 1fr); }
  .landing-cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .landing-cards--3 { grid-template-columns: repeat(3, 1fr); }
  .landing-cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.landing-card {
  background: var(--l-navy);
  color: #fff;
  padding: 3rem 2.6rem;
  border-top: 3px solid var(--l-gold);
}
.landing-card p { margin: 0; }
/* Le thème colore tous les éléments (* { color }) : le blanc de la carte n'est pas hérité */
.landing .landing-card p,
.landing .landing-card li,
.landing .landing-card span:not(.landing-picto) { color: #fff; }
.landing-card strong { color: var(--l-gold); }
.landing .landing-card a {
  color: var(--l-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.landing .landing-card a:hover,
.landing .landing-card a:focus { color: #fff; }
.landing .landing-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--l-gold);
  font-size: 2rem;
  line-height: 1.35;
  display: block;
  margin: 0 0 1.4rem;
}
.landing .landing-card h3::after { display: none; }

/* Pictos dorés (pictos du thème recolorés par masque) */
.landing-picto {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1.6rem;
  background-color: var(--l-gold);
  -webkit-mask: var(--picto) center / contain no-repeat;
  mask: var(--picto) center / contain no-repeat;
}
.landing-picto--safe { --picto: url(../images/picto-safe.svg); }
.landing-picto--transaction { --picto: url(../images/picto-transaction.svg); }
.landing-picto--services { --picto: url(../images/picto-services.svg); }
.landing-picto--temps { --picto: url(../images/picto-temps.svg); }
.landing-picto--eclair { --picto: url(../images/picto-eclair.svg); }
.landing-picto--recherche { --picto: url(../images/picto1-menubig.svg); }

/* Étapes numérotées */
.landing-card .landing-step {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--l-gold);
  margin-bottom: 1.4rem;
}

/* Tableau comparatif */
.landing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}
.landing thead { display: table-header-group; }
.landing tbody { display: table-row-group; }
.landing table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .9em;
}
.landing th,
.landing td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid #dfe3e8;
  text-align: center;
  vertical-align: middle;
}
.landing th:first-child,
.landing td:first-child { text-align: left; }
.landing thead th {
  background: var(--l-navy);
  color: #fff;
  font-weight: 600;
}
.landing thead th:last-child { color: var(--l-gold); }
.landing tbody td:last-child {
  background: #faf5ea;
  color: var(--l-navy);
  font-weight: 600;
}

/* FAQ dépliable */
.landing-faq { margin: 2rem 0 4rem; }
.landing-faq details {
  border-bottom: 1px solid #dfe3e8;
}
.landing-faq details:first-child { border-top: 1px solid #dfe3e8; }
.landing-faq summary {
  display: block;
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.8rem 4rem 1.8rem 0;
  font-weight: 600;
  color: var(--l-navy);
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after {
  content: "+";
  position: absolute;
  right: .6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.6rem;
  font-weight: 400;
  color: #b8994f;
}
.landing-faq details[open] summary::after { content: "–"; }
.landing-faq summary:focus-visible { outline: 2px solid var(--l-navy); outline-offset: 2px; }
.landing-faq .faq-answer { padding: 0 0 1.8rem; }

/* Appels à l'action */
.landing-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 4rem 0 2rem;
}
.landing a.landing-btn {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: var(--l-gold);
  color: var(--l-navy);
  border: 2px solid var(--l-gold);
  font-weight: 600;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.landing a.landing-btn:hover,
.landing a.landing-btn:focus {
  background: var(--l-navy);
  border-color: var(--l-navy);
  color: #fff;
}
.landing a.landing-btn--outline {
  background: transparent;
  border-color: var(--l-navy);
  color: var(--l-navy);
}
.landing-links {
  text-align: center;
  margin: 0 0 2rem;
}
.landing-links a {
  color: var(--l-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--l-gold);
  text-underline-offset: 4px;
}
.landing .landing-legal {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #8a929c;
  text-align: center;
  max-width: 820px;
  margin: 2rem auto 0;
}

/* Pied de page : zones d'intervention */
footer .footer-zones {
  font-size: 1.2rem;
  line-height: 1.8;
  letter-spacing: .03em;
  margin: 0 0 1.4rem;
  text-align: center;
}
footer .footer-zones a { white-space: nowrap; }
@media (min-width: 1200px) {
  footer .footer-zones { text-align: left; }
}

/* Bouton bas de page « Activer mon espace transaction » (page compte séquestre) : fond doré */
#fiche-contact a.anime.anime--transaction {
  background-color: #E6CA8F;
  color: #081C34;
}
#fiche-contact a.anime.anime--transaction::before {
  background-color: #081C34;
  border-color: #081C34;
}
#fiche-contact a.anime.anime--transaction:hover,
#fiche-contact a.anime.anime--transaction:focus { background-color: #d9b96f; }

/* Pages régionales : deux boutons dorés côte à côte, séparés par un filet */
#fiche-contact .anime-duo { display: flex; flex-direction: column; }
#fiche-contact .anime-duo a.anime {
  flex: 1 1 0;
  display: block;
  padding: 2.2rem 1.6rem;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease-in-out;
}
#fiche-contact .anime-duo a.anime + a.anime { border-top: 1px solid rgba(8, 28, 52, .35); }
@media (min-width: 768px) {
  #fiche-contact .anime-duo { flex-direction: row; }
  #fiche-contact .anime-duo a.anime + a.anime { border-top: 0; border-left: 1px solid rgba(8, 28, 52, .35); }
}

/* Pied de page : liens à la suite, logo de l agence à droite */
@media (min-width: 1200px) {
  footer nav.footer-nav > div:only-child { justify-content: flex-start; }
  footer nav.footer-nav > div:only-child > a:last-child { margin-left: auto; }
}

/* Pied de page : liens vers les pages régionales un peu plus petits */
footer nav.footer-nav a[href^="/courtage-automobile"],
footer nav.footer-nav a[href^="/vente-recherche-vehicules"] { font-size: 1rem; }
