:root {
  --green-dark: #1f3d2b;

  --grey-very-light: #f7f8f6;
  --grey-light: #eef1ee;
  --grey-medium: #d9ded9;
  --grey-text: #2f332f;
  --grey-muted: #666f68;

  --white: #ffffff;
  --border: #d9ded9;
  --shadow: 0 14px 34px rgba(31, 61, 43, 0.08);

  --grey-gradient-soft: linear-gradient(135deg, #ffffff 0%, #f3f5f2 45%, #e8ece7 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--grey-text);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

/* Header */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-dark);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--grey-muted);
}

.main-nav a:hover {
  color: var(--green-dark);
}

/* Hero accueil */

.hero {
  background: linear-gradient(110deg, rgba(31, 61, 43, 0.97), rgba(31, 61, 43, 0.88));
  color: var(--white);
  padding: 86px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 46px;
  align-items: center;
}

.hero-text p {
  max-width: 760px;
}

.hero h1,
.hero h2 {
  color: var(--white);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(4px);
}

.hero-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.hero-card li {
  margin-bottom: 8px;
}

/* Chiffres clés accueil */

.key-figures-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.key-card-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.key-figures-card h2 {
  margin-bottom: 24px;
  font-size: 2rem;
}

.key-figures {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.key-figure-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 18px;
  padding: 16px 18px;
}

.key-figure-item strong {
  display: block;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.15;
}

.key-figure-item span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.35;
}

/* Hero pages intérieures */

.page-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 76px 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 18px;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.page-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 850px;
}

/* Typographie */

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  color: var(--green-dark);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Boutons */

.button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--white);
  color: var(--green-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button.dark {
  background: var(--green-dark);
  color: var(--white);
}

/* Sections générales */

.intro-section,
.cards-section,
.highlight-section,
.questions-section,
.questions-highlight,
.news-preview,
.news-list-section,
.faq-rich-section,
.entry-section,
.faq-home-section,
.latest-section,
.contact-home-section {
  padding: 72px 0;
}

.intro-section {
  background: var(--white);
}

.cards-section {
  background: var(--grey-very-light);
}

.highlight-section {
  background: var(--grey-gradient-soft);
}

.questions-section {
  background: var(--white);
}

.questions-highlight {
  background: var(--grey-gradient-soft);
}

.news-preview {
  background: var(--grey-very-light);
}

.news-list-section {
  background: var(--grey-very-light);
}

.faq-rich-section {
  background: var(--grey-very-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card,
.links-card,
.quote-box,
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-card p {
  margin-bottom: 0;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.quote-box {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--green-dark);
}

.quote-box p {
  margin: 0;
}

.links-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-card a {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--green-dark);
  font-weight: 700;
}

.links-card a:last-child {
  border-bottom: none;
}

/* Photos masquées temporairement */

.photo-card,
.news-photo,
.faq-photo {
  display: none;
}

/* Nouvelle page d'accueil */

.entry-section {
  background: var(--white);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.entry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.entry-card h3 {
  font-size: 1.45rem;
}

.entry-card p {
  flex: 1;
}

.entry-card a {
  color: var(--green-dark);
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 18px;
}

.featured-entry {
  background: var(--green-dark);
  color: var(--white);
}

.featured-entry h3 {
  color: var(--white);
}

.featured-entry a {
  color: var(--white);
  border-top-color: rgba(255, 255, 255, 0.25);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.reason-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.reason-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--grey-very-light);
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.reason-card p {
  margin-bottom: 0;
}

.faq-home-section {
  background: var(--green-dark);
  color: var(--white);
}

.faq-home-section h2,
.faq-home-section .eyebrow {
  color: var(--white);
}

.faq-home-box,
.contact-home-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.faq-home-box p,
.contact-home-box p {
  max-width: 760px;
}

.faq-home-action,
.contact-home-action {
  white-space: nowrap;
}

.faq-home-section .button.dark {
  background: var(--white);
  color: var(--green-dark);
}

.latest-section {
  background: var(--grey-very-light);
}

.latest-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.latest-list article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.latest-list p:last-child {
  margin-bottom: 0;
}

.contact-home-section {
  background: var(--grey-gradient-soft);
}

.contact-home-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}

/* Actualités */

.news-date {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.center-action {
  text-align: center;
  margin-top: 30px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-content {
  padding: 34px;
}

.news-content h2 {
  margin-bottom: 14px;
}

.news-content p:last-child {
  margin-bottom: 0;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item h3 {
  margin-bottom: 12px;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-rich-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-rich-item {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-content {
  padding: 34px;
}

.faq-content h2 {
  margin-bottom: 14px;
}

.faq-content p:last-child {
  margin-bottom: 0;
}

.faq-note {
  margin-top: 18px;
  font-weight: 700;
  color: var(--green-dark);
}

/* Contact */

.contact-card {
  margin-top: 28px;
  background: var(--grey-very-light);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label,
.form-consent {
  font-weight: 700;
  color: var(--green-dark);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--grey-text);
  background: var(--white);
}

.form-row textarea {
  resize: vertical;
}

.form-consent {
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.form-consent input {
  margin-right: 8px;
}

.hidden-field {
  display: none;
}

/* Footer */

.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 28px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
}

/* Responsive */

@media (max-width: 950px) {
  .header-content {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-content,
  .cards-grid,
  .entry-grid,
  .reasons-grid,
  .latest-list,
  .faq-home-box,
  .contact-home-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 62px 0;
  }

  .page-hero {
    padding: 58px 0;
  }

  .intro-section,
  .cards-section,
  .highlight-section,
  .questions-section,
  .questions-highlight,
  .news-preview,
  .news-list-section,
  .faq-rich-section,
  .entry-section,
  .faq-home-section,
  .latest-section,
  .contact-home-section {
    padding: 54px 0;
  }

  .faq-home-action,
  .contact-home-action {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .main-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-subtitle,
  .page-subtitle {
    font-size: 1.15rem;
  }

  .hero-card,
  .info-card,
  .links-card,
  .quote-box,
  .news-item,
  .faq-item,
  .faq-rich-item,
  .entry-card,
  .reason-card,
  .latest-list article,
  .contact-home-box {
    border-radius: 18px;
  }

  .hero-card,
  .info-card,
  .links-card,
  .quote-box,
  .news-content,
  .faq-item,
  .faq-content,
  .entry-card,
  .reason-card,
  .latest-list article,
  .contact-home-box {
    padding: 22px;
  }

  .key-figure-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .quote-box {
    font-size: 1.15rem;
  }

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

  .contact-form,
  .contact-card {
    padding: 22px;
    border-radius: 18px;
  }
}