/* =========================================================
   ASSOCIATION TANDEM — duplication statique (HTML/CSS/JS)
   Palette et typographies extraites du thème WordPress
   (Twenty Twenty-Five + styles globaux du site) :
   ========================================================= */

:root {
  --color-base: #fbfbfb;        /* fond clair */
  --color-contrast: #06001a;    /* texte / titres de cartes */
  --color-text: #170742;        /* texte courant sur fond clair (accent-5) */
  --color-dark: #170742;        /* fond sombre principal (accent-5) */
  --color-page-bg: #0b0c10;     /* fond de page (hors sections) */
  --color-orange: #f2461a;      /* accent-1 */
  --color-orange-dark: #a92200; /* accent-4 (hover) */
  --color-blue: #381bf3;        /* accent-2 */
  --color-yellow: #faef20;      /* accent-3 */
  --color-white: #ffffff;

  --font-main: "Manrope", sans-serif;
  --fs-large: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);

  --container-width: 1220px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-page-bg);
  line-height: 1.4;
  letter-spacing: -0.1px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 400;
  line-height: 1.125;
  letter-spacing: -0.1px;
}
strong { font-weight: 700; }
mark { background: none; }
mark.accent { color: var(--color-blue); font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .container { padding: 0 60px; }
}

/* ---------- Boutons ---------- */
.btn-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 28px 0;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 300;
  font-size: 1.34rem;
  color: var(--color-base);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--blue   { background: var(--color-blue); }
.btn--orange { background: var(--color-orange); }

/* ---------- Hero ---------- */
.hero {
  background: var(--color-dark);
  color: var(--color-base);
  padding: 70px 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 42% 1fr;
    gap: 60px;
  }
}

.hero h1 {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.3rem);
  color: var(--color-base);
}

.hero p {
  font-size: var(--fs-large);
  font-weight: 300;
  color: var(--color-base);
}

.text-accent-1 { color: var(--color-orange); }

/* ---------- Logo ---------- */
.hero__logo-img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* ---------- Notre mission ---------- */
.mission {
  background: var(--color-base);
  color: var(--color-text);
  padding: 85px 0;
}

.mission__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

@media (min-width: 900px) {
  .mission__grid {
    grid-template-columns: 1fr 37%;
    gap: 60px;
  }
}

.mission h2 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem);
  color: var(--color-blue);
}

.mission p {
  font-size: var(--fs-large);
  font-weight: 300;
}

.mission__media img {
  border-radius: var(--radius-lg);
}

/* ---------- Cartes de valeurs ---------- */
.values {
  background: var(--color-dark);
  padding: 70px 0;
}

.values__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.card {
  flex: 1 1 220px;
  border-radius: var(--radius-lg);
  padding: 30px;
}

.card h3 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 0.4em;
}

.card p {
  font-size: 1.05rem;
  font-weight: 300;
  margin: 0;
}

.card--light { background: var(--color-base); color: var(--color-contrast); }
.card--orange { background: var(--color-orange); color: var(--color-base); }
.card--blue { background: var(--color-blue); color: var(--color-base); }

/* ---------- Citation ---------- */
.pullquote {
  background: var(--color-base);
  color: var(--color-text);
  margin: 0;
  padding: 60px 24px;
  text-align: center;
}

.pullquote blockquote {
  margin: 0 auto;
  max-width: 900px;
}

.pullquote p {
  font-size: clamp(2.15rem, 1.7rem + 1.9vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
}

.pullquote figcaption {
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 300;
}

.pullquote cite {
  font-style: normal;
}

/* ---------- Chat Vote ---------- */
.chatvote {
  background: var(--color-dark);
  color: var(--color-base);
  padding: 90px 0;
}

.chatvote__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

@media (min-width: 900px) {
  .chatvote__grid {
    grid-template-columns: 26% 1fr;
    gap: 70px;
  }
}

.chatvote__media img {
  border-radius: var(--radius-lg);
  margin: 0 auto;
}

.chatvote h2 {
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.5rem);
  line-height: 1.2;
  color: var(--color-base);
}

.chatvote p {
  font-size: var(--fs-large);
  font-weight: 300;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  border: 1px solid var(--color-base);
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 0.875rem;
  font-weight: 300;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-base);
  color: var(--color-text);
  padding: 30px 0;
}

.site-footer__title {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
