
/* ========================================
   EXCELLENCE AUTOMATISÉE — V1.1
   ======================================== */


/* VARIABLES */

:root {
  --ink: #173c3d;
  --teal: #176a68;
  --muted: #617371;

  --cream: #f8f8f4;
  --white: #ffffff;

  --line: #dce6e1;
  --soft-green: #e8f1ec;
}


/* BASE */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--ink);
  background: var(--cream);

  line-height: 1.7;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}


/* NAVIGATION */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
  padding: 25px 0;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;

  line-height: 1.25;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;

  font-size: .9rem;
  color: var(--muted);

  transition: color .2s;
}

.nav-links a:hover {
  color: var(--teal);
}


/* ACCUEIL */

.hero {
  text-align: center;
  padding: 115px 0 125px;
}

.eyebrow {
  color: var(--teal);

  font-size: .75rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .19em;
}

h1 {
  max-width: 850px;

  margin: 24px auto;

  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1.09;

  letter-spacing: -.055em;
}

.hero p {
  max-width: 620px;

  margin: 0 auto 32px;

  font-size: 1.12rem;
  color: var(--muted);
}

.button {
  display: inline-block;

  padding: 13px 25px;

  border-radius: 9px;

  background: var(--ink);
  color: white;

  text-decoration: none;
  font-weight: 650;

  transition:
    background .2s,
    transform .2s;
}

.button:hover {
  background: var(--teal);
  transform: translateY(-2px);
}


/* SECTIONS */

section {
  padding: 85px 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 35px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);

  letter-spacing: -.035em;
  line-height: 1.2;

  margin: 12px 0 18px;
}

.section-heading p,
.intro-text {
  color: var(--muted);
}


/* DÉMARCHE */

.principles {
  background: var(--ink);
  color: white;
}

.principles .eyebrow {
  color: #9bd4c3;
}

.principles .section-heading p {
  color: #d0dfda;
}

.three-cols {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle {
  padding: 24px 0;

  border-top: 1px solid #527172;
}

.principle .number {
  color: #9bd4c3;

  font-size: .8rem;
  font-weight: 700;
}

.principle h3 {
  font-size: 1.45rem;
  margin: 24px 0;
}

.principle p {
  color: #d0dfda;
}


/* CONTENUS */

.content-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.content-card {
  background: var(--white);

  padding: 30px;

  border: 1px solid var(--line);
  border-radius: 16px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-height: 310px;

  transition:
    transform .2s,
    box-shadow .2s;
}

.content-card:hover {
  transform: translateY(-3px);

  box-shadow:
    0 12px 30px rgba(23, 60, 61, .06);
}

.content-type {
  font-size: .7rem;
  font-weight: 800;

  letter-spacing: .15em;

  color: var(--teal);
}

.card-icon {
  font-size: 1.6rem;
  color: var(--teal);

  margin-top: 18px;
}

.content-card h3 {
  margin: 18px 0 5px;
  font-size: 1.35rem;
}

.content-card p {
  color: var(--muted);
  margin: 12px 0;
}

.content-card p:last-of-type {
  flex-grow: 1;
}

.content-card a {
  margin-top: auto;

  font-weight: 700;
  color: var(--teal);

  text-underline-offset: 4px;
}

.content-card a:hover {
  color: var(--ink);
}


/* PODCAST MIS EN AVANT */

.featured-card {
  background: var(--soft-green);
  border-color: #b9d5c8;
}

.coming-soon {
  display: inline-block;

  margin-top: auto;
  padding-top: 15px;

  font-size: .85rem;
  color: var(--muted);
}


/* À PROPOS */

.about {
  border-top: 1px solid var(--line);
}

.about-layout {
  display: grid;

  grid-template-columns: 1fr 1.4fr;

  gap: 75px;
  align-items: start;
}

.about-content p {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 22px;
}

.about-highlight {
  padding: 22px 25px;

  margin: 30px 0 !important;

  background: var(--soft-green);

  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;

  color: var(--ink) !important;
  font-weight: 600;
}


/* NEWSLETTER */

.newsletter {
  padding: 75px 0;

  background: #e7f0eb;
  text-align: center;
}

.newsletter p {
  max-width: 530px;

  margin: 0 auto 25px;

  color: var(--muted);
}

.newsletter-placeholder {
  display: inline-block;

  padding: 15px 22px;

  border: 1px dashed #91b4a7;
  border-radius: 10px;

  color: var(--muted);
  background: rgba(255, 255, 255, .5);

  font-size: .9rem;
}


/* PIED DE PAGE */

footer {
  padding: 35px 0;

  font-size: .85rem;
  color: var(--muted);
}

.footer-layout {
  display: flex;

  justify-content: space-between;
  gap: 15px;

  flex-wrap: wrap;
}


/* TABLETTES ET MOBILES */

@media (max-width: 720px) {

  nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: .82rem;
  }

  .hero {
    padding: 80px 0 95px;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 65px 0;
  }

  .three-cols,
  .content-grid,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-layout {
    gap: 5px;
  }

  .content-card {
    min-height: 250px;
  }

}


/* PETITS ÉCRANS */

@media (max-width: 420px) {

  .container {
    padding: 0 18px;
  }

  nav {
    flex-direction: column;
    gap: 20px;
  }

  .hero {
    padding: 65px 0 80px;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .eyebrow {
    font-size: .68rem;
  }

  .content-card {
    padding: 25px;
  }

  .footer-layout {
    flex-direction: column;
  }

}


/* ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .button,
  .content-card {
    transition: none;
  }

}
