/* ═══════════════════════════════════════════════════════
   custom.css — Vitrine TRI2V Triathlon Verneuil Vernouillet
   Thème triathlon : navy profond (#0d1b35) + orange (#ed8b00)
   ═══════════════════════════════════════════════════════ */

/* ── Variables surcharge ─────────────────────────────── */
:root {
  --t2v-navy:       #0d1b35;
  --t2v-navy-light: #162240;
  --t2v-navy-card:  #1a2d4a;
  --t2v-orange:     #ed8b00;
  --t2v-orange-hov: #d47d00;
  --t2v-white:      #ffffff;
  --t2v-muted:      #8fa3c0;
  --t2v-border:     rgba(255,255,255,.10);
  --t2v-radius:     14px;
}

/* ── Fond de page ────────────────────────────────────
   TRI2V hérite sinon du --cream d'AECJ (fond de page par
   défaut). Le thème navy/orange n'utilise pas de crème :
   fond blanc → les sections t2v-section nues (ex. « À propos »
   de la home) sont blanches, pas crème. ── */
body { background: var(--t2v-white); }

/* ── Navbar surcharge ────────────────────────────────── */
.navbar {
  background: var(--t2v-navy) !important;
  border-bottom: 1px solid var(--t2v-border) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.4) !important;
}
.navbar-logo-text { color: var(--t2v-white) !important; font-weight: 800; letter-spacing: -.01em; }
.navbar-link       { color: rgba(255,255,255,.75) !important; }
.navbar-link:hover,
.navbar-link.active { color: var(--t2v-orange) !important; background: transparent !important; }
.navbar-cta {
  background: var(--t2v-orange) !important;
  color: var(--t2v-white) !important;
  border-color: var(--t2v-orange) !important;
}
.navbar-cta:hover { background: var(--t2v-orange-hov) !important; }

/* Hamburger — barres blanches sur fond navy */
.navbar-hamburger {
  border-color: rgba(255,255,255,.25) !important;
}
.navbar-hamburger span {
  background: #fff !important;
}

/* Menu mobile déroulant — thème navy */
.navbar-mobile {
  background: var(--t2v-navy-light) !important;
  border-top-color: var(--t2v-border) !important;
}
.navbar-mobile a {
  color: rgba(255,255,255,.80) !important;
}
.navbar-mobile a:hover,
.navbar-mobile a[aria-current="page"] {
  background: rgba(255,255,255,.08) !important;
  color: var(--t2v-orange) !important;
}

/* ── HERO ────────────────────────────────────────────── */
.t2v-hero {
  background: linear-gradient(160deg, #0a1628 0%, #0d1b35 50%, #121f38 100%);
  color: var(--t2v-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.t2v-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 50%, rgba(237,139,0,.08) 0%, transparent 60%),
    radial-gradient(ellipse 400px 600px at 10% 80%, rgba(13,27,53,.6) 0%, transparent 70%);
  pointer-events: none;
}
.t2v-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
/* Pages secondaires (faq, contact, partenaires, stages) : pas de
   colonne droite → hero pleine largeur, sinon le titre est comprimé
   dans une demi-colonne et passe sur deux lignes. */
.t2v-hero-inner:has(> .t2v-hero-left:only-child) {
  grid-template-columns: 1fr;
}
.t2v-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t2v-orange);
  margin-bottom: 20px;
}
.t2v-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--t2v-orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.t2v-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 10px;
  color: var(--t2v-white);
}

/* Titre plus compact sur les pages secondaires (stages, tarifs…) */
.t2v-hero-title--page {
  font-size: clamp(2rem, 4vw, 2.75rem);
  white-space: nowrap;
}
@media (max-width: 520px) {
  .t2v-hero-title--page { white-space: normal; }
}
.t2v-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,.65);
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.t2v-hero-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--t2v-orange);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 36px;
}
.t2v-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.t2v-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--t2v-orange);
  color: var(--t2v-white);
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.t2v-btn-primary:hover { background: var(--t2v-orange-hov); transform: translateY(-1px); }
.t2v-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--t2v-white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.3);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.t2v-btn-outline:hover { border-color: var(--t2v-white); background: rgba(255,255,255,.07); }

/* Disciplines icons side */
.t2v-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.t2v-disc-card {
  background: var(--t2v-navy-card);
  border: 1px solid var(--t2v-border);
  border-radius: var(--t2v-radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .2s, transform .2s;
}
.t2v-disc-card:hover { border-color: rgba(237,139,0,.4); transform: translateX(4px); }
.t2v-disc-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237,139,0,.12);
  border-radius: 10px;
}
.t2v-disc-info { flex: 1; min-width: 0; }
.t2v-disc-name { font-size: 15px; font-weight: 700; color: var(--t2v-white); margin: 0 0 4px; }
.t2v-disc-detail { font-size: 12px; color: var(--t2v-muted); margin: 0; }

/* ── Stats bar ──────────────────────────────────────── */
.t2v-stats {
  background: var(--t2v-navy-light);
  border-top: 1px solid var(--t2v-border);
  border-bottom: 1px solid var(--t2v-border);
  padding: 28px 0;
}
.t2v-stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.t2v-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--t2v-border);
}
.t2v-stat:last-child { border-right: none; }
.t2v-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--t2v-orange);
  line-height: 1;
  margin-bottom: 4px;
}
.t2v-stat-label {
  font-size: 12px;
  color: var(--t2v-muted);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Section base ───────────────────────────────────── */
.t2v-section {
  padding: 80px 0;
}
.t2v-section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.t2v-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t2v-orange);
  margin-bottom: 12px;
}
.t2v-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--t2v-navy);
  margin: 0 0 16px;
  line-height: 1.15;
}
.t2v-section-desc {
  font-size: 17px;
  color: #4a5568;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 0 48px;
}
.t2v-section--dark {
  background: var(--t2v-navy);
  color: var(--t2v-white);
}
.t2v-section--dark .t2v-section-title { color: var(--t2v-white); }
.t2v-section--dark .t2v-section-desc  { color: rgba(255,255,255,.7); }
.t2v-section--grey { background: #f7f9fc; }

/* ── Planning section ──────────────────────────────── */
.t2v-planning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.t2v-planning-day {
  background: var(--t2v-navy-card);
  border: 1px solid var(--t2v-border);
  border-radius: var(--t2v-radius);
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .2s;
}
.t2v-planning-day:hover { border-color: rgba(237,139,0,.35); }
.t2v-planning-day--rest {
  opacity: .5;
}
.t2v-day-badge {
  background: rgba(237,139,0,.15);
  color: var(--t2v-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 6px 10px;
  flex-shrink: 0;
  min-width: 50px;
  text-align: center;
}
.t2v-day-info { flex: 1; min-width: 0; }
.t2v-day-activity {
  font-size: 14px;
  font-weight: 700;
  color: var(--t2v-white);
  margin: 0 0 4px;
}
.t2v-day-time {
  font-size: 13px;
  color: var(--t2v-orange);
  font-weight: 600;
  margin: 0 0 4px;
}
.t2v-day-location {
  font-size: 12px;
  color: var(--t2v-muted);
  margin: 0;
}

/* ── Objectif section ──────────────────────────────── */
.t2v-objectif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.t2v-values-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.t2v-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.t2v-value-icon {
  width: 40px;
  height: 40px;
  background: rgba(237,139,0,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.t2v-value-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--t2v-navy);
  margin: 0 0 4px;
}
.t2v-value-text p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}
.t2v-objectif-img {
  background: linear-gradient(135deg, var(--t2v-navy) 0%, var(--t2v-navy-card) 100%);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  border: 1px solid rgba(13,27,53,.15);
  box-shadow: 0 20px 60px rgba(13,27,53,.12);
}
.t2v-objectif-img-icon { font-size: 80px; margin-bottom: 24px; display: block; }
.t2v-objectif-img-text {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
}
.t2v-objectif-img-text strong { color: var(--t2v-orange); font-style: normal; }

/* ── Socials ────────────────────────────────────────── */
.t2v-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.t2v-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--t2v-navy-card);
  border: 1px solid var(--t2v-border);
  border-radius: 8px;
  color: var(--t2v-white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.t2v-social-link:hover { border-color: var(--t2v-orange); background: rgba(237,139,0,.08); color: var(--t2v-orange); }

/* ── CTA Banner ──────────────────────────────────────── */
.t2v-cta-banner {
  background: linear-gradient(135deg, #ed8b00 0%, #d47d00 100%);
  padding: 70px 0;
  text-align: center;
}
.t2v-cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--t2v-white);
  margin: 0 0 12px;
}
.t2v-cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin: 0 0 36px;
}
.t2v-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.t2v-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--t2v-white);
  color: var(--t2v-orange);
  font-weight: 800;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .15s;
}
.t2v-btn-white:hover { transform: translateY(-2px); color: var(--t2v-orange); }
.t2v-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: transparent;
  color: var(--t2v-white);
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.5);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.t2v-btn-ghost:hover { border-color: var(--t2v-white); background: rgba(255,255,255,.12); }

/* ── Footer surcharge ───────────────────────────────── */
.site-footer {
  background: #070f1d !important;
  color: rgba(255,255,255,.6) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}
.site-footer a { color: rgba(255,255,255,.5) !important; }
.site-footer a:hover { color: var(--t2v-orange) !important; }

/* ═══════════════════════════════════════════════════════
   COHÉRENCE THÈME — pages génériques (.page-hero)
   S'applique à inscription-stage-token (hero standard)
   et toute future page générique sans vue TRI2V dédiée.
   Règle : pas de jeton global touché, tout est scoped.
   ═══════════════════════════════════════════════════════ */

/* ── Hero générique (.page-hero) → gradient navy ────── */
.page-hero {
  background: linear-gradient(160deg, #0a1628 0%, #0d1b35 50%, #121f38 100%);
  padding: 100px 0 80px;
}

/* ── Titre hero générique → poids TRI2V ─────────────── */
.page-hero-title {
  font-weight: 900;
  letter-spacing: -.03em;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
}

/* ── Eyebrow générique → style ligne TRI2V ──────────── */
.page-hero-eyebrow {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t2v-orange) !important;
  gap: 10px;
  margin-bottom: 20px;
}
.page-hero-eyebrow-dot {
  width: 28px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: var(--t2v-orange) !important;
  flex-shrink: 0;
}
.page-hero-title em { color: var(--t2v-orange) !important; }

/* ═══════════════════════════════════════════════════════
   PAGE CONTACT — recolorage accents (vert AECJ → orange TRI2V)
   La vue contact TRI2V réutilise le markup + contact.css du
   template partagé. On surcharge ici les seuls accents verts
   pour rester cohérent avec le thème navy/orange. Scoped aux
   classes .contact-* qui n'existent que sur cette page.
   ═══════════════════════════════════════════════════════ */
.contact-form-col .field-group input:focus,
.contact-form-col .field-group textarea:focus,
.contact-form-col .field-group select:focus {
  border-color: var(--t2v-orange);
  box-shadow: 0 0 0 3px rgba(237,139,0,.15);
}
.contact-info-icon { background: rgba(237,139,0,.12); }
.contact-info-icon svg { stroke: var(--t2v-orange); }
.contact-info-item a,
.contact-hours-note a,
.contact-map-link { color: var(--t2v-orange); }
.contact-map-link:hover { background: rgba(237,139,0,.10); }
.contact-social-link {
  color: var(--t2v-orange);
  border-color: rgba(237,139,0,.45);
}
.contact-social-link:hover { background: rgba(237,139,0,.10); }
.contact-hours-card { background: #fff8f0; }
.contact-form-title,
.contact-info-title { color: var(--t2v-navy); }

/* ═══════════════════════════════════════════════════════
   PAGE PARTENAIRES — recolorage accents (vert AECJ → TRI2V)
   La vue partenaires TRI2V réutilise partenaires.css ; on
   neutralise ici les fonds vert-pâle et les accents verts.
   ═══════════════════════════════════════════════════════ */
.partenaires-section { background: var(--t2v-white); }
.partenariat-contact-section { background: #f7f9fc; }
.partenaires-section .section-label,
.partenariat-contact-section .section-label { color: var(--t2v-orange); }
.partenaires-section .section-title,
.partenariat-contact-section .section-title { color: var(--t2v-navy); }
.partenaire-card:hover { border-color: var(--t2v-orange); }
.partenaire-badge { background: var(--t2v-orange); }
.partenaire-logo-placeholder { background: rgba(237,139,0,.12); }
.partenaire-link { color: var(--t2v-orange); }
.partenariat-form-group input:focus,
.partenariat-form-group select:focus,
.partenariat-form-group textarea:focus {
  border-color: var(--t2v-orange);
  box-shadow: 0 0 0 3px rgba(237,139,0,.15);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .t2v-hero-inner,
  .t2v-objectif-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .t2v-hero { padding: 72px 0 56px; }
  .t2v-stats-inner { flex-wrap: wrap; }
  .t2v-stat { border-right: none; border-bottom: 1px solid var(--t2v-border); padding: 16px 0; }
  .t2v-stat:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .t2v-hero-actions,
  .t2v-cta-actions { flex-direction: column; align-items: stretch; text-align: center; justify-content: center; }
  .t2v-btn-primary,
  .t2v-btn-outline,
  .t2v-btn-white,
  .t2v-btn-ghost { justify-content: center; }
}

