:root {
    /* Palette de couleurs */
    --primary: #6366F1;
    --primary-hover: #5558E3;
    --secondary: #10B981; /* Vert */
    --dark-blue: #1E1B4B; /* Couleur textes et footer */
    --text-body: #4B5563; /* Gris texte */
    --bg-light: #F8F7FF; /* Fond Solutions */
    --bg-blue-light: #EEF2FF; /* Fond Mission */
    --white: #ffffff;
    --border-color: #E2E8F0;
    
    /* Espacements */
    --container-width: 1280px;
    --header-height: 80px;
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-blue);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* --- UTILS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container {
    @media (width >= 40rem) {
        max-width: 40rem;
    }
}

.container {
    @media (width >= 48rem) {
        max-width: 48rem;
    }
}

.container {
    @media (width >= 64rem) {
        max-width: 64rem;
    }
}

.narrow-container {
    max-width: 800px;
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-8 { margin-top: 4rem; }
.mt-16 { margin-top: 8rem; }
.mb-8 { margin-bottom: 4rem; }

.text-green { color: var(--secondary); }
.text-green-light { color: var(--secondary) !important; }

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}

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

.btn-sm {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    cursor: pointer;
}

/* Tags */
.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-blue-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 99px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-tag-white {
    background-color: var(--white);
    color: var(--primary);
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

/* Divider Wave */
.wave-divider {
    position: absolute;
    bottom: -1px; /* Hack anti-aliasing */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
}
.wave-divider svg {
    width: 100%;
    height: 60px;
}
@media (min-width: 768px) {
    .wave-divider svg { height: 80px; }
}

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #F3F4F6;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    color: var(--dark-blue);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    background: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.desktop-nav {
    display: none;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--primary); }
.icon-sm { width: 16px; height: 16px; }

.lang-selector {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.btn-lang {
    background: none;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.2s;
}

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

.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-blue);
}

@media (min-width: 992px) {
    .desktop-nav { display: flex; }
    .lang-selector { display: flex; }
    .mobile-toggle { display: none; }
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, var(--bg-blue-light) 50%, #DAF5F3 100%);
    padding-top: 4rem;
    padding-bottom: 8rem; /* Espace pour la vague */
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-image img {
    width: auto;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    /* Effet ombre portée douce */
    /* mix-blend-mode: multiply; Si fond blanc sur l'image */
}

@media (min-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .hero { padding-top: 4rem; padding-bottom: 8rem; }
}

/* --- PARTNERS --- */
.partners {
    padding: 4rem 0 8rem;
    position: relative;
    background-color: var(--white);
}

.partners h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.partners-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.partners-logos {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.partner-item img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    margin-inline: auto;
    transition: all 0.3s;
}

.partner-item-label {
  text-align: center;
  display: none;
}

.partner-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-body);
    transition: all 0.2s;
    display: none; /* Caché sur mobile par défaut */
}
.carousel-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E2E8F0;
}
.dot.active { background: var(--primary); }

@media (min-width: 768px) {
    .carousel-btn { display: flex; }
    .partner-item img { height: 50px; }
}

/* --- SOLUTIONS --- */
.solutions {
    background-color: var(--bg-light);
    padding: 6rem 0 10rem;
    position: relative;
}

.solutions h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.solutions h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.solutions p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.img-content {
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

/* Score Card Style (Fake UI) */
.card-showcase {
    display: flex;
    justify-content: center;
}

.score-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 400px;
    width: 100%;
}

.score-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #5F6368;
}

.score-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4285F4, #34A853);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.score-card h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.score-sub {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.score-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- MISSION --- */
.mission {
    background-color: var(--bg-blue-light);
    padding: 6rem 0 10rem;
    position: relative;
}

.mission h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.mission p {
    margin-bottom: 1.5rem;
    color: var(--text-body);
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: white;
    padding: 6rem 0 10rem;
    position: relative;
}

.testimonials h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.review-card {
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #FBBF24; /* Jaune */
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    flex: 1;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

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

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviewer strong {
    display: block;
    color: var(--dark-blue);
    font-size: 0.95rem;
}
.reviewer span {
    font-size: 0.85rem;
    color: #9CA3AF;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.logo-icon-sm {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 6px;
    padding: 2px;
}

.tagline {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.socials {
    display: flex;
    gap: 1rem;
}
.socials a {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem;
    border-radius: 50%;
    color: white;
    display: flex;
    transition: background 0.2s;
}
.socials a:hover { background: rgba(255,255,255,0.2); }

.footer h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; }
.footer a {
    text-decoration: none;
    color: #A5B4FC;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer a:hover { color: white; }

.label-score {
    background: var(--secondary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.eco-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #A5B4FC;
    margin-bottom: 0.5rem;
}
.bg-green {
    background: var(--secondary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}
.eco-stat {
    color: var(--secondary);
    font-weight: bold;
    font-size: 0.9rem;
}
.eco-detail {
    font-size: 0.75rem;
    color: #A5B4FC;
    margin-top: 0.25rem;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #A5B4FC;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .grid-2-1 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero {
        text-align: center;
    }
    .hero p { margin-left: auto; margin-right: auto; }
    
    .order-image { order: -1; } /* Image au dessus sur mobile pour solutions */
    
    .partners-logos { gap: 1.5rem; }
    .partner-item img { height: 30px; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .dots { display: none; }
}

.tag {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.25rem 0.75rem;
    background-color: rgb(255, 255, 255);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 9999px;
    -webkit-box-align: center;
    align-items: center;
    display: inline-flex;
}

.realisations-1 {
    background-color: var(--bg-light);
    padding: 6rem 0 10rem;
    position: relative;
}

.realisations-1 h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.realisations-1 h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.realisations-1 p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.realisations-2 {
    background-color: var(--bg-blue-light);
    padding: 6rem 0 10rem;
    position: relative;
}

.realisations-2 h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.realisations-2 h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.realisations-2 p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.contact-section {
  background: linear-gradient(135deg, var(--bg-blue-light) 50%, #DAF5F3 100%);
  padding-top: 4rem;
  padding-bottom: 8rem; 
  position: relative;
}

.contact-section-grid {
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 24px;
}


@media (min-width: 768px) {
    .contact-section-grid {
        padding: 0px;
        display: flex;
    }
}

@media (min-width: 1024px) {
  .contact-section-grid {
      flex-direction: row;
      -webkit-box-pack: justify;
      justify-content: space-between;
      gap: 24px;
      padding: 56px 32px;
  }
}

.contact-form-container {
  background-color: var(--dark-blue);
  color: white;
  display: flex;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .contact-form-container {
    padding: 40px 48px;
    width: 50%;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

@media (min-width: 1024px) {
  .contact-details {
    gap: 32px;
    padding: 40px;
  }
}

.contact-h2 {
  font-size: 28px;
  font-weight: 800;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  text-align: left;
}

@media (min-width: 425px) {
  .contact-h2 {
    font-size: 32px;
  }
}

.contact-h4 {
  color: #00cfb4;
  font-weight: 800;
  text-transform: none;
  line-height: 1.6;
}

.contact-details-text {
  font-weight: 300;
  font-size: 16px;
  text-align: left;
  color: rgb(0, 0, 0);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-names {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .contact-form-names{
    flex-direction: row;
    gap: 16px;
  }
}

.contact-form-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.contact-form-input-wrapper > label {
  font-size: 14px;
  font-weight: 300;
}

.contact-form-input-wrapper > input, .contact-form-input-wrapper textarea {
    padding: 10px;
    border: 1px solid rgb(164, 167, 174);
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    outline-color: rgb(0, 207, 180);
    font-size: 16px;
}

input {
  font-size: 16px;
}

.contact-form-checkbox {
  display: flex;
  -webkit-box-align: baseline;
  align-items: baseline;
  gap: 8px;
}

.contact-form-checkbox > label {
  font-weight: 300;
}

.contact-form-checkbox-span > a {
  color: #00cfb4;
}

.contact-form-button {
  background-color: var(--primary);
    color: rgb(255, 255, 255);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
    width: 100%; 
    margin-top: 16px;
        padding: 0.4rem 0.8rem;
}

.contact-form-button > div {
  padding: 8px 16px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    gap: 8px;
}
