:root {
    --green:        #00a652;
    --green-light:  #33c278;
    --green-dark:   #007a3d;
    --green-deep:   #004d25;
    --blue:         #365d8c;
    --blue-light:   #5a82b2;
    --blue-dark:    #243f63;
    --blue-deep:    #14253a;
    --cream:        #f0f6f2;
    --sand:         #dceae3;
    --dark:         #0c1b10;
    --text:         #1a2e1e;
    --text-muted:   #4a6255;
    --accent:       #e8f5ee;
    --accent-blue:  #e6eef7;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }
  body {
    font-family: 'Outfit', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ── LOGO ── */
  .nav-logo-img {
    height: 55px;
    width: 420px;
    object-fit: contain;
  }
  .footer-logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
    background: #fff;
    padding: 5px 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.20);
    margin-bottom: 16px;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 6vw;
    height: 72px;
    background: rgba(20, 37, 58, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,166,82,0.2);
    transition: all 0.3s ease;
  }
  nav.scrolled {
    background: rgba(20, 37, 58, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  }
  .nav-logo { display: flex; align-items: center; text-decoration: none; }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a {
    text-decoration: none; color: rgba(255,255,255,0.82);
    font-size: 14px; font-weight: 400; letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--green-light); }
  .nav-cta {
    background: var(--green); color: #fff;
    padding: 10px 22px;
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: var(--green-light); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--blue-deep);
  }

  .hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    animation: heroKenBurns 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: opacity, transform;
  }
  .hero-slide:nth-child(1) { animation-delay: 0s; }
  .hero-slide:nth-child(2) { animation-delay: 6s; }
  .hero-slide:nth-child(3) { animation-delay: 12s; }

  @keyframes heroKenBurns {
    0%   { opacity: 0;   transform: scale(1.08); }
    6%   { opacity: 1;   transform: scale(1.06); }
    30%  { opacity: 1;   transform: scale(1.02); }
    38%  { opacity: 0;   transform: scale(1.00); }
    100% { opacity: 0;   transform: scale(1.08); }
  }

  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
      160deg,
      rgba(20, 37, 58, 0.95) 0%,
      rgba(36, 63, 99, 0.88) 45%,
      rgba(0, 55, 28, 0.80) 100%
    );
  }

  .hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 110px 6vw 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(0,166,82,0.13);
    border: 1px solid rgba(0,166,82,0.4);
    padding: 7px 20px; margin-bottom: 36px;
    animation: fadeInDown 0.6s ease both;
  }
  .hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(0,166,82,0.25);
    animation: badgePulse 2.4s ease infinite;
    flex-shrink: 0;
  }
  @keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(0,166,82,0.25); }
    50% { box-shadow: 0 0 0 7px rgba(0,166,82,0.08); }
  }
  .hero-badge span { font-size: 12px; color: rgba(255,255,255,0.82); font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.6rem, 8vw, 7.5rem);
    font-weight: 700; color: #fff;
    line-height: 1.0; margin-bottom: 28px;
    text-align: center;
    animation: fadeInUp 0.7s 0.1s ease both;
  }
  .hero-title em { color: var(--green-light); font-style: italic; }

  .hero-desc {
    font-size: 18px; color: rgba(255,255,255,0.62);
    line-height: 1.78; max-width: 600px; margin-bottom: 48px;
    text-align: center;
    animation: fadeInUp 0.7s 0.2s ease both;
  }
  .hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.7s 0.3s ease both;
    margin-bottom: 0;
  }

  .btn-primary {
    background: var(--green); color: #fff;
    padding: 15px 34px;
    font-weight: 600; font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,166,82,0.35); }
  .btn-outline {
    border: 1.5px solid rgba(255,255,255,0.3); color: #fff;
    padding: 15px 34px;
    font-weight: 500; font-size: 15px;
    text-decoration: none; transition: all 0.2s;
  }
  .btn-outline:hover { border-color: var(--green-light); color: var(--green-light); }

  /* Stats bar */
  .hero-stats-bar {
    position: relative; z-index: 2;
    width: calc(100% - 12vw);
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px 48px;
    margin-bottom: 64px;
    animation: fadeInUp 0.7s 0.4s ease both;
  }
  .hero-stat-item { text-align: center; }
  .hero-stat-divider {
    width: 1px; height: 52px;
    background: rgba(255,255,255,0.14);
  }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem; font-weight: 700; color: var(--green-light); line-height: 1;
    margin-bottom: 6px;
  }
  .stat-label { font-size: 13px; color: rgba(255,255,255,0.48); letter-spacing: 0.01em; }

  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  section { padding: 100px 6vw; }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 700; line-height: 1.1; color: var(--blue-dark);
  }
  .section-title.light { color: #fff; }

  /* ── SERVICES ── */
  #services {
    background: linear-gradient(150deg, #dce8f5 0%, #c8d8ea 40%, #b8cedd 100%);
    position: relative;
  }

  .svc-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
  }
  .svc-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 700;
    color: var(--blue-deep);
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .svc-subtitle {
    font-size: 16px;
    color: #4a6275;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
  }

  .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .svc-card {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 28px 36px;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 220px;
  }
  .svc-card:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(36, 63, 99, 0.12);
  }

  .svc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--blue-deep);
    line-height: 1.15;
    margin-bottom: 4px;
  }
  .svc-desc {
    font-size: 14px;
    color: #4a6275;
    line-height: 1.75;
  }

  /* ── FORMATIONS ── */
  #formations { background: var(--blue-dark); position: relative; overflow: hidden; }
  #formations::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2300a652' stroke-width='0.5' opacity='0.08'%3E%3Crect x='0' y='0' width='80' height='80'/%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='30' y='30' width='20' height='20'/%3E%3Cline x1='0' y1='0' x2='40' y2='40'/%3E%3Cline x1='80' y1='0' x2='40' y2='40'/%3E%3Cline x1='0' y1='80' x2='40' y2='40'/%3E%3Cline x1='80' y1='80' x2='40' y2='40'/%3E%3C/g%3E%3C/svg%3E");
  }
  .formations-intro {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    margin-bottom: 60px; position: relative; z-index: 2;
  }
  .formations-desc { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-top: 20px; }
  .formations-image { overflow: hidden; aspect-ratio: 4/3; position: relative; }
  .formations-image img { width: 100%; height: 100%; object-fit: cover; }
  .formations-image-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: var(--green); color: #fff;
    padding: 12px 20px;
    font-weight: 700; font-size: 13px;
  }
  .formations-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; position: relative; z-index: 2;
  }
  .formation-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,166,82,0.2);
    padding: 28px 24px;
    transition: background 0.3s, transform 0.3s;
  }
  .formation-card:hover {
    background: rgba(0,166,82,0.1);
    transform: translateY(-4px);
  }
  .formation-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; font-weight: 700;
    color: rgba(0,166,82,0.25); line-height: 1; margin-bottom: 12px;
  }
  .formation-card h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
  .formation-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .formation-tag {
    font-size: 11px; font-weight: 500; color: var(--green-light);
    background: rgba(0,166,82,0.12);
    padding: 3px 10px;
    border: 1px solid rgba(0,166,82,0.3);
  }

  /* ── ABOUT ── */
  #about {
    background: #fff;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
  }
  .about-images { position: relative; height: 520px; }
  .about-img-main {
    position: absolute; top: 0; left: 0;
    width: 72%; height: 80%;
    overflow: hidden;
  }
  .about-img-main img { width: 100%; height: 100%; object-fit: cover; }
  .about-img-accent {
    position: absolute; bottom: 0; right: 0;
    width: 55%; height: 56%;
    overflow: hidden;
    border: 6px solid #fff;
  }
  .about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
  .about-green-block {
    position: absolute; top: 50%; left: 58%;
    transform: translate(-50%, -50%);
    background: var(--green);
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; z-index: 10;
  }
  .about-gold-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 700; color: #fff; line-height: 1;
  }
  .about-gold-label { font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.85); text-align: center; }
  .about-content .section-tag { color: var(--blue); border-color: var(--blue); }
  .about-content .section-title { margin-bottom: 24px; }
  .about-text { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
  .about-pillars {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-top: 36px;
  }
  .pillar {
    border-left: 3px solid var(--green);
    padding: 14px 16px;
    background: var(--accent);
  }
  .pillar h4 { font-size: 15px; font-weight: 600; color: var(--blue-dark); margin-bottom: 6px; }
  .pillar p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

  /* ── METHODOLOGY ── */
  #methodology { background: var(--cream); }
  .method-steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; margin-top: 60px; position: relative;
  }
  .method-steps::before {
    content: '';
    position: absolute;
    top: 32px; left: 12.5%;
    width: 75%; height: 2px;
    background: linear-gradient(to right, var(--green), var(--blue));
    z-index: 0;
  }
  .method-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
  .step-circle {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; font-weight: 700;
  }
  .step-circle.s1 { background: var(--green-deep); color: var(--green-light); }
  .step-circle.s2 { background: var(--blue); color: #fff; }
  .step-circle.s3 { background: var(--green); color: #fff; }
  .step-circle.s4 { background: var(--blue-dark); color: var(--green-light); }
  .method-step h3 { font-size: 1.05rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 10px; }
  .method-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

  /* ── CONTACT ── */
  #contact { background: var(--blue-dark); position: relative; overflow: hidden; }
  #contact::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2300a652' stroke-width='0.5' opacity='0.08'%3E%3Crect x='0' y='0' width='80' height='80'/%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='30' y='30' width='20' height='20'/%3E%3Cline x1='0' y1='0' x2='40' y2='40'/%3E%3Cline x1='80' y1='0' x2='40' y2='40'/%3E%3Cline x1='0' y1='80' x2='40' y2='40'/%3E%3Cline x1='80' y1='80' x2='40' y2='40'/%3E%3C/g%3E%3C/svg%3E");
  }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 80px; align-items: start; position: relative; z-index: 2;
  }
  .contact-infos { margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: white;
  }
  .info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
  }
  .icon-box {
    width: 55px;
    height: 55px;
    background: rgba(0, 255, 180, 0.08);
    border: 1px solid rgba(0, 255, 180, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
  }
  .icon-box i {
    font-size: 22px;
    color: #00d4ff;
  }
  .label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #8fa7c7;
    margin-bottom: 6px;
  }
  .info-item p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
  }
  .contact-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,166,82,0.2);
    padding: 40px;
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
  .form-group label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.04em; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(0,166,82,0.2);
    padding: 12px 16px;
    color: #fff;
    font-family: 'Outfit', sans-serif; font-size: 15px;
    outline: none; transition: border-color 0.2s; width: 100%;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--green); }
  .form-group select { appearance: none; cursor: pointer; }
  .form-group select option { background: var(--blue-dark); }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-submit {
    width: 100%;
    background: var(--green); color: #fff;
    border: none; padding: 16px;
    font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.02em;
  }
  .form-submit:hover { background: var(--green-light); transform: translateY(-2px); }

  /* ── FOOTER ── */
  footer {
    background: #000;
    padding: 60px 6vw 32px;
    border-top: 1px solid rgba(5, 5, 5, 0.15);
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px; margin-bottom: 48px;
  }
  .footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 16px; }
  .footer-col h4 { color: var(--green-light); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
  .footer-col a { display: block; color: rgba(255,255,255,0.5); font-size: 14px; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--green-light); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }

  /* ── ANIMATIONS ── */
  .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .formations-grid { grid-template-columns: repeat(2, 1fr); }
    #about { grid-template-columns: 1fr; }
    .about-images { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .method-steps { grid-template-columns: 1fr 1fr; }
    .method-steps::before { display: none; }
    .formations-intro { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-stats-bar { padding: 22px 24px; grid-template-columns: 1fr auto 1fr auto 1fr; }
  }
  @media (max-width: 600px) {
    .svc-grid, .formations-grid { grid-template-columns: 1fr; }
    .about-pillars { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
    .hero-stats-bar {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 24px 20px;
    }
    .hero-stat-divider { display: none; }
    .stat-num { font-size: 2.4rem; }
  }
