/* =========================================
   VARIABLES & TOKENS
   ========================================= */
:root {
  /* Colors - Sage, Beige, Terracotta theme */
  --clr-bg-main: #fafaf7;
  --clr-bg-alt: #f2efe8;
  --clr-primary: #345e4d; /* Deep Sage Green */
  --clr-primary-light: #52806b;
  --clr-accent: #d9896a; /* Soft Terracotta */
  --clr-accent-light: #e6a78f;
  --clr-text-main: #2c3531;
  --clr-text-muted: #5b6661;
  --clr-white: #ffffff;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 4px 10px rgba(52, 94, 77, 0.04);
  --shadow-md: 0 10px 30px rgba(52, 94, 77, 0.08);
  --shadow-lg: 0 20px 50px rgba(52, 94, 77, 0.12);
}

/* =========================================
   RESET & BASESTYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg-main);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--clr-text-main);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  color: var(--clr-text-muted);
  font-size: 1.125rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

ul {
  list-style: none;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.light-bg {
  background-color: var(--clr-bg-alt);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--trans-fast);
  border: none;
  gap: 0.5rem;
  line-height: 1;
}

.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

.btn-primary:hover {
  background-color: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(52, 94, 77, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--clr-primary);
  border: 1px solid var(--clr-primary);
}

.btn-secondary:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.full-width {
  width: 100%;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--trans-normal);
}

.navbar.scrolled {
  background-color: rgba(250, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

/* Transparent Navbar state for top of Homepage */
.navbar-transparent:not(.scrolled) .logo,
.navbar-transparent:not(.scrolled) .nav-links a,
.navbar-transparent:not(.scrolled) .menu-toggle {
  color: var(--clr-white);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  color: var(--clr-text-main);
}

.logo-dot {
  color: var(--clr-accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--clr-text-main);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--clr-accent);
  transition: var(--trans-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-text-main);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--clr-bg-main);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--trans-normal);
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-text-main);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
}

/* =========================================
   HERO SECTION (CORNERS LAYOUT)
   ========================================= */
.corners-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: var(--clr-white);
}

.corners-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.corners-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 35, 0.3) 0%, rgba(15, 25, 20, 0.7) 100%);
  z-index: -1;
}

.corners-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.corners-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.corners-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.corners-top-left {
  max-width: 600px;
}

.corners-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--clr-white);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.corners-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 0;
}

.corners-title .highlight-text {
  color: #a7f3d0; /* Soft nature green */
  font-weight: 300;
  font-style: italic;
  display: block;
}

.corners-bottom-left {
  max-width: 500px;
}

.corners-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.corners-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--clr-white);
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.corners-bottom-right {
  display: flex;
  gap: 2rem;
}

.corner-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
}

.c-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.2rem;
}

.c-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .corners-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .corners-hero-container {
    padding: 7rem 2rem 3rem;
  }
  .corners-bottom-right {
    flex-direction: column;
    gap: 1.5rem;
  }
  .corner-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* =========================================
   POUR QUI SECTION (GRID)
   ========================================= */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  margin-top: 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.public-card {
  background: var(--clr-white);
  padding: 3.5rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.public-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(52, 94, 77, 0.04) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.public-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(52, 94, 77, 0.08);
  border-color: rgba(52, 94, 77, 0.15);
}

.public-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(217, 137, 106, 0.1);
  color: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-card:hover .card-icon {
  transform: scale(1.15) rotate(-5deg);
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

.card-icon i {
  width: 32px;
  height: 32px;
  transition: all 0.4s ease;
}

.public-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  transition: color 0.4s ease;
}

.public-card:hover h3 {
  color: var(--clr-primary);
}

.public-card p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =========================================
   APPROCHE (SPLIT)
   ========================================= */
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.image-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-wrapper img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  transition: var(--trans-slow);
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.experience-badge .number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--clr-accent);
}

.experience-badge .text {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-list li {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--clr-text-main);
  margin-bottom: 0.5rem;
}

.feature-text span {
  font-size: 1rem;
  color: var(--clr-text-muted);
}

/* =========================================
   SERVICES / PRICING
   ========================================= */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--clr-white);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--trans-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.pricing-card.prominent {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.prominent:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card.prominent .card-title,
.pricing-card.prominent .card-desc,
.pricing-card.prominent .card-price .amount,
.pricing-card.prominent .card-price .duration,
.pricing-card.prominent .feature-highlight,
.pricing-card.prominent ul li {
  color: var(--clr-white);
}

.pricing-card.prominent .btn-primary {
  background-color: var(--clr-white);
  color: var(--clr-primary);
}

.popular-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-accent);
  color: var(--clr-white);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.95rem;
  min-height: 45px;
}

.card-price {
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.prominent .card-price {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-price .amount {
  display: block;
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--clr-text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.card-price .duration {
  font-weight: 500;
  font-size: 1rem;
}

.feature-highlight {
  font-weight: 600;
  color: var(--clr-text-main);
  margin-bottom: 1.5rem;
}

.card-features ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.card-features i {
  width: 20px;
  height: 20px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.pricing-card.prominent .card-features i {
  color: var(--clr-accent);
}

.pricing-card .btn {
  margin-top: auto;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  position: relative;
  background-color: var(--clr-primary);
  color: var(--clr-white);
  text-align: center;
  overflow: hidden;
}

.cta-bg-shapes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(82, 128, 107, 0.5) 0%,
    transparent 60%
  );
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-container h2 {
  color: var(--clr-white);
  margin-bottom: 1.5rem;
}

.cta-container p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-size: 1.25rem;
}

.cta-container .btn-primary {
  background-color: var(--clr-accent);
  color: var(--clr-white);
}

.cta-container .btn-primary:hover {
  background-color: #c77758;
}

.small-text {
  font-size: 0.9rem !important;
  opacity: 0.8;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background-color: #1a221f;
  color: var(--clr-white);
  padding-top: 5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col .logo {
  color: var(--clr-white);
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #9ba09d;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--clr-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col a {
  display: block;
  color: #9ba09d;
  margin-bottom: 1rem;
  transition: var(--trans-fast);
}

.footer-col a:hover {
  color: var(--clr-white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-container p {
  color: #9ba09d;
  font-size: 0.875rem;
}

.legal {
  display: flex;
  gap: 2rem;
}

.legal a {
  color: #9ba09d;
  font-size: 0.875rem;
}

.legal a:hover {
  color: var(--clr-white);
}

/* =========================================
   ANIMATIONS UTILS (Scroll Reveal)
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.2s;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.3s;
}
.reveal-delay-3 {
  transition-delay: 0.5s;
}

/* =========================================
   QUI SUIS-JE SECTION
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-img-container {
  position: relative;
}

.about-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
}

.about-box {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--clr-bg-main);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  max-width: 250px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--clr-white);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.quote-icon {
  color: rgba(217, 137, 106, 0.15);
  width: 60px;
  height: 60px;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--clr-text-main);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.prominent {
    transform: scale(1);
  }
  .pricing-card.prominent:hover {
    transform: translateY(-10px);
  }
  .split-container {
    gap: 3rem;
  }
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 3rem;
  }

  .badge-1 {
    left: 1rem;
    top: 1rem;
  }
  .badge-2 {
    right: 1rem;
    bottom: 1rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .split-container {
    grid-template-columns: 1fr;
  }

  .split-visual {
    order: 2;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .image-wrapper img {
    height: 400px;
  }

  .about-img {
    height: 400px;
  }

  .about-box {
    right: 0;
    bottom: -1rem;
    max-width: 80%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
