/* accueil.css — page d'accueil : le pays se choisit en premier (maquette D, 11/10/2026).
 * Photo plein cadre + carte « Où vivez-vous ? », puis les moments de vie (accroches de la
 * campagne), puis le bandeau d'étude complète. Les couleurs passent par les jetons du site. */

.acc-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 56px 0;
  overflow: hidden;
  isolation: isolate;
}
.acc-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.acc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 25, 60, .9) 0%, rgba(10, 25, 60, .74) 48%, rgba(10, 25, 60, .18) 85%);
}
.acc-hero__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
  color: #fff;
}
.acc-hero__kicker {
  margin: 0;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #BBDEFB;
}
.acc-hero__title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
.acc-hero__lead {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #E3F2FD;
}

/* Carte de choix du pays */
.acc-pays {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  background: var(--c-surface, #fff);
  color: var(--c-text, #1C1C1E);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}
.acc-pays__titre {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.acc-pays__champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 480px) {
  .acc-pays__champs { grid-template-columns: minmax(0, 1fr); }
}
.acc-pays__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--c-text-secondary, #48484A);
}
.acc-pays__select {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--c-border, #C7C7CC);
  border-radius: 12px;
  background: var(--c-surface, #fff);
  color: var(--c-text, #1C1C1E);
  font: inherit;
  font-size: 1.0625rem;
}
.acc-pays__select--pays {
  border: 2px solid var(--c-primary, #1565C0);
  font-weight: 600;
}
.acc-pays__select:focus-visible { outline: 3px solid var(--c-focus, #1565C0); outline-offset: 2px; }
.acc-pays__go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 12px;
  background: var(--c-primary, #1565C0);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
}
.acc-pays__go:hover { background: var(--c-primary-hover, #0D47A1); color: #fff; }
.acc-pays__go:focus-visible { outline: 3px solid var(--c-focus, #1565C0); outline-offset: 2px; }

/* Moments de vie */
.acc-moments { padding: 64px 0 48px; }
.acc-moments__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.acc-moments__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.01em;
}
.acc-moments__note {
  margin: 0;
  font-size: .9375rem;
  color: var(--c-text-secondary, #48484A);
}
.acc-moments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.acc-moment {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-border, #E5E5EA);
  border-radius: 22px;
  background: var(--c-surface, #fff);
  color: var(--c-text, #1C1C1E);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.acc-moment:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .1); color: var(--c-text, #1C1C1E); }
.acc-moment:focus-visible { outline: 3px solid var(--c-focus, #1565C0); outline-offset: 3px; }
.acc-moment__photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.acc-moment__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}
.acc-moment__titre { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.acc-moment__texte { font-size: .9375rem; line-height: 1.5; color: var(--c-text-secondary, #48484A); }
.acc-moment__lien { font-size: .875rem; font-weight: 700; color: var(--c-primary, #1565C0); }

.acc-pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.acc-pastille {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--c-border, #C7C7CC);
  border-radius: 999px;
  background: var(--c-surface, #fff);
  color: var(--c-text, #1C1C1E);
  font-weight: 600;
  text-decoration: none;
}
.acc-pastille:hover { border-color: var(--c-primary, #1565C0); color: var(--c-primary, #1565C0); }
.acc-pastille:focus-visible { outline: 3px solid var(--c-focus, #1565C0); outline-offset: 2px; }

/* Bandeau étude complète */
.acc-etude { background: var(--c-primary, #1565C0); color: #fff; }
.acc-etude__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  padding-block: 52px;
}
.acc-etude__texte { flex: 999 1 420px; display: flex; flex-direction: column; gap: 8px; }
.acc-etude__titre { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; color: #fff; }
.acc-etude__sous { margin: 0; font-size: 1.0625rem; color: #E3F2FD; }
.acc-etude__cta {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 14px;
  background: #fff;
  color: #0D47A1;
  font-size: 1.0625rem;
  font-weight: 800;
  text-decoration: none;
}
.acc-etude__cta:hover { background: #E3F2FD; color: #0D47A1; }
.acc-etude__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

[data-theme="dark"] .acc-moment:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
@media (prefers-reduced-motion: reduce) {
  .acc-moment { transition: none; }
  .acc-moment:hover { transform: none; }
}
