/* ============================================================
   SEINE-BÂTISSEUR — Charte graphique
   Palette extraite du logo : Bleu marine + Or
   ============================================================ */

/* Les polices Google Fonts sont chargées via <link> dans le HTML pour éviter le blocage du rendu */

:root {
  /* ── Palette principale (issue du logo) ── */
  --navy:         #0D1E3C;   /* fond principal - bleu très foncé */
  --navy-mid:     #162B52;   /* sections alternées */
  --blue:         #1D4E89;   /* bleu marque (lettres SB du logo) */
  --blue-accent:  #2E6CC7;   /* bleu clair - hover/accents */
  --steel:        #7FA8D0;   /* bleu acier - décoratif */
  --steel-light:  #B8D0E8;   /* bleu très clair */

  /* ── Accent chaud (contraste sur bleu) ── */
  --gold:         #D4A843;   /* or principal */
  --gold-light:   #E8C76A;   /* or clair */
  --gold-dark:    #A8832F;   /* or foncé */

  /* ── Neutres ── */
  --white:        #FAFCFF;   /* blanc légèrement bleuté */
  --off-white:    #EDF2FA;   /* fond sections claires */
  --light:        #D4DFF0;   /* gris-bleu clair */
  --text:         #0A1929;   /* texte principal */
  --text-mid:     #3A5278;   /* texte secondaire */
  --text-light:   #7A96B8;   /* texte léger */

  /* ── Typographie ── */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-ui:      'Inter', sans-serif;

  /* ── Espacement & formes ── */
  --section-pad:    clamp(70px, 10vw, 130px) 5%;
  --radius:         16px;
  --radius-lg:      28px;
  --radius-full:    100px;

  /* ── Transitions ── */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --transition:   all 0.4s var(--ease);
  --transition-fast: all 0.2s ease;

  /* ── Ombres ── */
  --shadow-sm:    0 2px 12px rgba(13,30,60,0.12);
  --shadow-md:    0 8px 32px rgba(13,30,60,0.18);
  --shadow-lg:    0 20px 60px rgba(13,30,60,0.24);
  --shadow-blue:  0 8px 32px rgba(29,78,137,0.35);
  --shadow-gold:  0 8px 32px rgba(212,168,67,0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ══════════════════════════════════════════
   UTILITAIRES
══════════════════════════════════════════ */
.section-padding { padding: var(--section-pad); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--text);
  margin-bottom: 0.6rem;
}
.section-title--white { color: var(--white); }
.section-title--blue  { color: var(--blue); }

.blue-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-accent));
  border-radius: 2px;
  margin: 1.2rem 0 2.8rem;
}
.gold-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1.2rem 0 2.8rem;
}

.text-gold  { color: var(--gold); }
.text-blue  { color: var(--blue-accent); }
.text-light { color: var(--text-light); }

/* ══════════════════════════════════════════
   BOUTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(212,168,67,0.45);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-accent));
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(46,108,199,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,67,0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-accent);
  border: 2px solid var(--blue-accent);
  border-radius: var(--radius);
}
.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-lg { padding: 18px 48px; font-size: 0.9rem; }
.btn-sm { padding: 10px 24px; font-size: 0.76rem; }

/* ══════════════════════════════════════════
   PLACEHOLDER PHOTO
══════════════════════════════════════════ */
.photo-placeholder {
  width: 100%;
  min-height: 300px;
  border: 2px dashed rgba(29,78,137,0.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(29,78,137,0.03);
  color: var(--steel);
  font-size: 0.8rem;
  font-family: var(--font-ui);
  text-align: center;
  padding: 30px;
  transition: var(--transition);
}
.photo-placeholder:hover {
  border-color: var(--blue);
  background: rgba(29,78,137,0.07);
}
.photo-placeholder svg {
  width: 40px; height: 40px;
  opacity: 0.4;
}
.photo-placeholder strong {
  display: block;
  color: var(--blue);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ══════════════════════════════════════════
   BADGES
══════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}
.badge-blue {
  background: rgba(29,78,137,0.12);
  color: var(--blue-accent);
  border: 1px solid rgba(29,78,137,0.2);
}
.badge-gold {
  background: rgba(212,168,67,0.12);
  color: var(--gold-dark);
  border: 1px solid rgba(212,168,67,0.2);
}
.badge-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ══════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--gold));
  border-radius: 3px;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--navy);
  color: var(--steel-light);
  padding: 80px 5% 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue-accent));
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .footer-logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-light);
  max-width: 270px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--steel-light);
  transition: var(--transition-fast);
}
.footer-social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social-link svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-light);
  opacity: 0.6;
}
.footer-legal-links { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal-links a {
  color: var(--text-light);
  transition: var(--transition-fast);
}
.footer-legal-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
