/* ===========================================================
   GLOBAL
=========================================================== */
* {
    box-sizing: border-box;
}

:root {
    --blue-main: #4DB6FF;   /* doux, moderne */
    --blue-hover: #2FA4F5;  /* hover élégant */
    --blue-accent: #6EC8FF; /* traits / détails */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: linear-gradient(
        135deg,
        #f9fcff 0%,
        #f1f7ff 25%,
        #e7f2ff 45%,
        #f4f9ff 65%,
        #ffffff 100%
);
}

img {
    display: block;
    max-width: 100%;
}

/* ===========================================================
   HEADER
=========================================================== */
/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: 0.3s ease;
}

/* Soulignement élégant */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #0096DC;
  transition: 0.3s ease;
}

.nav a:hover {
  color: #0096DC;
}

.nav a:hover::after {
  width: 100%;
}

/* CTA CONTACT */
.nav-cta {
  padding: 10px 22px;
  background: linear-gradient(135deg, #0096DC, #4DB6FF);
  color: white !important;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(0,150,220,0.35);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,150,220,0.45);
}

.logo {
    height: 100px;
}



/* ================= ANIMATIONS AU SCROLL ================= */

/* État initial (avant apparition) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Apparition depuis le bas */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Depuis la gauche */
.reveal-left {
    transform: translateX(-60px);
}

/* Depuis la droite */
.reveal-right {
    transform: translateX(60px);
}

/* Variante plus douce */
.reveal-soft {
    transition-duration: 1s;
}


/* ===========================================================
   HERO
=========================================================== */
.hero {
    position: relative;
    height: 90vh;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 8s ease-in-out infinite;
}

@keyframes slowZoom {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    text-align: center;
    padding: 35px 45px;
    background: rgba(255,255,255,0.12);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    color: #fff;
}

.hero-content h1 {
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #eaeaea;
}

.btn-hero {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: #0088c2;
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
}

/* ===========================================================
   SECTIONS (RÈGLE UNIQUE)
=========================================================== */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 50px;
}

.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #00AEEF;
    margin: 12px auto 0;
}

/* ===========================================================
   SERVICES
=========================================================== */
.services-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 35px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 60px;
    margin: 0 auto 15px;
}

.service-card h3 {
    margin-top: 15px;
}

.service-card p {
    color: #555;
}

/* ===========================================================
   TIMELINE
=========================================================== */
.timeline-section {
    padding: 70px 20px 50px;
    text-align: center;
}

.timeline-line {
    max-width: 1100px;
    height: 3px;
    background: #000000;
    margin: 50px auto;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
}

.timeline-item {
    width: 22%;
}

.timeline-dot {
    width: 22px;
    height: 22px;
    background: #008CC5;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.timeline-item h3 {
    color: #008CC5;
}

/* ===========================================================
   RÉALISATIONS
=========================================================== */
/* ===========================================================
   RÉALISATIONS
=========================================================== */
.realisations-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Carte réalisation */
.real-card {
    background: #ffffff;
    border-radius: 20px;
    height: 360px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.real-card:hover {
    transform: translateY(-6px);
}

/* IMAGE (LA CLÉ EST ICI) */
.real-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ===========================================================
   PARTENAIRES
=========================================================== */
/* ===========================================================
   PARTENAIRES
=========================================================== */
.partners-bubble {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px;

    /* même esprit que ton fond */
    background: linear-gradient(
        135deg,
        rgba(245,250,255,0.85),
        rgba(238,246,255,0.85)
    );

    border-radius: 32px;

    /* contour blanc subtil */
    border: 2px solid rgba(255,255,255,0.9);

    /* ombre très légère */
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.partners-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.partners-carousel {
    display: flex;
    gap: 30px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.partner-card {
    min-width: 260px;
    height: 180px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.partner-card img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* FLÈCHES */
.partners-arrows {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
}

.carousel-btn {
    background: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.carousel-btn:hover {
    transform: scale(1.1);
}

.carousel-btn.prev {
    margin-right: 15px;
}

.carousel-btn.next {
    margin-left: 15px;
}


.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===========================================================
   AVIS CLIENTS
=========================================================== */
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 18px auto 40px;

    font-size: 1.15rem;
    font-weight: 400;
    color: #5f6f85;

    letter-spacing: 0.3px;
    line-height: 1.6;
}

.section-avis {
    padding: 70px 20px 50px;
}

.avis-carousel-wrapper {
    max-width: 1200px;
    margin: auto;
    overflow-x: hidden;
}

.avis-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0 30px;
}

.avis-bubble {
    max-width: 420px;  
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.avis-bubble-name {
    text-align: center;
    font-weight: 700;
}

.avis-bubble-stars {
    text-align: center;
    color: #f7b500;
    margin-bottom: 12px;
}
/* ================= FORMULAIRE AVIS ================= */
.avis-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.avis-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.avis-form input,
.avis-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.avis-form textarea {
    resize: none;
    height: 120px;
}

.avis-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.8rem;
    cursor: pointer;
}

.avis-stars span {
    color: #ccc;
}

.avis-stars span.active {
    color: #f7b500;
}


/* -----------------------------------------------------------
   CONTACT
----------------------------------------------------------- */
.contact-wrapper {
    max-width: 1100px;
    margin: auto;
}

.contact-card {
    display: flex;
    gap: 60px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.contact-form textarea {
    height: 160px;
    resize: none;
}

.btn-send {
    background: #0096DC;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-send:hover {
    background: #007ab3;
}

.contact-info {
    flex: 0.5;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #0096DC;
    font-weight: 600;
}

/* Responsive contact */
@media (max-width: 900px) {
    .contact-card {
        flex-direction: column;
        padding: 30px;
    }
}


/* ===========================================================
   FOOTER
=========================================================== */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 25px;
}
