/* ----------------------------------------------------------------
   Akar Sud — Design tokens & base styles (porté depuis Astro global.css)
----------------------------------------------------------------- */
:root {
  --teal: #4FAB9C;
  --teal-dark: #459488;
  --teal-bright: #52BAAF;
  --coral: #DD5A46;
  --coral-dark: #c84c39;
  --pink: #E00851;

  --beige: #FCF8F5;
  --beige-2: #FAF3EE;
  --ink: #2F3438;
  --ink-soft: #5A6166;
  --muted: #8A9096;
  --line: #E7E2DD;
  --dark-bar: #1C2125;
  --white: #ffffff;

  --container: 1200px;
  --container-narrow: 980px;
  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px rgba(31, 41, 51, 0.10);
  --shadow-card: 0 10px 30px rgba(31, 41, 51, 0.08);

  --font-sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --section-y: 112px;
  --section-y-sm: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 106.25%; /* base 17px — lisibilité globale */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2 { margin: 0; line-height: 1.2; font-weight: 700; }
h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { position: relative; padding-block: var(--section-y); }

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 1.55rem;
  text-align: center;
  margin-bottom: 0.35em;
}
.section-lead {
  text-align: center;
  color: #4fab9c;
  font-weight: 700;
  max-width: 680px;
  margin: 12px auto 0;
  font-size: 1.06rem;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-dark); }
.btn--ghost-teal {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn--ghost-teal:hover { background: var(--teal); color: #fff; }

.decor { position: absolute; pointer-events: none; user-select: none; z-index: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 768px) {
  .section { padding-block: var(--section-y-sm); }
  .eyebrow { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
}
