/* ==========================================================================
   Page d'accueil — architecture v4 (hero plein écran, domaines, vision,
   à propos, contact) — chargé uniquement sur "/".
   ========================================================================== */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--clr-navy);
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-rule-top,
.hero-rule-bottom {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--clr-gold) 20%, var(--clr-gold) 80%, transparent 100%);
  opacity: 0.4;
}
.hero-inner {
  flex: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-16);
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  gap: 100px;
}
.hero-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: heroLogoFadeIn 3.2s ease-in-out 0.3s forwards;
}
@keyframes heroLogoFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 0.92; transform: translateY(0); }
}
.hero-logo-col img { width: 350px; height: auto; }
.hero-content { flex: 1; transform: translate(-60px, 30px); }
.hero-content > * {
  opacity: 0;
  animation: heroContentFadeIn 0.9s ease-out forwards;
}
.hero-content > .hero-title    { animation-delay: 0.4s; }
.hero-content > .hero-subtitle { animation-delay: 0.65s; }
.hero-content > .btn           { animation-delay: 0.9s; }
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-brand-band {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-8);
}
.hero-brand {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--clr-beige);
}
.hero-brand-name { color: var(--clr-gold); }
.hero-title {
  font-family: var(--font-serif);
  font-size: 50px;
  line-height: 1.1;
  color: var(--clr-beige);
  margin-bottom: var(--sp-10);
  font-weight: 400;
}
.hero-title .gold { color: var(--clr-gold); }
.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(234, 220, 199, 0.8);
  max-width: 560px;
  margin-bottom: var(--sp-8);
}

/* ============================================================
   NOS DOMAINES D'INTERVENTION
   ============================================================ */
.domaines { background-color: var(--clr-ivory); padding: 120px 0; }
.domaines .section-title { margin-bottom: 24px; }
.domaines .section-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--clr-text-muted);
  max-width: 640px;
  margin-bottom: 72px;
}
.domaines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.domaine-col { padding: var(--sp-12) var(--sp-12) var(--sp-12) 0; }
.domaine-col + .domaine-col {
  padding-left: var(--sp-12);
  border-left: 1px solid var(--clr-gold);
}
.domaine-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 32px;
}
/* La 1ère colonne n'a pas de padding-left (texte aligné sur le titre
   de section), contrairement aux colonnes 2 et 3 (padding + filet doré) :
   sans ce correctif, sa photo serait donc plus large que les 2 autres.
   La photo reste alignée à gauche sur le texte (pas de décalage) ; on
   retire la largeur en trop côté droit, où la colonne a déjà le même
   padding que les colonnes 2/3. */
.domaine-col:first-child .domaine-photo {
  width: calc(100% - var(--sp-12));
}
.domaine-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.domaine-rule { width: 40px; height: 2px; background: var(--clr-gold); margin-bottom: 28px; }
.domaine-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--clr-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.domaine-intro {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(10, 49, 92, 0.65);
  margin-bottom: var(--sp-8);
  font-style: italic;
}
.domaine-list { display: flex; flex-direction: column; gap: 12px; }
.domaine-list li {
  font-size: 14.5px;
  color: var(--clr-navy);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.domaine-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--clr-gold);
}

/* ============================================================
   NOTRE VISION
   ============================================================ */
.vision { background-color: var(--clr-navy); padding: 120px 0; }
.vision .section-label { color: var(--clr-gold); margin-bottom: 0; }
.vision-headers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  margin-bottom: 60px;
}
.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.vision-left { border-left: 3px solid var(--clr-gold); padding-left: var(--sp-12); }
.vision-quote {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  color: var(--clr-beige);
  line-height: 1.3;
  margin-bottom: var(--sp-10);
}
.vision-text { font-size: var(--text-md); line-height: 1.8; color: rgba(234, 220, 199, 0.75); }
.vision-values-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
}
.values-list { display: flex; flex-direction: column; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(200, 155, 75, 0.2);
}
.value-item:first-child { border-top: 1px solid rgba(200, 155, 75, 0.2); }
.value-bar { width: 3px; height: 48px; background: var(--clr-gold); flex-shrink: 0; margin-top: 4px; }
.value-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--clr-beige);
  margin-bottom: 6px;
}
.value-desc { font-size: var(--text-sm); line-height: 1.6; color: rgba(234, 220, 199, 0.6); }

/* ============================================================
   QUI SOMMES-NOUS
   ============================================================ */
.about { background-color: var(--clr-beige); padding: 120px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 100px;
  align-items: start;
}
.about-photo {
  width: 420px;
  height: 540px;
  background: var(--clr-sand);
  position: relative;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.about-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 49, 92, 0.85));
  padding: 40px 28px 24px;
}
.about-photo-name { font-family: var(--font-serif); font-size: 18px; color: var(--clr-beige); margin-bottom: 4px; }
.about-photo-role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-gold); }
.about-content { padding-top: 8px; }
.about-content .section-label { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: var(--sp-10); }
.about-text { font-size: var(--text-md); line-height: 1.85; color: rgba(10, 49, 92, 0.8); }
.about-text p + p { margin-top: var(--sp-5); }
.about-quote {
  margin-top: var(--sp-12);
  padding: 28px 32px;
  border-left: 3px solid var(--clr-gold);
  background: rgba(200, 155, 75, 0.06);
}
.about-quote p {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--clr-navy);
  line-height: 1.5;
}
.about-quote-author {
  margin-top: 14px;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold) !important;
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partners {
  background-color: var(--clr-navy);
  padding: 120px 0;
  text-align: center;
}
.partners .section-label { color: var(--clr-gold); margin-bottom: 20px; }
.partners-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--clr-beige);
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 64px;
  margin-top: 56px;
}
.partner-logo { display: flex; align-items: center; justify-content: center; }
.partner-logo img { height: 64px; width: auto; object-fit: contain; }
.partner-logo--payetacom img { height: 230px; }

/* ============================================================
   CONTACT (formulaire intégré à l'accueil)
   ============================================================ */
.contact { background-color: var(--clr-ivory); padding: 120px 0; }
.contact-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--clr-navy);
  margin-bottom: 16px;
  line-height: 1.15;
}
.contact-subtitle { font-size: var(--text-md); color: rgba(10, 49, 92, 0.65); margin-bottom: 60px; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.contact-form .form-field { gap: 10px; }
.contact-form .form-field--half { width: calc(50% - (var(--sp-5) / 2)); }
.contact-form label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 49, 92, 0.6);
}
.contact-form label span { color: var(--clr-gold); }
.contact-form .form-input {
  min-height: 58px;
  padding: 17px 20px;
  font-size: 15px;
  border-radius: 16px;
}
.contact-form .form-textarea { min-height: 170px; }
.contact-form .form-error { color: var(--clr-gold-dark); background: rgba(200, 155, 75, 0.08); padding: 2px 6px; border-radius: 3px; }
.form-rgpd { display: flex; align-items: flex-start; gap: 14px; margin-top: 4px; }
.form-rgpd input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--clr-gold); cursor: pointer; }
.form-rgpd label {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(10, 49, 92, 0.55);
  line-height: 1.5;
  cursor: pointer;
}
.form-rgpd label a { color: var(--clr-gold-dark); text-decoration: none; }
.form-submit { text-align: center; margin-top: 12px; }
.btn-submit {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold-dark);
  border: 1.5px solid var(--clr-gold);
  background: transparent;
  padding: 16px 48px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.btn-submit:hover { background: var(--clr-gold); color: var(--clr-navy); }
.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(200, 155, 75, 0.25);
  flex-wrap: wrap;
}
.contact-info-item { text-align: center; }
.contact-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold-dark);
  margin-bottom: 8px;
}
.contact-info-value { font-size: 15px; color: rgba(10, 49, 92, 0.7); }
.contact-info-value a { color: inherit; text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }
.contact-info-linkedin { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.contact-info-linkedin svg { display: block; flex-shrink: 0; transform: translateY(-1px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* — Laptop — hero encore en 2 colonnes mais resserré : à 68px de
     police + logo 500px + gap 100px, le titre (retours à la ligne
     forcés en <br>) ne tient plus dans la colonne de texte entre
     ~1100 et 1360px de large. */
@media (max-width: 1360px) {
  .hero-inner { gap: 60px; }
  .hero-logo-col img { width: 340px; }
  .hero-brand-band { padding: var(--sp-10) var(--sp-8) var(--sp-6); }
  .hero-brand { font-size: 58px; }
  .hero-title { font-size: 50px; }
  .vision-quote { font-size: 28px; }
}

/* — Tablette et petit laptop — le hero repasse en une colonne
     (le duo logo + titre 2 colonnes ne tient plus confortablement
     sous 1024px) ; les grilles 2/3 colonnes des sections suivantes
     s'empilent, alignées sur le même seuil que la nav (voir base.css). */
@media (max-width: 1024px) {
  .hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-8); padding: var(--sp-12) var(--sp-6); }
  .hero-logo-col { display: none; }
  .hero-content { transform: none; }
  .hero-brand-band { padding: var(--sp-8) var(--sp-6) var(--sp-4); }
  .hero-brand { font-size: 50px; }
  .hero-title { font-size: 44px; }
  .domaines-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .domaine-col, .domaine-col + .domaine-col { padding: 0; border-left: none; }
  .domaine-col:first-child .domaine-photo { width: 100%; }
  .vision-headers { grid-template-columns: 1fr; gap: var(--sp-4); margin-bottom: var(--sp-10); }
  .vision-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .about-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .about-photo { width: 100%; max-width: 420px; }
  .contact-form .form-field--half { width: 100%; }
  .partner-logo--payetacom img { height: 150px; }
}

/* — Smartphone — */
@media (max-width: 600px) {
  .hero-inner { padding: var(--sp-10) var(--sp-4); }
  .hero-brand-band { padding: var(--sp-6) var(--sp-4) var(--sp-3); }
  .hero-brand { font-size: 42px; }
  .hero-title { font-size: 36px; }
  .domaines, .vision, .about, .contact, .partners { padding: var(--sp-12) 0; }
  .partner-logo img { height: 44px; }
  .partner-logo--payetacom img { height: 70px; }
  .partners-logos { gap: 40px; margin-top: 40px; }
  .contact-title { font-size: 34px; }
  .contact-info { gap: var(--sp-8); }
}
