/* ========================================
   VARIABLES CSS (Palette & Typo)
   ======================================== */

:root {
  /* Couleurs principales */
  --brise-menthe: #a8e6cf;
  --emeraude-vive: #2ecc71;
  --charbon-tech: #2c3e50;
  --nuit-code: #34495e;
  --brume-minerale: #95a5a6;

  /* Couleurs secondaires */
  --brise-menthe-clair: #f2fbf8;
  --brume-minerale-clair: #faf5ef;
  --blanc: #ffffff;

  /* Textes */
  --texte-principal: var(--nuit-code);
  --texte-secondaire: var(--charbon-tech);
  --texte-clair: var(--blanc);

  /* CTAs */
  --cta-principal: var(--emeraude-vive);
  --cta-hover: #28b463;
  --cta-texte: var(--nuit-code);

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
}

/* ========================================
   POLICES LOCALES (Privacy First)
   ======================================== */

@font-face {
  font-family: 'Sora';
  src: url('https://cdn.greencode-solutions.fr/fonts/Sora/Sora-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Sora';
  src: url('https://cdn.greencode-solutions.fr/fonts/Sora/Sora-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Sora';
  src: url('https://cdn.greencode-solutions.fr/fonts/Sora/Sora-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('https://cdn.greencode-solutions.fr/fonts/Inter/Inter-18-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('https://cdn.greencode-solutions.fr/fonts/Inter/Inter-18-ThinItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

/* ========================================
   RESET & BASE
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.5;
  color: var(--texte-principal);
  background-color: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHIE (Conforme au guide)
   ======================================== */

/* H1 - Titre principal */
h1 {
  font-family:
    'Sora',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 800;
  font-size: 3rem; /* 48px */
  line-height: 1.17;
  margin-bottom: var(--space-lg);
  color: var(--texte-principal);
}

/* H2 - Sous-titre */
h2 {
  font-family:
    'Sora',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 600;
  font-size: 1.5rem; /* 24px */
  line-height: 1.33;
  margin-bottom: var(--space-md);
  color: var(--texte-secondaire);
}

/* H3 - Sur-titre */
h3 {
  font-family:
    'Sora',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 400;
  font-size: 1.125rem; /* 18px */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  color: var(--texte-principal);
}

/* Corps de texte */
p {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 400;
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  margin-bottom: var(--space-md);
  color: var(--texte-principal);
}

/* Accents (Italique) */
p.accent {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.125rem; /* 18px */
  line-height: 1.44;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-md);
  color: var(--texte-secondaire);
  text-align: right;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

/* ========================================
   HEADER
   ======================================== */

header {
  background-color: var(--brise-menthe-clair);
  border-bottom: 1px solid var(--nuit-code);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Titre principal (H1) dans le header — si présent */
header h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800; /* ExtraBold */
  font-size: 1.5rem; /* 24px */
  line-height: 1.33;
  color: var(--charbon-tech);
  margin: 0;
}

/* Navigation (menu) */
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

header nav a {
  font-family: 'Sora', sans-serif;
  font-weight: 500; /* SemiBold */
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  color: var(--charbon-tech);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

header nav a:hover {
  background-color: var(--emeraude-vive);
  color: var(--nuit-code);
}

/* Sur-titre (H3) dans le header — si utilisé */
header h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 400; /* Regular */
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nuit-code);
  position: relative;
  padding-left: 1.2rem;
}

header h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--emeraude-vive);
  border-radius: 50%;
}

/* Pour les petits écrans (mobile) */
@media (max-width: 768px) {
  header {
    padding: 0.75rem 1rem;
  }

  header nav ul {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  header h1 {
    font-size: 1.25rem;
  }
}

/* ========================================
   MENTIONS LÉGALES — STYLES SPÉCIFIQUES
   ======================================== */

.header .logo img {
  height: 80px; /* taille non définitive à revoir ultérieurement*/
  width: auto;
  display: block;
}

/* .footer {
  background-color: var(--nuit-code);
  color: var(--blanc);
  padding: var(--space-lg) 0;
  text-align: center;
  margin-top: var(--space-xl);
}

.footer a {
  color: var(--brise-menthe);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer a:hover {
  text-decoration: underline;
} */

/* Accent — comme dans le guide */
.accent {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.44;
  letter-spacing: 0.01em;
  color: var(--texte-secondaire);
  text-align: right;
  margin-bottom: var(--space-md);
}

/* Liens */
a {
  color: var(--cta-principal);
  text-decoration: none;
}

a:hover {
  color: var(--cta-hover);
  text-decoration: underline;
}

small {
  display: block;
  font-size: 0.875rem;
  color: var(--texte-secondaire);
  margin-top: var(--space-xs);
  font-style: italic;
}
/* ========================================
   FOOTER
   ======================================== */
footer {
  background-color: #ffffff;
  color: var(--nuit-code);
  padding: 2rem;
  border-top: 1px solid var(--nuit-code);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

footer h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.33;
  color: var(--brise-menthe);
  margin-top: 0;
  margin-bottom: 1rem;
}

footer h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--brume-minerale);
  margin: 1rem 0;
}

footer p {
  margin: 0.75rem 0;
  color: var(--nuit-code);
}

footer a {
  color: var(--nuit-code);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--emeraude-vive);
}

footer .cta {
  display: inline-block;
  background-color: var (var(--emeraude-vive));
  color: var(--nuit-code);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

footer .cta:hover {
  background-color: #47d282; /* Hover plus clair — comme spécifié */
}

footer .small {
  font-size: 0.875rem;
  color: var(--brume-minerale);
  display: block;
  margin-top: 1.5rem;
}

/* Pour les petits écrans */
@media (max-width: 768px) {
  footer {
    padding: 1.5rem 1rem;
  }

  footer h1 {
    font-size: 1.25rem;
  }

  footer .cta {
    width: 100%;
    text-align: center;
  }
}
