/* ==========================================================================
   Next Leap Consulting — styles.css
   ========================================================================== */

:root {
  --primary-green: #1B5E4A;
  --primary-green-dark: #133F32;
  --light-green: #4C9A7C;
  --pale-green: #EAF3EF;
  --white: #FFFFFF;
  --off-white: #F7F9F8;
  --dark-text: #1A1A1A;
  --muted-text: #4A5550;
  --border-light: #DDE7E2;

  /* Couleurs d'accent secondaires : touches de couleur ponctuelles (badges, icônes, accordéon) pour casser la monotonie du vert, sans remplacer l'identité de marque */
  --accent-amber: #B9752E;
  --pale-amber: #FBEFE1;
  --accent-blue: #2F5D7A;
  --pale-blue: #E9F1F5;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1120px;
  --radius: 10px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-green);
  text-decoration: none;
}

a:hover {
  color: var(--light-green);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-green-dark);
  margin: 0 0 16px;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 16px; color: var(--muted-text); }

.text-center { text-align: center; }

/* ---------- Eyebrow labels & section headers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-green);
  background: var(--pale-green);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.section-head-center h2 {
  margin-bottom: 8px;
}
.section-intro {
  max-width: 640px;
  font-size: 1.05rem;
}
.section-outro {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
  font-weight: 500;
  color: var(--primary-green-dark);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary-green);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Focus visibility for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--light-green);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(27, 94, 74, 0.5);
}
.btn-primary:hover {
  background: var(--light-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(27, 94, 74, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}
.btn-outline:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(27, 94, 74, 0.3);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.header-cta {
  display: none;
}
@media (min-width: 900px) {
  .header-cta {
    display: inline-block;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-green-dark);
}
.logo:hover {
  color: var(--light-green);
}
.logo:hover .logo-mark {
  transform: scale(1.06) rotate(-4deg);
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pale-green) 0%, var(--pale-amber) 100%);
  box-shadow: 0 6px 14px -8px rgba(27, 94, 74, 0.3);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.logo-mark svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-green);
  fill: none;
}
.logo-text-light {
  font-weight: 500;
  color: var(--light-green);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 600;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--primary-green-dark);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(80%, 320px);
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.08);
  transition: right var(--transition);
  padding: 96px 32px 32px;
}
.site-nav.is-open {
  right: 0;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark-text);
  font-size: 1.05rem;
}
.site-nav a:hover { color: var(--primary-green); }
.nav-cta {
  color: var(--primary-green) !important;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    height: auto;
    width: auto;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
  .site-nav a { font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--pale-green) 0%, var(--white) 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, var(--light-green) 0%, transparent 70%);
  opacity: 0.45;
}
.hero-blob-2 {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, var(--accent-amber) 0%, transparent 70%);
  opacity: 0.2;
}
.hero-blob-3 {
  width: 260px;
  height: 260px;
  top: 30%;
  left: 55%;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
  opacity: 0.16;
}

/* Petits cercles décoratifs (anneaux et points) pour animer le fond du hero */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-circle-1 {
  width: 90px;
  height: 90px;
  top: 18%;
  right: 12%;
  border: 2px solid var(--light-green);
  opacity: 0.4;
}
.hero-circle-2 {
  width: 16px;
  height: 16px;
  top: 12%;
  right: 30%;
  background: var(--accent-amber);
  opacity: 0.5;
}
.hero-circle-3 {
  width: 46px;
  height: 46px;
  bottom: 22%;
  right: 22%;
  border: 2px solid var(--accent-blue);
  opacity: 0.35;
}
.hero-circle-4 {
  width: 130px;
  height: 130px;
  bottom: -40px;
  right: 6%;
  border: 2px solid var(--primary-green);
  opacity: 0.18;
}
.hero-circle-5 {
  width: 12px;
  height: 12px;
  top: 55%;
  right: 42%;
  background: var(--primary-green);
  opacity: 0.35;
}
.hero-circle-6 {
  width: 22px;
  height: 22px;
  top: 65%;
  right: 8%;
  background: var(--light-green);
  opacity: 0.3;
}
@media (max-width: 899px) {
  .hero-circle-1, .hero-circle-3, .hero-circle-4 { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero h1 {
  font-size: 2.4rem;
}
.hero-highlight {
  color: var(--accent-amber);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (min-width: 700px) {
  .hero { padding: 128px 0 100px; }
  .hero h1 { font-size: 2.9rem; }
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--off-white);
}
/* ---------- Grille d'icônes (positionnement, pourquoi, leviers) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 800px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.icon-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 14px 28px -12px rgba(27, 94, 74, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -12px rgba(27, 94, 74, 0.18);
}
.icon-card h3 {
  font-size: 1.15rem;
}
.icon-card p {
  margin-bottom: 0;
}
.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pale-green);
  color: var(--primary-green);
  margin-bottom: 20px;
}
.icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
}
.icon-badge-light {
  background: rgba(255, 255, 255, 0.7);
}

/* Rotation de couleurs d'accent sur les grilles d'icônes pour casser la monotonie du vert */
.grid-3 .icon-card:nth-child(3n+2) .icon-badge {
  background: var(--pale-amber);
  color: var(--accent-amber);
}
.grid-3 .icon-card:nth-child(3n+3) .icon-badge {
  background: var(--pale-blue);
  color: var(--accent-blue);
}

/* ---------- Offres (accordéon) ---------- */
.offres-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offre-accordion {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--primary-green);
  border-radius: 14px;
  box-shadow: 0 14px 28px -14px rgba(27, 94, 74, 0.14);
  overflow: hidden;
}

.offre-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  cursor: pointer;
}
@media (min-width: 700px) {
  .offre-summary {
    gap: 20px;
    padding: 28px 32px;
  }
}
.offre-summary::-webkit-details-marker {
  display: none;
}
.offre-summary:hover {
  background: var(--off-white);
}

.offre-summary-text h3 {
  margin-bottom: 8px;
}

.offre-promesse {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-green-dark);
  margin-bottom: 0;
}

.offre-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pale-green);
  color: var(--primary-green);
  margin-top: 4px;
  transition: transform var(--transition);
}
.offre-chevron svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
.offre-accordion[open] .offre-chevron {
  transform: rotate(180deg);
}

/* Touches de couleur : chaque offre a sa propre teinte d'accent */
.offre-accordion:nth-of-type(2) {
  border-left-color: var(--accent-amber);
}
.offre-accordion:nth-of-type(2) .offre-chevron {
  background: var(--pale-amber);
  color: var(--accent-amber);
}
.offre-accordion:nth-of-type(3) {
  border-left-color: var(--accent-blue);
}
.offre-accordion:nth-of-type(3) .offre-chevron {
  background: var(--pale-blue);
  color: var(--accent-blue);
}

.offre-content {
  padding: 20px 20px 24px;
  border-top: 1px solid var(--border-light);
}
@media (min-width: 700px) {
  .offre-content {
    padding: 24px 32px 32px;
  }
}

.offre-subtitle {
  margin-top: 20px;
}
.offre-subtitle:first-child {
  margin-top: 0;
}
.offre-details {
  margin: 0 0 8px;
  padding-left: 20px;
  color: var(--muted-text);
}
.offre-details li {
  margin-bottom: 8px;
}
.offre-modules-label {
  font-style: italic;
  color: var(--light-green);
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}
.offre-modules {
  font-style: italic;
}

.offre-card-partner {
  background: var(--pale-green);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--light-green);
  border-radius: 14px;
  padding: 32px;
}
.offre-card-partner p {
  color: var(--dark-text);
}

/* ---------- Fondatrice ---------- */
.fondatrice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}
.fondatrice-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pale-green);
  box-shadow: 0 0 0 8px var(--pale-green), 0 20px 34px -14px rgba(27, 94, 74, 0.35);
  margin: 0 auto;
}
@media (min-width: 700px) {
  .fondatrice-grid {
    grid-template-columns: 200px 1fr;
  }
  .fondatrice-photo {
    width: 200px;
    height: 200px;
    margin: 0;
  }
}

/* ---------- Formations ---------- */
.formations-strip {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.formations-strip li {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 26px;
  box-shadow: 0 10px 20px -12px rgba(27, 94, 74, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.formations-strip li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px -12px rgba(27, 94, 74, 0.2);
}
.formations-strip a,
.formations-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-green-dark);
}
.formations-strip svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-green);
  fill: none;
  flex-shrink: 0;
}
.formations-strip li:nth-child(2) svg { stroke: var(--accent-amber); }
.formations-strip li:nth-child(3) svg { stroke: var(--accent-blue); }
.formations-strip a:hover {
  color: var(--light-green);
}

/* ---------- Contact ---------- */
.contact-cta {
  max-width: 620px;
  text-align: center;
  margin: 0 auto;
}
.contact-cta p {
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-compact {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-green-dark);
  color: var(--white);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}
.footer-links a,
.footer-contact {
  color: var(--pale-green);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-copy {
  width: 100%;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 8px;
}
