/* =====================================================
   VARIABLES
===================================================== */

:root {
  --ocre: #B28A24;
  --bordeaux: #8B3A3A;
  --vert: #A8B89A;
  --jaune: #EBCB7A;
  --rose: #E7C3B7;
  --beige: #F3E8D8;
  --anthracite: #2F2F2F;
  --blanc: #fffaf2;
  --overlay-bois: rgba(74, 53, 33, 0.15);
}

/* ===========================
   TYPOGRAPHIE
=========================== */

h1 {
    color: var(--vert);
}

h2 {
    color: var(--bordeaux);
}

h3 {
    color: var(--anthracite);
}

p,
li {
    color: var(--anthracite);
}

/* =====================================================
   BASE
===================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--anthracite);
  background-color: var(--beige);
  background-image: url("../img/fond-bois-clair.png");
  background-repeat: repeat;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
  padding: 22px 0;
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(126, 135, 93, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  width: 210px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  text-decoration: none;
  color: var(--anthracite);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--bordeaux);
}

/* =====================================================
   HERO ACCUEIL avec vidéo
===================================================== */

.hero {
  padding: 70px 0 60px;
}

.hero-panel {
  background: rgba(255, 250, 242, 0.86);
  border-radius: 28px;
  padding: 52px;
  border: 1px solid rgba(58, 58, 58, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.hero-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.hero-heading h1 {
  margin: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: start;
}

.hero-text {
  max-width: 520px;
}

.hero-text p {
  line-height: 1.75;
}

.hero-video {
  width: 100%;
  padding-top: 4px;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}


.eyebrow {
  color: var(--bordeaux);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  margin-bottom: 18px;
}

/* =====================================================
   TYPOGRAPHIE
===================================================== */

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  margin: 0 0 24px;
  color: var(--bordeaux);
  font-weight: 400;
}

h2 {
  font-size: 34px;
  color: var(--bordeaux);
  font-weight: 400;
}

p {
  font-size: 18px;
  line-height: 1.7;
}

/* =====================================================
   BOUTONS
===================================================== */

.btn-primary {
  display: inline-block;
  margin-top: 22px;
  padding: 15px 26px;
  background: var(--bordeaux);
  color: var(--blanc);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;

  transition: background-color .15s ease;
}

.btn-primary:hover {
  background: #6f2e2e;   /* Bordeaux légèrement plus foncé */
}

.btn-secondary {
  display: inline-block;
  margin-top: 18px;
  color: var(--bordeaux);
  text-decoration: none;
  font-weight: 700;
}

/* =====================================================
   ACCUEIL
===================================================== */

.intro {
  padding: 70px 0;
}

/* =====================================================
   PAGES INTERNES
===================================================== */

.page-hero {
  padding: 70px 0 45px;
}

.page-hero h1 {
  margin-bottom: 18px;
}

/* =====================================================
   PAGE STAGES
===================================================== */

.stages-grid-section {
  padding: 30px 0 90px;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.stage-card,
.module-aside,
.module-main {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid rgba(126, 135, 93, 0.2);
  border-radius: 24px;
  padding: 30px;
}

.stage-card h2 {
  font-size: 24px;
  margin: 12px 0;
}

.module-number {
  color: var(--vert);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

/* =====================================================
   PAGE MODULE
===================================================== */

.module-content {
  padding: 30px 0 90px;
}

.module-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.module-aside {
  position: sticky;
  top: 24px;
}

.module-aside ul {
  padding-left: 18px;
  line-height: 1.8;
}

/* =====================================================
   ACCUEIL - POINTS FORTS
===================================================== */

.home-highlights {
  padding: 20px 0 70px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.highlight-card {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.86);

  border: 1px solid rgba(47,47,47,.08);
  border-left: 6px solid transparent;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.highlight-card span {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-green {
  border-left-color: var(--vert);
}

.card-yellow {
  border-left-color: var(--ocre);
}

.card-rose {
  border-left-color: var(--bordeaux);
}

.highlight-card h2 {
  font-size: 25px;
  margin: 0 0 12px;
}

.highlight-card p {
  font-size: 16px;
  margin: 0;
}

.card-green span,
.card-green h2 {
  color: var(--vert);
}

.card-yellow span,
.card-yellow h2 {
  color: var(--ocre);
}

.card-rose span,
.card-rose h2 {
  color: var(--bordeaux);
}



/* =====================================================
   ACCUEIL - ACTUALITÉS
===================================================== */

.news-teaser {
  padding: 30px 0 90px;
}

.news-box {
  max-width: 780px;
  padding: 42px;
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.86);
  border-left: 8px solid var(--vert);
}

.news-box h2 {
  margin-top: 0;
  color: var(--vert);
}

@media (max-width: 900px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer{
    margin-top:80px;
    padding:60px 0;
    background:rgba(255,250,242,.90);
    border-top:1px solid rgba(126,135,93,.18);
}

.footer-grid{
    display:grid;
    grid-template-columns:220px 1fr 260px;
    gap:70px;
    align-items:flex-start;
}

.footer-logo{
    width:170px;
    display:block;
}

.footer-col h3{
    margin:0 0 15px;
    font-size:18px;
    letter-spacing:.08em;
    color:var(--bordeaux);
}

.footer-col p{
    margin:0 0 18px;
    font-size:16px;
    line-height:1.7;
}

.footer-col a{
    color:var(--anthracite);
    text-decoration:none;
}

.footer-col a:hover{
    color:var(--bordeaux);
}

.footer-nav{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-nav a{
    font-size:15px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {
  .stages-grid,
  .module-layout {
    grid-template-columns: 1fr;
  }

  .module-aside {
    position: static;
  }
}

@media (max-width: 900px) {

    .footer-grid{
        grid-template-columns:1fr;
        gap:40px;
        text-align:center;
    }

    .footer-logo{
        margin:0 auto;
    }

    .footer-nav{
        align-items:center;
    }

}

/* =====================================================
   ACCUEIL — VERSION MOBILE
===================================================== */

@media (max-width: 760px) {

  /* Conteneurs plus larges, sans double padding */

  .container {
    width: calc(100% - 32px);
    padding: 0;
  }

  /* Header */

  .site-header {
    padding: 14px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 14px;
  }

  .logo {
    width: 170px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }

  /* Hero de la page d’accueil */

  .hero {
    padding: 28px 0 36px;
  }

  .hero-panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .hero-heading {
    max-width: none;
    margin-bottom: 22px;
  }

  .hero-heading h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.08;
  }

  /* Une seule colonne sur mobile */

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Vidéo immédiatement sous le titre */

  .hero-video {
    order: 1;
    width: 100%;
    padding-top: 0;
  }

  .hero-text {
    order: 2;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .video-wrapper {
    width: 100%;
    border-radius: 16px;
  }

  .hero-text p {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-text p + p {
    margin-top: 18px;
  }

  .btn-primary {
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 14px 18px;
    box-sizing: border-box;
    text-align: center;
  }

  /* Cartes des points forts */

  .home-highlights {
    padding: 10px 0 45px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .highlight-card {
    width: 100%;
    padding: 24px 22px;
    border-radius: 20px;
  }

  .highlight-card span {
    margin-bottom: 12px;
  }

  .highlight-card h2 {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  /* Actualités */

  .news-teaser {
    padding: 20px 0 60px;
  }

  .news-box {
    width: calc(100% - 32px);
    max-width: none;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .news-box h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .news-box p {
    font-size: 1rem;
  }
}


