:root {
  --nav-bg: #060b33;
  --hero-overlay-dark: rgba(0, 0, 40, 0.55);
  --hero-overlay-light: rgba(0, 80, 140, 0.40);

  --accent: #A8FF2A;        /* couleur principale */
  --accent-dark: #8BE023;   /* version hover */

  --primary: #0f766e;
  --primary-soft: #14b8a6;
  --bg-page: #f3f4f6;
  --bg-section: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
}
/* RESET léger */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LAYOUT GLOBAL */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

/* HEADER / NAV */

header {
  background: var(--nav-bg);
  color: #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-links a {
  color: #cbd5f5;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  display: none;
}

/* BOUTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
              transform 0.1s ease;
}

.btn-primary {
  background: var(--accent);
  color: #000; /* plus lisible sur vert citron */
  border-color: var(--accent);
  text-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(248, 250, 252, 0.6);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.28);
}

.btn-small {
  padding: 6px 14px;
  font-size: 0.82rem;
}

/* BURGER MENU (mobile) */

.burger {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  position: relative;
  border-radius: 999px;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

.burger span::before {
  top: -5px;
}

.burger span::after {
  top: 5px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 10px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.mobile-menu a {
  padding: 4px 0;
  color: #e5e7eb;
}

.mobile-menu a:hover {
  color: #ffffff;
}

.mobile-menu.open {
  display: flex;
}

/* HERO – image très colorée + overlay léger pour lisibilité */

.hero {
  position: relative;
  padding: 52px 0 48px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(0, 0, 40, 0.22), rgba(0, 80, 140, 0.18)),
    url("/assets/Header.png") center center / cover no-repeat;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 620px;
}

/* On n’utilise pas le bloc image/aside dans ce design */
.hero-side {
  display: none;
}

.hero-main-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  background: rgba(15, 23, 42, 0.7);
  margin-bottom: 14px;
}

.hero-main-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #e5e7eb;
}

.hero-text {
  font-size: 0.96rem;
  color: #e5e7eb;
  margin-bottom: 20px;
}

.hero h1,
.hero-subtitle,
.hero-text {
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.55),   /* ombre principale */
    0 0 3px rgba(0, 0, 0, 0.35),    /* renfort doux */
    0 -1px 2px rgba(0, 0, 0, 0.25); /* légère contre-ombre */
}

.hero h1,
.hero-subtitle,
.hero-text {
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.35));
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-contact-inline {
  font-size: 0.86rem;
  color: #e5e7eb;
}

.hero-contact-inline a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* SECTIONS GÉNÉRALES */

section {
  padding: 32px 0;
}

.section-header {
  margin-bottom: 14px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 53, 89, 0.58);  /* bleu transparent comme le hero */
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.section-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #A8FF2A;  
  flex-shrink: 0;
}

h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.section-intro {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 46rem;
}

/* alternance de fonds pour rythmer la page */
#bapteme,
#sorties,
#apropos  {
  background: var(--bg-section);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

#pourquoi,
#formations,
#avis,
#contact {
  background: #fefce8; /* léger ton “sable chaud” */
  border-top: 1px solid rgba(250, 204, 21, 0.25);
  border-bottom: 1px solid rgba(250, 204, 21, 0.25);
}

/* GRILLES & BLOCS */

.grid-3 {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.card {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.card:last-child {
  border-bottom: none;
}

.card-soft {
  background: transparent;
  border: none;
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-text.small {
  font-size: 0.9rem;
}

.card-ctas {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* PILLS */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(20, 184, 166, 0.08);
  color: var(--primary);
  margin-bottom: 4px;
}

.pill-coral {
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent-dark);
}

/* LISTES */

ul {
  list-style: none;
  padding-left: 0;
}

.bullet-list {
  margin-top: 4px;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-soft);
}

/* TÉMOIGNAGES */

.testimonials {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.testimonial {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial strong {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #0f172a;
}

/* LIVRE D'OR */

.all-reviews-link {
  text-align: center;
  margin-top: 26px;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  background: rgba(0, 53, 89, 0.65);  /* bleu océan foncé, comme section-eyebrow */
  color: #ffffff;

  padding: 8px 16px;
  border-radius: 999px;

  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;

  transition: background 0.2s ease, transform 0.15s ease;
}


/* CONTACT */

.contact-grid {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.contact-methods {
  display: grid;
  gap: 10px;
}

.contact-methods a {
  font-size: 0.9rem;
  color: var(--primary);
}

.contact-methods a:hover {
  text-decoration: underline;
}

.contact-methods .label {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

form {
  display: grid;
  gap: 10px;
}

.form-group {
  margin-bottom: 4px;
}

label {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.required {
  color: #dc2626;
  margin-left: 2px;
  font-size: 0.8em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  font-family: inherit;
  background: #ffffff;
  resize: vertical;
  min-height: 40px;
}

textarea {
  min-height: 90px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.18);
}

/* champs en erreur */

input.error,
textarea.error {
  border-color: #dc2626 !important;
}

/* HONEYPOT : caché aux humains */

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* MESSAGES FORMULAIRE */

.form-success,
.form-error-global {
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.form-success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-error-global {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* FOOTER */

footer {
  padding: 14px 0 18px;
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
  background: var(--nav-bg);
  border-top: 1px solid rgba(148, 163, 184, 0.5);
}

footer a {
  color: var(--primary-soft); /* turquoise ou couleur du thème */
  text-decoration: none;
  margin: 0 4px;
}

footer a:hover {
  text-decoration: underline;
}


/* RESPONSIVE */

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .burger {
    display: none;
  }

  .hero {
    padding: 66px 0 60px;
  }

  .hero-inner {
    max-width: 640px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  section {
    padding: 38px 0;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1.05fr 1.05fr;
  }

  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
