/* ============================================
   IMPORT FONTS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
  --primary-color: #004d2c;
  --secondary-color: #0a7a52;
  --accent-color: #c9960a;
  --accent-light: #e8b020;
  --dark-bg: #032518;
  --teal-bg: #0a5c3e;
  --light-bg: #f5f6f8;
  --white: #ffffff;
  --text-dark: #1a2332;
  --text-light: #4b5563;
  --border-color: #d1d5db;
  --shadow: 0 2px 12px rgba(0, 77, 44, 0.10);
  --shadow-lg: 0 12px 36px rgba(0, 77, 44, 0.18);
  --gold-line: linear-gradient(90deg, var(--accent-color), var(--accent-light));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: linear-gradient(135deg, #021e12 0%, var(--primary-color) 70%, #7a5200 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--accent-light);
}

.nav-links a.active {
  color: var(--accent-light);
}

.nav-links a:focus-visible,
.mobile-menu-toggle:focus-visible,
.cta-button:focus-visible,
.form-submit:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #021e12 0%, #004d2c 50%, #073d24 80%, #6b4500 100%);
  color: white;
  padding: 100px 5%;
  text-align: center;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-line);
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.6rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.hero-tagline {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.2rem;
}

.cta-button {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--accent-color), #a87800);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button.cta-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: white;
}

.cta-button.cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.cta-button.cta-download {
  background: linear-gradient(135deg, #ffffff, #e8e8e8);
  color: var(--primary-color);
  border: none;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.cta-button.cta-download:hover {
  background: white;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ============================================
   MAIN CONTENT SECTIONS
   ============================================ */

.section {
  padding: 90px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold-line);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

html.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CARDS & GRID
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,77,44,0.08);
  border-top: 3px solid var(--accent-color);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  line-height: 1;
}

.card-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.card-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ============================================
   POLE CARDS (dark teal — like catalogue)
   ============================================ */

.poles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pole-card {
  background: linear-gradient(160deg, #0d6b47 0%, #084d33 100%);
  border-radius: 14px;
  padding: 2rem;
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pole-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-line);
}

.pole-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.pole-card .pole-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.pole-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.pole-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
  background: linear-gradient(135deg, #021e12 0%, var(--primary-color) 60%, #5a3d00 100%);
  padding: 70px 5%;
  color: white;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-line);
}

.stats-section .section-title {
  color: white;
}

.stats-section .section-title::after {
  background: var(--gold-line);
}

.stats-section .section-subtitle {
  color: rgba(255,255,255,0.75);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ============================================
   PRICING
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,77,44,0.10);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-line);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: linear-gradient(160deg, #0d6b47 0%, #084d33 100%);
  color: white;
  border: none;
}

.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-features li,
.pricing-card.featured .pricing-ideal {
  color: rgba(255,255,255,0.9);
}

.pricing-stars {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.pricing-card.featured .pricing-stars {
  color: var(--accent-light);
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.pricing-card.featured .pricing-features li::before {
  color: var(--accent-light);
}

.pricing-price {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.pricing-card.featured .pricing-price {
  color: var(--accent-light);
}

.pricing-amount {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

.pricing-ideal {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ============================================
   METHODOLOGY
   ============================================ */

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.methodology-step {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,77,44,0.08);
  position: relative;
}

.methodology-step::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-line);
  border-radius: 0 0 14px 14px;
}

.step-phase {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   TEAM / FORMATEURS
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,77,44,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: 3px solid var(--accent-color);
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid rgba(0,77,44,0.1);
  padding-top: 1rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.9;
}

.values-list {
  list-style: none;
  margin-top: 2rem;
}

.values-list li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,77,44,0.07);
}

.values-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

/* ============================================
   ALTERNATE SECTION (Light Background)
   ============================================ */

.section-alt {
  background-color: #eef0f3;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow);
}

.contact-item strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 77, 44, 0.1);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent-color), #8a5e00);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 0.03em;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--dark-bg);
  color: white;
  padding: 4rem 5% 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-line);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 2.5rem;
}

.footer-section h4 {
  margin-bottom: 1.2rem;
  color: var(--accent-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-section p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  max-width: 1400px;
  margin: 0 auto;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: var(--dark-bg);
    padding: 1.5rem;
    list-style: none;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .poles-grid,
  .pricing-grid,
  .methodology-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 5%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.8rem 4%;
  }

  .hero {
    min-height: 480px;
    padding: 60px 4%;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cards-grid {
    gap: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}
