/* =============================================
   accueil.css — Chez Tante Yvonne v3
   ============================================= */

/* ── HERO ── */
.hero {
  padding: clamp(56px, 8vw, 100px) 0 0;
  border-bottom: 1.5px solid var(--gris-leger);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.hero-label {
  font-family: var(--font-titre);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.hero-annee {
  font-family: var(--font-titre);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.hero-titre {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.hero-titre h1 {
  font-family: var(--font-titre);
  font-size: clamp(64px, 14vw, 180px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--bleu-nuit);
}

.hero-souligne {
  height: 8px;
  width: min(52vw, 480px);
  background: var(--bleu);
  margin-top: 12px;
  transform: skewX(-10deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1.5px solid var(--gris-leger);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero-accroche {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--texte);
  font-weight: 300;
  max-width: 42ch;
  margin-bottom: 28px;
}

.hero-accroche em {
  font-style: italic;
  color: var(--texte);
}

.hero-boutons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1.5px solid var(--bleu-nuit);
  color: var(--bleu-nuit);
  border-radius: var(--rayon);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover {
  background: var(--bleu-nuit);
  color: var(--blanc);
}

/* Facts sidebar */
.hero-facts {
  border-left: 1.5px solid var(--gris-leger);
  padding-left: clamp(16px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
}

.hero-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gris-leger);
}

.hero-fact:last-child { border-bottom: 0; }

.fact-k {
  font-family: var(--font-titre);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.fact-v {
  font-family: var(--font-titre);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bleu-nuit);
  text-align: right;
}

/* ── SECTIONS COMMUNES ── */
.sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.sec-no {
  font-family: var(--font-titre);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1.5px solid var(--bleu-nuit);
  padding: 5px 10px;
  color: var(--bleu-nuit);
}

.sec-label h2 {
  font-family: var(--font-titre);
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.sec-rule {
  flex: 1;
  height: 1.5px;
  background: var(--gris-leger);
}

/* ── LEDGER ── */
.ledger {
  border-top: 1.5px solid var(--gris-leger);
}

.ledger-row {
  display: grid;
  grid-template-columns: clamp(80px, 11vw, 160px) 1.1fr 1.4fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(28px, 3.5vw, 48px) 0;
  border-bottom: 1.5px solid var(--gris-leger);
  transition: background var(--transition), color var(--transition), padding var(--transition), margin var(--transition);
  cursor: default;
}

.ledger-row:hover {
  background: var(--bleu-nuit);
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 -20px;
}

.ledger-idx {
  font-family: var(--font-titre);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.85;
  color: var(--bleu-mid);
  transition: color var(--transition);
}

.ledger-row:hover .ledger-idx {
  color: var(--bleu);
}

.ledger-titre h3 {
  font-family: var(--font-titre);
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bleu-nuit);
  transition: color var(--transition);
  margin-bottom: 10px;
}

.ledger-row:hover .ledger-titre h3 {
  color: var(--blanc);
}

.ledger-tag {
  font-family: var(--font-titre);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gris-leger);
  padding: 3px 8px;
  color: var(--texte-doux);
  display: inline-block;
  transition: border-color var(--transition), color var(--transition);
}

.ledger-row:hover .ledger-tag {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
}

.ledger-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--texte-doux);
  max-width: 48ch;
  transition: color var(--transition);
}

.ledger-row:hover .ledger-desc {
  color: rgba(255,255,255,0.7);
}

/* ── HISTOIRE ── */
.story {
  background: var(--bleu-nuit);
}

.story .sec-label h2 {
  color: var(--blanc);
}

.story .sec-no {
  border-color: rgba(255,255,255,0.4);
  color: var(--blanc);
}

.story .sec-rule {
  background: rgba(255,255,255,0.15);
}

.story-cols {
  columns: 2;
  column-gap: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(36px, 5vw, 60px);
}

.story-cols p {
  break-inside: avoid;
  margin-bottom: 20px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.story-cols p:first-child::first-letter {
  font-family: var(--font-titre);
  font-weight: 700;
  float: left;
  font-size: clamp(56px, 8vw, 100px);
  line-height: 0.75;
  padding: 6px 12px 0 0;
  color: var(--bleu);
}

.story-pullquote {
  font-family: var(--font-corps);
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.25;
  color: rgba(255,255,255,0.9);
  max-width: 22ch;
  font-weight: 300;
  border: none;
  padding: 0;
}

.story-pullquote strong {
  font-style: normal;
  font-weight: 600;
  color: var(--bleu);
}

/* ── DISPATCH / CHANTIER ── */
.dispatch {
  border-top: 1.5px solid var(--gris-leger);
}

.dispatch-row {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 200px) 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(22px, 3vw, 40px) 0;
  border-bottom: 1.5px solid var(--gris-leger);
  transition: background var(--transition), padding var(--transition), margin var(--transition);
}

.dispatch-row:hover {
  background: var(--bleu-pale);
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 -20px;
}

.dispatch-statut {
  font-family: var(--font-titre);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--gris-leger);
  padding: 5px 10px;
  display: inline-block;
  white-space: nowrap;
  justify-self: start;
}

.dispatch-statut.ok {
  background: var(--bleu-nuit);
  color: var(--blanc);
  border-color: var(--bleu-nuit);
}

.dispatch-statut.encours {
  background: var(--bleu);
  color: var(--blanc);
  border-color: var(--bleu);
}

.dispatch-texte h3 {
  font-family: var(--font-titre);
  font-size: clamp(17px, 2.2vw, 26px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bleu-nuit);
  margin-bottom: 6px;
}

.dispatch-texte p {
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--texte-doux);
  max-width: 52ch;
}

.dispatch-date {
  font-family: var(--font-titre);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
  white-space: nowrap;
}

/* ── CONTACT ── */
.contact-section {
  border-top: 1.5px solid var(--gris-leger);
}

.contact-intro {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
  max-width: 40ch;
  margin-bottom: clamp(20px, 3vw, 36px);
  color: var(--texte);
}

.contact-mailto {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: clamp(24px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bleu-nuit);
  text-decoration: none;
  line-height: 1;
  margin-bottom: clamp(24px, 4vw, 48px);
  background: linear-gradient(var(--bleu), var(--bleu)) left bottom / 100% 3px no-repeat;
  transition: background-size var(--transition);
  padding-bottom: 4px;
}

.contact-mailto:hover {
  background-size: 100% 100%;
  color: var(--bleu-nuit);
}

.contact-reseaux {
  display: flex;
  border-top: 1.5px solid var(--gris-leger);
}

.contact-reseaux a {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2.5vw, 28px) 0;
  border-bottom: 1.5px solid var(--gris-leger);
  transition: background var(--transition), color var(--transition);
}

.contact-reseaux a + a {
  border-left: 1.5px solid var(--gris-leger);
  padding-left: clamp(18px, 2.5vw, 28px);
}

.contact-reseaux a:hover {
  background: var(--bleu-nuit);
  color: var(--blanc);
  padding-left: clamp(18px, 2.5vw, 28px);
  padding-right: clamp(18px, 2.5vw, 28px);
  margin: 0 -1px;
}

.reseau-nom {
  font-family: var(--font-titre);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.reseau-sub {
  font-family: var(--font-titre);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
  display: block;
  transition: color var(--transition);
}

.contact-reseaux a:hover .reseau-sub {
  color: rgba(255,255,255,0.55);
}

.reseau-arw {
  font-size: 1.2rem;
  color: var(--texte-doux);
  transition: color var(--transition);
}

.contact-reseaux a:hover .reseau-arw {
  color: var(--blanc);
}

/* ── FOOTER ── */
.foot-logo {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1.5px solid rgba(255,255,255,0.12);
  margin-bottom: clamp(20px, 3vw, 32px);
  display: flex;
  justify-content: center;
}

.foot-logo img {
  height: clamp(260px, 34vw, 420px);
  width: auto;
  background: var(--blanc);
  padding: clamp(12px, 2vw, 24px);
  border-radius: var(--rayon);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.foot-logo:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.foot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vw, 48px);
  font-family: var(--font-titre);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.foot-meta nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-meta a {
  color: var(--texte-doux);
  transition: color var(--transition);
}

.foot-meta a:hover {
  color: var(--bleu-nuit);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-facts {
    border-left: 0;
    border-top: 1.5px solid var(--gris-leger);
    padding-left: 0;
    padding-top: 24px;
  }
  .ledger-row {
    grid-template-columns: clamp(60px, 10vw, 100px) 1fr;
    grid-template-rows: auto auto;
  }
  .ledger-desc {
    grid-column: 1 / -1;
  }
  .story-cols {
    columns: 1;
  }
  .dispatch-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dispatch-date { order: 3; }
  .contact-reseaux {
    flex-direction: column;
  }
  .contact-reseaux a + a {
    border-left: 0;
    padding-left: 0;
  }
  .foot-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .hero-souligne { width: 80vw; }
  .ledger-row:hover,
  .dispatch-row:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ledger-row, .dispatch-row, .contact-reseaux a { transition: none; }
}

/* ══════════════════════════════
   HERO avec photo
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.08) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,58,92,0.28) 0%,
    rgba(26,58,92,0.55) 50%,
    rgba(26,58,92,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.hero-label,
.hero-annee {
  font-family: var(--font-titre);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero-content h1 {
  font-family: var(--font-titre);
  font-size: clamp(64px, 14vw, 180px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--blanc);
}

.hero-souligne {
  height: 6px;
  width: min(52vw, 420px);
  background: var(--bleu);
  margin-top: 14px;
  margin-bottom: clamp(24px, 4vw, 44px);
  transform: skewX(-10deg);
}

.hero-bas {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.hero-accroche {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  max-width: 44ch;
}

.hero-accroche em {
  font-style: italic;
  color: var(--blanc);
}

.hero-boutons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-outline-blanc {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--blanc);
  border-radius: var(--rayon);
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline-blanc:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--blanc);
}

/* ══════════════════════════════
   FACTS BANDE
══════════════════════════════ */
.facts-bande {
  background: var(--bleu-nuit);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.facts-inner {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.facts-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2vw, 24px);
}

.facts-v {
  font-family: var(--font-titre);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--blanc);
}

.facts-k {
  font-family: var(--font-titre);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.facts-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
}

/* ══════════════════════════════
   HISTOIRE avec photo
══════════════════════════════ */
.story {
  background: var(--bleu-nuit);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.story-photo {
  position: sticky;
  top: 90px;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
  display: block;
}

.story-photo-legende {
  display: block;
  font-family: var(--font-titre);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
}

.story-texte {
  padding-top: 8px;
}

.story-cols {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.story-cols p {
  margin-bottom: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
}

.story-cols p:first-child::first-letter {
  font-family: var(--font-titre);
  font-weight: 700;
  float: left;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.75;
  padding: 6px 12px 0 0;
  color: var(--bleu);
}

.story-pullquote {
  font-family: var(--font-corps);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.3;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  border-left: 3px solid var(--bleu);
  padding-left: 24px;
}

.story-pullquote strong {
  font-style: normal;
  font-weight: 600;
  color: var(--bleu);
}

/* ══════════════════════════════
   CHANTIER photo pleine largeur
══════════════════════════════ */
.chantier-photo {
  position: relative;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.chantier-photo img {
  width: 100%;
  height: clamp(280px, 45vw, 520px);
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.chantier-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px clamp(16px, 3vw, 40px);
  background: rgba(26,58,92,0.65);
}

.chantier-photo-caption span {
  font-family: var(--font-titre);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* GoFundMe row */
.dispatch-gofundme {
  background: var(--bleu-pale);
  border-bottom: 1.5px solid var(--bleu-mid);
}

.dispatch-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ══════════════════════════════
   RESPONSIVE photos
══════════════════════════════ */
@media (max-width: 860px) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 96px;
  }

  .hero-bas {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-photo {
    position: static;
    aspect-ratio: 16/9;
  }

  .story-photo img {
    aspect-ratio: 16/9;
  }

  .facts-inner {
    flex-wrap: wrap;
  }

  .facts-item {
    flex: 1 1 40%;
  }

  .facts-sep {
    display: none;
  }
}

@media (max-width: 560px) {
  .facts-item {
    flex: 1 1 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .dispatch-gofundme {
    grid-template-columns: 1fr;
  }

  .dispatch-btn {
    width: 100%;
    text-align: center;
  }
}

/* ── Terrassement : version recadrée NB, plus haute ── */
.chantier-photo img {
  height: clamp(380px, 60vh, 640px) !important;
  object-position: center center !important;
  filter: grayscale(100%) contrast(1.05);
}

/* ══════════════════════════════
   CHANTIER — layout côte à côte
══════════════════════════════ */
.chantier-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.chantier-photo {
  position: sticky;
  top: 90px;
  margin: 0;
}

.chantier-photo img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: none !important;
}

.chantier-photo-legende {
  display: block;
  font-family: var(--font-titre);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-top: 10px;
}

@media (max-width: 860px) {
  .chantier-layout {
    grid-template-columns: 1fr;
  }
  .chantier-photo {
    position: static;
  }
  .chantier-photo img {
    max-height: 50vh;
  }
}

/* Bouton désactivé (GoFundMe en attente de lien) */
.dispatch-btn-disabled {
  background: var(--gris-leger);
  border-color: var(--gris-leger);
  color: var(--texte-doux);
  cursor: not-allowed;
  opacity: 0.7;
}
.dispatch-btn-disabled:hover {
  background: var(--gris-leger);
  transform: none;
}
