:root{
    --accent: #8a600e;
    --accent-light: #d59622;
    --muted: #6b7280;
    --bg: #f7f7f8;
    --dark: #0f1724;
    }

    *{box-sizing:border-box; margin:0; padding:0;}
    html{scroll-behavior: smooth;}
    html,body{height:100%;}
    body{
      font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
      background:var(--bg);
      color:#111;
      overflow-x: hidden;
    }

    section {
    background-image: url("img/back6.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* effet parallax */
    }

    .map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin: 40px 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

    /* NAV FIXE MODERNE */
    .nav{
      position:fixed;
      top:0;
      left:0;
      right:0;
      display:flex;
      justify-content:space-between;
      align-items:center;
      padding: 35px 10%;
      z-index:1000;
      background: rgba(15, 23, 36, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav.scrolled{
      padding: 12px 10%;
      background: rgba(15, 23, 36, 0.95);
      box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }

    .nav-left, .nav-right{
      flex: 1;
      display: flex;
      align-items: center;
      z-index: 1;
    }
    
    .nav-left{
      justify-content: flex-start;
    }
    
    .nav-right{
      justify-content: flex-end;
    }

    .logoKara{
      width: 120px;
      height: auto;
      margin-bottom: 20px;
    }
    
    @media(max-width:1100px){
      .nav-left, .nav-right{
        flex: 0;
      }
    }

    .logo{
      font-weight:800;
      font-size:1.9rem;
      color:var(--accent);
      transition: font-size 0.4s ease;
    }
    
    .nav.scrolled .logo{
      font-size: 1.1rem;
    }
    
    .logo span{
      color:#757575;
      margin-left:4px;
    }

    .nav-links{
      list-style:none;
      display:flex;
      gap:8px;
    }
    
    .nav-links a{
      color:white;
      text-decoration:none;
      padding:10px 18px;
      border-radius:10px;
      font-weight:600;
      font-size: 1.1rem;
      position: relative;
      transition: all 0.3s ease;
      overflow: hidden;
    }
    
    .nav-links a:hover::before{
      left: 0;
    }
    
    .nav-links a:hover{
      transform: translateY(-2px);
    }

    .menu-btn{
      display:none;
      background:none;
      border:none;
      color:white;
      font-size:1.8rem;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    
    .menu-btn:hover{
      transform: scale(1.1);
    }

    /* HERO SECTION */
    header.hero{
      height:100vh;
      display:flex;
      align-items:center;
      justify-content:center;
      position:relative;
      padding:0 10%;
      background-image:linear-gradient(135deg, rgba(11, 110, 79, 0.3), rgba(7,15,18,0.7)), url('img/IMG_2033.jpg');
      background-size:cover;
      background-position:center;
      background-attachment: fixed;
      color:white;
      overflow: hidden;
    }

    .hero-loading{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 1.2rem;
    }
    
    /* Formes décoratives animées */
    .shape{
      position: absolute;
      opacity: 0.08;
      animation: float 20s infinite ease-in-out;
    }
    
    .shape-1{
      width: 400px;
      height: 400px;
      background: var(--accent);
      border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
      top: -100px;
      right: -100px;
      animation-delay: 0s;
    }
    
    .shape-2{
      width: 300px;
      height: 300px;
      background: white;
      border-radius: 50% 40% 60% 50% / 70% 30% 40% 60%;
      bottom: -80px;
      left: -80px;
      animation-delay: 3s;
    }
    
    .shape-3{
      width: 200px;
      height: 200px;
      background: var(--accent-light);
      border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%;
      top: 40%;
      right: 10%;
      animation-delay: 6s;
    }
    
    @keyframes float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      25% { transform: translate(20px, -20px) rotate(5deg); }
      50% { transform: translate(-20px, 20px) rotate(-5deg); }
      75% { transform: translate(20px, 10px) rotate(3deg); }
    }

    .hero-content{
      display: flex;
      align-items: center;
      justify-content: flex-start;
      max-width: 900px;
      position: relative;
      z-index: 2;
      animation: fadeInUp 1s ease-out;
      text-align: left;
      gap: 2rem;
    }
    
    .hero-logo{
      max-width: 350px;
      height: auto;
      flex-shrink: 0;
    }

    .hero-text{
      flex: 1;
    }
    
    @media(max-width: 768px){
      .hero-content{
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 1rem;
      }
      
      .hero-logo{
        max-width: 250px;
        margin-bottom: -5rem;
    }
      
      .hero-text{
        width: 100%;
      }
    }
    
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .hero-content h1{
      font-size:clamp(2.2rem,5vw,4rem);
      line-height:1.1;
      margin-bottom:20px;
      font-weight: 800;
      background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: fadeInUp 1s ease-out 0.2s both;
    }
    
    .hero-content p{
      font-size:1.2rem;
      color:rgba(255,255,255,0.95);
      margin-bottom:32px;
      line-height: 1.6;
      animation: fadeInUp 1s ease-out 0.4s both;
    }
    
    .cta{
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
      color:white;
      padding:16px 36px;
      border-radius:50px;
      text-decoration:none;
      font-weight:700;
      font-size: 1.05rem;
      display:inline-block;
      box-shadow:0 12px 40px rgba(11,110,79,0.4);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      animation: fadeInUp 1s ease-out 0.6s both;
    }
    
    .cta::before{
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }
    
    .cta:hover::before{
      width: 300px;
      height: 300px;
    }
    
    .cta:hover{
      transform: translateY(-4px) scale(1.05);
      box-shadow:0 16px 50px rgba(11,110,79,0.5);
    }

    .wave{
      position:absolute;
      bottom:-2px;
      left:0;
      right:0;
      height:100px;
      background: var(--bg);
      clip-path: ellipse(80% 60% at 50% 100%);
    }

    /* SECTIONS */
    section{
      padding:100px 10%;
      position: relative;
      overflow: hidden;
    }
    
    .title{
      font-size:2.4rem;
      text-align:center;
      margin-bottom:60px;
      color:var(--dark);
      font-weight: 800;
      position: relative;
      display: inline-block;
      left: 50%;
      transform: translateX(-50%);
    }
    
    .title::after{
      content: '';
      position: absolute;
      bottom: -12px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--accent-light));
      border-radius: 2px;
    }

    .grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
      gap:32px;
    }
    
    .card{
      background:white;
      padding:32px;
      border-radius:20px;
      box-shadow:0 8px 32px rgba(16,24,40,0.08);
      text-align:center;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    
    .card::before{
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
      transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 0;
    }
    
    .card:hover::before{
      left: 0;
    }
    
    .card:hover{
      transform: translateY(-12px);
      box-shadow:0 20px 60px rgba(11,110,79,0.2);
    }
    
    .card:hover .icon,
    .card:hover h3,
    .card:hover p{
      color: white;
      position: relative;
      z-index: 1;
    }
    
    .card .icon{
      font-size:48px;
      margin-bottom:20px;
      transition: transform 0.4s ease;
      display: inline-block;
    }
    
    .card:hover .icon{
      transform: scale(1.2) rotate(5deg);
    }
    
    .card h3{
      margin-bottom:12px;
      font-size: 1.4rem;
      color: var(--dark);
      transition: color 0.3s ease;
    }
    
    .card p{
      color: var(--muted);
      line-height: 1.6;
      transition: color 0.3s ease;
    }

    .light{
      background: linear-gradient(135deg, #f7f7f8 0%, #ffffff 100%);
    }
    
    .projects{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:32px;
      padding: 35px;
    }
    
    .proj{
      background:white;
      border-radius:20px;
      overflow:hidden;
      display:flex;
      gap:0;
      box-shadow:0 8px 32px rgba(16,24,40,0.08);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .proj:hover{
      transform: translateY(-8px) scale(1.02);
      box-shadow:0 20px 60px rgba(11,110,79,0.15);
    }
    
    .proj img{
      width:50%;
      height:220px;
      object-fit:cover;
      transition: transform 0.6s ease;
    }
    
    .proj:hover img{
      transform: scale(1.1);
    }
    
    .proj-info{
      padding:24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    .proj-info h4{
      font-size: 1.3rem;
      color: var(--dark);
      margin-bottom: 12px;
    }

    .about-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:50px;
      align-items:center;
    }
    
    .about-img{
      position: relative;
    }
    
    .about-img::before{
      content: '';
      position: absolute;
      top: -20px;
      left: -20px;
      width: 100%;
      height: 100%;
      border: 4px solid var(--accent);
      border-radius: 20px;
      z-index: -1;
    }
    
    .about-text p{
      color: #555;
      line-height: 1.8;
      font-size: 1rem;
      margin-bottom: 16px;
    }
    
    .about-img img{
      width:100%;
      border-radius:20px;
      box-shadow: 0 16px 48px rgba(0,0,0,0.12);
      transition: transform 0.4s ease;
    }
    
    .about-img:hover img{
      transform: scale(1.03);
    }
    
    .about-text ul{
      list-style: none;
      margin-top: 24px;
    }
    
    .about-text ul li{
      padding: 10px 0;
      padding-left: 32px;
      position: relative;
      color: #555;
      line-height: 1.7;
      font-size: 0.98rem;
    }
    
    .about-text ul li::before{
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-weight: bold;
      font-size: 1.2rem;
    }

    .contact-card{
      display:grid;
      grid-template-columns:1fr 380px;
      gap:32px;
      align-items:start;
    }
    
    .contact-card form{
      background:white;
      padding:36px;
      border-radius:20px;
      box-shadow:0 12px 40px rgba(2,6,23,0.1);
    }
    
    .row{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    
    .contact-card input,
    .contact-card textarea{
      width:100%;
      padding:14px 18px;
      border-radius:12px;
      border:2px solid #e6e6e8;
      margin-bottom:16px;
      font-family: inherit;
      transition: all 0.3s ease;
      font-size: 0.95rem;
    }
    
    .contact-card input:focus,
    .contact-card textarea:focus{
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(11,110,79,0.1);
    }
    
    .contact-card button{
      width: 100%;
      border: none;
      cursor: pointer;
      margin-top: 8px;
    }
    
    .contact-details{
      background:linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
      padding:36px;
      border-radius:20px;
      color: white;
      box-shadow:0 12px 40px rgba(11,110,79,0.3);
    }
    
    .contact-details p{
      margin-bottom: 20px;
      line-height: 1.8;
    }
    
    .contact-details strong{
      display: block;
      margin-bottom: 4px;
      font-size: 0.9rem;
      opacity: 0.9;
    }

    footer{
      padding:40px 10%;
      text-align:center;
      color:var(--muted);
      background: var(--dark);
      color: rgba(255,255,255,0.7);
    }

    /* TIMELINE SECTION */
    .timeline{
      max-width: 900px;
      margin: 0 auto;
      position: relative;
    }
    
    .timeline::before{
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 3px;
      background: linear-gradient(180deg, var(--accent), var(--accent-light));
      transform: translateX(-50%);
    }
    
    .timeline-item{
      display: grid;
      grid-template-columns: 1fr 80px 1fr;
      gap: 30px;
      margin-bottom: 50px;
      align-items: center;
    }
    
    .timeline-item:nth-child(even) .timeline-content{
      grid-column: 1;
      text-align: right;
    }
    
    .timeline-item:nth-child(even) .timeline-number{
      grid-column: 2;
    }
    
    .timeline-item:nth-child(odd) .timeline-content{
      grid-column: 3;
      text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-number{
      grid-column: 2;
    }
    
    .timeline-number{
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--accent), var(--accent-light));
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 800;
      box-shadow: 0 8px 24px rgba(11,110,79,0.3);
      position: relative;
      z-index: 2;
    }
    
    .timeline-content{
      background: white;
      padding: 28px;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
      transition: all 0.4s ease;
    }
    
    .timeline-content:hover{
      transform: translateY(-8px);
      box-shadow: 0 16px 40px rgba(11,110,79,0.15);
    }
    
    .timeline-content h3{
      color: var(--dark);
      margin-bottom: 12px;
      font-size: 1.3rem;
    }
    
    .timeline-content p{
      color: #666;
      line-height: 1.7;
    }

    /* TESTIMONIALS SECTION */
    .testimonials-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .testimonial-card{
      background: white;
      padding: 32px;
      border-radius: 20px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.08);
      transition: all 0.4s ease;
      position: relative;
    }
    
    .testimonial-card::before{
      content: '"';
      position: absolute;
      top: 20px;
      left: 20px;
      font-size: 80px;
      color: var(--accent);
      opacity: 0.1;
      font-family: Georgia, serif;
      line-height: 1;
    }
    
    .testimonial-card:hover{
      transform: translateY(-8px);
      box-shadow: 0 20px 50px rgba(11,110,79,0.15);
    }
    
    .stars{
      color: #fbbf24;
      font-size: 1.2rem;
      margin-bottom: 16px;
    }
    
    .testimonial-text{
      color: #555;
      line-height: 1.7;
      margin-bottom: 24px;
      font-style: italic;
    }
    
    .testimonial-author{
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .author-avatar{
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--accent), var(--accent-light));
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.1rem;
    }
    
    .testimonial-author strong{
      display: block;
      color: var(--dark);
      font-size: 1rem;
    }
    
    .testimonial-author span{
      display: block;
      color: var(--muted);
      font-size: 0.85rem;
      margin-top: 2px;
    }

    /* ZONE SECTION */
    .zone-content{
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 50px;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
    }
    
    .zone-text h3{
      color: var(--dark);
      font-size: 1.8rem;
      margin-bottom: 16px;
    }
    
    .zone-text > p{
      color: #393838;
      line-height: 1.8;
      margin-bottom: 32px;
    }
    
    .zone-list{
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 28px;
    }
    
    .zone-item{
      display: flex;
      gap: 16px;
      align-items: flex-start;
      background: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.06);
      transition: all 0.3s ease;
    }
    
    .zone-item:hover{
      transform: translateX(8px);
      box-shadow: 0 8px 24px rgba(11,110,79,0.12);
    }
    
    .zone-icon{
      font-size: 1.8rem;
      flex-shrink: 0;
    }
    
    .zone-item strong{
      display: block;
      color: var(--dark);
      margin-bottom: 4px;
      font-size: 1.05rem;
    }
    
    .zone-item p{
      color: var(--muted);
      font-size: 0.9rem;
      margin: 0;
    }
    
    .zone-note{
      background: linear-gradient(135deg, var(--accent), var(--accent-light));
      color: white;
      padding: 16px 20px;
      border-radius: 12px;
      font-weight: 600;
      margin-top: 20px;
    }
    
    .zone-image img{
      width: 100%;
      border-radius: 20px;
      box-shadow: 0 16px 48px rgba(0,0,0,0.12);
      transition: transform 0.4s ease;
    }
    
    .zone-image:hover img{
      transform: scale(1.05) rotate(2deg);
    }

    /* ANIMATIONS DE RÉVÉLATION */
    .reveal{
      opacity:0;
      transform:translateY(40px);
      transition: all 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
    }
    
    .reveal.active{
      opacity:1;
      transform:translateY(0);
    }

    /* RESPONSIVE */
    @media(max-width:1100px){
      .nav{
        padding: 16px 6%;
      }
      
      .nav-left .nav-links,
      .nav-right .nav-links{
        display:none;
      }
      
      .nav-links.open{
        display: flex !important;
      }
      
      .nav-links{
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(15, 23, 36, 0.98);
        backdrop-filter: blur(20px);
        padding: 120px 30px 30px;
        flex-direction: column;
        gap: 8px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.3);
        z-index: 999;
      }
      
      .nav-links.open{
        right: 0;
      }
      
      .nav-links li{
        width: 100%;
      }
      
      .nav-links a{
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 1.1rem;
        display: block;
        width: 100%;
      }
      
      .menu-btn{
        display:block;
        z-index: 1001;
        position: relative;
      }
      
      .logo{
        font-size: 1.15rem;
      }
      
      .nav.scrolled .logo{
        font-size: 1rem;
      }
    }
    
    @media(max-width:768px){
      header.hero{
        height:85vh;
        padding:0 5%;
        background-attachment: scroll;
      }
      

      .hero-content h1{
        font-size: clamp(1.8rem, 6vw, 2.5rem);
      }
      
      .hero-content p{
        font-size: 1rem;
      }
      
      .shape-1, .shape-2, .shape-3{
        display: none;
      }
      
      .title{
        font-size: 1.8rem;
        margin-bottom: 40px;
      }
      
      .grid{
        grid-template-columns: 1fr;
        gap: 24px;
      }
      
      .projects{
        grid-template-columns:1fr;
        gap: 24px;
      }
      
      .proj{
        flex-direction: column;
      }
      
      .proj img{
        width: 100%;
        height: 220px;
      }
      
      .about-grid{
        grid-template-columns:1fr;
        gap: 30px;
      }
      
      .about-img::before{
        top: -15px;
        left: -15px;
      }
      
      .contact-card{
        grid-template-columns:1fr;
        gap: 24px;
      }
      
      .timeline::before{
        left: 40px;
      }
      
      .timeline-item{
        grid-template-columns: 80px 1fr;
        gap: 20px;
      }
      
      .timeline-item:nth-child(even) .timeline-content,
      .timeline-item:nth-child(odd) .timeline-content{
        grid-column: 2;
        text-align: left;
      }
      
      .timeline-item:nth-child(even) .timeline-number,
      .timeline-item:nth-child(odd) .timeline-number{
        grid-column: 1;
      }
      
      .testimonials-grid{
        grid-template-columns: 1fr;
        gap: 24px;
      }
      
      .zone-content{
        grid-template-columns: 1fr;
        gap: 32px;
      }
      
      .zone-image{
        order: -1;
      }
      
      .contact-card form{
        padding: 28px;
      }
      
      .row{
        grid-template-columns: 1fr;
        gap: 0;
      }
      
      section{
        padding: 60px 5%;
      }
      
      .cta{
        padding: 14px 32px;
        font-size: 1rem;
      }
      
      .wave{
        height: 60px;
      }
    }
    
    @media(max-width:480px){
      
      .logo{
        font-size: 1rem;
      }
      
      
      .nav.scrolled .logo{
        font-size: 0.9rem;
      }
      
      .nav-links{
        width: 260px;
        padding: 100px 24px 24px;
      }
      
      header.hero{
        height: 90vh;
      }
      
      .hero-content h1{
        font-size: 1.6rem;
        margin-bottom: 16px;
      }
      
      .hero-content p{
        font-size: 0.95rem;
        margin-bottom: 24px;
      }
      
      .title{
        font-size: 1.6rem;
      }
      
      .card{
        padding: 24px;
      }
      
      .card .icon{
        font-size: 40px;
      }
      
      section{
        padding: 40px 5%;
      }

      .zone-text h3{
        font-size: 1.5rem;
      }
      
      .contact-card form{
        padding: 24px;
      }
      
      .contact-details{
        padding: 28px;
      }
    }