/* ==========================================================================
   THÉO PORQUET — DESIGN SYSTEM
   Palette : teal nuit + cuivre + blanc/crème
   Typo : Libre Baskerville (titres) + Josefin Sans (corps)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Josefin+Sans:wght@300;400;500;600&display=swap");

:root {
  --teal-dark: #042F2E;
  --teal-main: #085F5B;
  --teal-light: #0D9488;
  --copper: #B87333;
  --copper-dark: #9C6128;
  --white: #FFFFFF;
  --cream: #F7F4EF;
  --slate: #0F172A;
  --body: #334155;          /* texte body — contrast AA sur blanc */
  --gray: #475569;          /* sous-titres / meta — plus foncé qu'avant */
  --gray-light: #94A3B8;

  --container: 1180px;
  --gutter: clamp(1.5rem, 4vw, 3rem);

  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(8, 95, 91, 0.06);
  --shadow-md: 0 4px 20px rgba(8, 95, 91, 0.10);
  --shadow-lg: 0 10px 40px rgba(8, 95, 91, 0.15);

  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

body {
  font-family: "Josefin Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--slate);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  word-break: break-word;
  hyphens: auto;
}
@media (max-width: 380px) {
  h1 { font-size: 1.75rem; }
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--copper);
  font-weight: 700;
  line-height: 1.3;
}
h4 {
  font-size: 1.1rem;
  color: var(--slate);
}

p { margin-bottom: 1rem; color: var(--body); }
strong { color: var(--slate); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal-main);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--teal-main);
}

.lead {
  font-size: 1.15rem;
  color: var(--body);
  font-weight: 400;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 2rem;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}
@media (max-width: 600px) {
  .section { padding-block: 2.25rem; }
  .section-header { margin-bottom: 1.75rem; }
}
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
}
.section--dark h1,
.section--dark h2,
.section--dark h4 { color: var(--white); }
.section--dark h3 { color: var(--copper); }
.section--dark .eyebrow { color: var(--teal-light); }
.section--dark .eyebrow::before { background: var(--teal-light); }
.section--dark .lead { color: rgba(255,255,255,0.75); }

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem;
}
.section-header .eyebrow { justify-content: center; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.08rem;
  color: var(--body);
  line-height: 1.7;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-align: center;
  max-width: 100%;
}
@media (max-width: 600px) {
  .btn {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 13px 20px;
  }
  .btn-group { width: 100%; }
  .btn-group .btn { width: 100%; }
}
.btn-primary {
  background: var(--teal-main);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--copper);
  color: var(--white);
  border: 2px solid var(--copper);
  font-weight: 700;
}
.btn-secondary:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}
.btn-arrow::after {
  content: "→";
  margin-left: 0.25rem;
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 56px;
}
.nav-logo img {
  height: 100%;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .nav-logo { height: 46px; }
}
.footer-brand .nav-logo {
  height: 64px;
  margin-bottom: 1.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-menu a {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--teal-main);
}
.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--copper);
}
.nav-menu a.nav-cta {
  background: var(--teal-main);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav-menu a.nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white);
}
.nav-menu a.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    height: calc(100vh - 76px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--teal-dark);
    padding: 2rem var(--gutter);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-menu a.active::after { display: none; }
  .nav-menu a.active { color: var(--copper); }
  .nav-menu a.nav-cta {
    background: var(--copper);
    margin-top: 1rem;
    padding: 14px 24px;
    text-align: center;
    border-radius: var(--radius);
    width: 100%;
  }
  .nav-menu a.nav-cta:hover { background: var(--copper-dark); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(2.5rem, 7vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5.5rem);
  overflow: hidden;
}
@media (max-width: 600px) {
  .hero { padding: 2rem 0 2.25rem; }
}
.hero--dark {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
}
.hero--dark h1 { color: var(--white); }
.hero--dark .lead { color: rgba(255,255,255,0.75); }
.hero--dark .eyebrow { color: var(--teal-light); }
.hero--dark .eyebrow::before { background: var(--teal-light); }

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero--split .hero-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-main), var(--teal-dark));
  box-shadow: var(--shadow-lg);
}
.hero--split .hero-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--split .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(4,47,46,0.35));
  pointer-events: none;
}

/* Hero image variant with centered logo — pas d'encadrement */
.hero-image--logo {
  background: transparent !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 0;
}
.hero-image--logo > img {
  width: auto !important;
  height: auto !important;
  max-width: 80%;
  max-height: 360px;
  object-fit: contain !important;
}
.hero-image--logo::after { display: none; }
@media (max-width: 880px) {
  .hero-image--logo {
    min-height: 200px;
  }
  .hero-image--logo > img { max-height: 220px; max-width: 70%; }
}
@media (max-width: 880px) {
  .hero--split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero--split .hero-image {
    aspect-ratio: 4/3;
    order: -1;
    max-height: 280px;
  }
}
@media (max-width: 480px) {
  .hero--split {
    gap: 1.25rem;
  }
  .hero--split .hero-image {
    aspect-ratio: 16/10;
    max-height: 220px;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: var(--cream);
  color: var(--teal-dark);
  border-radius: 999px;
  border: 1px solid rgba(8, 95, 91, 0.1);
}
.badge--copper {
  background: rgba(184, 115, 51, 0.08);
  color: var(--copper);
  border-color: rgba(184, 115, 51, 0.2);
}
.hero--dark .badge {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.12);
}

/* ==========================================================================
   GRIDS / CARDS
   ========================================================================== */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid { gap: 1.25rem; }
}
@media (min-width: 561px) and (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
@media (max-width: 600px) {
  .card { padding: 1.5rem 1.25rem; }
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.section--cream .card { background: var(--white); }
.card--cream { background: var(--cream); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--body); margin-bottom: 1.25rem; flex-grow: 1; }
.card-link {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-main);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.75rem; color: var(--copper); }
.card-link::after { content: "→"; }

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--teal-main);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Libre Baskerville", serif;
}
.card-icon--copper {
  background: rgba(184, 115, 51, 0.1);
  color: var(--copper);
}

/* Realisations card */
.realisation {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-left: 3px solid var(--copper);
}
.realisation:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.realisation-img {
  aspect-ratio: 4/3;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.realisation-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.realisation:hover .realisation-img img { transform: scale(1.04); }
.realisation-body { padding: 1.75rem; }
@media (max-width: 600px) {
  .realisation-body { padding: 1.25rem; }
}
.realisation-ref {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.6rem;
  display: block;
}
.realisation h3 {
  font-size: 1.3rem;
  color: var(--slate);
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.realisation-meta {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal-main);
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
}
.realisation-meta span {
  display: inline-flex;
  align-items: center;
}
.realisation-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--copper);
  opacity: 0.5;
}
.realisation p {
  font-size: 1rem;
  color: var(--body);
  margin: 0;
  line-height: 1.65;
}

/* Result card (élèves) */
.result-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--copper);
}
.section--dark .result-card {
  background: rgba(255,255,255,0.04);
  border-top-color: var(--copper);
  backdrop-filter: blur(10px);
}
.result-name {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--teal-main);
  margin-bottom: 1rem;
}
.section--dark .result-name { color: var(--copper); }
.result-figure {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--slate);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.section--dark .result-figure { color: var(--white); }
.result-label {
  font-size: 1rem;
  color: var(--body);
}
.section--dark .result-label { color: rgba(255,255,255,0.7); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
}
.stat-figure {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}
.section--dark .stat-label { color: rgba(255,255,255,0.6); }

/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 880px) { .process { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding: 2.25rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--teal-main);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
@media (max-width: 600px) {
  .process-step { padding: 1.5rem 1.25rem; }
}
.process-step .step-number {
  font-family: "Libre Baskerville", serif;
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  color: var(--copper);
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.05em;
}
.process-step h3 { margin-bottom: 0.75rem; color: var(--slate); }
.process-step p { color: var(--body); }
.process-step .duration {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--teal-main);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline-item { padding-bottom: 2rem; }
@media (max-width: 600px) {
  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-bottom: 1.5rem; }
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--copper), var(--teal-light));
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--copper);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--copper);
}
.timeline-year {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--copper);
  margin-bottom: 0.25rem;
}
.timeline h3 { font-size: 1.2rem; color: var(--slate); margin-bottom: 0.5rem; }
.timeline p { color: var(--body); }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.section--cream .faq-item { border-bottom-color: rgba(15,23,42,0.1); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: "Libre Baskerville", serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--slate);
  position: relative;
  transition: color var(--transition);
  line-height: 1.4;
}
.faq-question:hover { color: var(--teal-main); }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--copper);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--body);
  line-height: 1.75;
  font-size: 1.02rem;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form {
  background: var(--white);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius);
  border-top: 3px solid var(--copper);
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}
.section--cream .form { background: var(--white); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.form-field label .req {
  color: var(--copper);
  margin-left: 0.15rem;
}
.form-field input:required + .req,
.form-field textarea:required + .req { display: inline; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--slate);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-main);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(8, 95, 91, 0.08);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form .btn {
  width: 100%;
  padding: 16px;
  margin-top: 1rem;
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
  position: relative;
  display: block;
}
.article-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.article-card:hover .article-img img { transform: scale(1.05); }
.article-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
@media (max-width: 600px) {
  .article-body { padding: 1.5rem; }
}
.article-meta {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}
.article-card h3 {
  font-size: 1.3rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.article-card p {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.65;
}

/* ==========================================================================
   ARTICLE (page d'article)
   ========================================================================== */
.article-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  background: var(--cream);
}
.article-hero .container { max-width: 820px; }
.article-hero .article-meta {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.article-hero .article-meta span:not(:last-child)::after {
  content: "·"; margin-left: 0.5rem; color: var(--gray);
}
.article-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.article-hero .article-excerpt {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 720px;
}

.article-body-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.article-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--body);
}
.article-prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 2.5rem 0 1rem;
  color: var(--slate);
}
.article-prose h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  color: var(--copper);
}
.article-prose p { margin-bottom: 1.25rem; }
.article-prose ul, .article-prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 0.5rem;
}
.article-prose ul li { list-style: disc; margin-bottom: 0.5rem; }
.article-prose ol li { list-style: decimal; margin-bottom: 0.5rem; }
.article-prose blockquote {
  border-left: 3px solid var(--copper);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 0 1.5rem 1.75rem;
}
.article-prose strong { color: var(--slate); font-weight: 600; }
.article-prose a {
  color: var(--teal-main);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.article-prose a:hover { color: var(--copper); }
/* ==========================================================================
   FIX BULLETPROOF — Boutons dans .article-prose
   Spécificité MAX pour outrepasser la règle .article-prose a { color: teal }
   ========================================================================== */
html body .article-prose a.btn,
html body .article-prose p > a.btn {
  text-decoration: none !important;
  border-bottom: none !important;
}
html body .article-prose a.btn-primary,
html body .article-prose a.btn-primary:link,
html body .article-prose a.btn-primary:visited,
html body .article-prose a.btn-primary:hover,
html body .article-prose a.btn-primary:active,
html body .article-prose a.btn-primary:focus,
html body .article-prose p > a.btn-primary,
html body .article-prose p > a.btn-primary:hover {
  color: #FFFFFF !important;
  background-color: var(--teal-main) !important;
}
html body .article-prose a.btn-primary:hover,
html body .article-prose p > a.btn-primary:hover {
  background-color: var(--teal-dark) !important;
}
html body .article-prose a.btn-secondary,
html body .article-prose a.btn-secondary:link,
html body .article-prose a.btn-secondary:visited,
html body .article-prose a.btn-secondary:hover,
html body .article-prose a.btn-secondary:active,
html body .article-prose a.btn-secondary:focus,
html body .article-prose p > a.btn-secondary,
html body .article-prose p > a.btn-secondary:hover {
  color: #FFFFFF !important;
  background-color: var(--copper) !important;
  border-color: var(--copper) !important;
}
html body .article-prose a.btn-secondary:hover,
html body .article-prose p > a.btn-secondary:hover {
  background-color: var(--copper-dark) !important;
  border-color: var(--copper-dark) !important;
}
/* Section CTA finale en .section--dark (boutons hors .article-prose) */
html body .section--dark .btn-secondary,
html body .section--dark .btn-secondary:link,
html body .section--dark .btn-secondary:visited,
html body .section--dark .btn-secondary:hover {
  color: #FFFFFF !important;
}
.article-prose img {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.article-prose hr {
  border: 0;
  border-top: 1px solid rgba(15,23,42,0.08);
  margin: 2.5rem 0;
}

/* YouTube preview card (lightweight, opens in new tab) */
.video-preview {
  display: block;
  position: relative;
  max-width: 540px;
  margin: 2rem auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 18px rgba(15,23,42,0.18);
  text-decoration: none !important;
}
.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.video-preview:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}
.video-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45));
  pointer-events: none;
  z-index: 1;
}
.video-preview .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.video-preview:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--copper);
}
.video-preview .play-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 22px solid var(--teal-dark);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 5px;
  transition: border-left-color var(--transition);
}
.video-preview:hover .play-btn::before { border-left-color: var(--white); }
.video-preview .video-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: var(--white);
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.video-preview .video-label::before {
  content: "▶";
  color: var(--copper);
  font-size: 0.7rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-main);
  margin-bottom: 1.5rem;
}
.article-back:hover { color: var(--copper); }
.article-back::before { content: "←"; }

/* ==========================================================================
   PILLARS / VALUES
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  text-align: center;
  padding: 2rem 1.25rem;
}
@media (max-width: 600px) {
  .pillar { padding: 1.25rem 1rem; }
}
.pillar-num {
  font-family: "Libre Baskerville", serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--copper);
  margin-bottom: 0.5rem;
}
.pillar h4 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.pillar p {
  font-size: 0.95rem;
  color: var(--body);
  margin: 0;
  line-height: 1.65;
}

/* Pillars with "ou" separator */
.pillars-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pillars-or .pillar {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--copper);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  padding: 2rem 1.5rem;
}
.pillar-or-sep {
  align-self: center;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--teal-main);
  letter-spacing: 0.05em;
  position: relative;
  padding: 0 0.5rem;
}
@media (max-width: 880px) {
  .pillars-or {
    grid-template-columns: 1fr;
  }
  .pillar-or-sep {
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-block h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.cta-block p { font-size: 1.1rem; margin-bottom: 2rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
@media (max-width: 600px) {
  .site-footer { padding: 2.5rem 0 1.5rem; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-brand p { max-width: none; }
}

.footer-brand .nav-logo { color: var(--white); margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.95rem; max-width: 360px; }

.footer-col h4 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social {
  display: flex;
  gap: 1.25rem;
}
.footer-social a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0 !important; }

.divider {
  width: 60px;
  height: 1px;
  background: var(--copper);
  margin: 2rem auto;
}

.highlight-box {
  background: var(--cream);
  border-left: 3px solid var(--teal-main);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.section--dark .highlight-box {
  background: rgba(255,255,255,0.05);
  border-left-color: var(--copper);
}
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box strong { color: var(--copper); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
