/* ================================================
   ============   VARIABLES GLOBALES   ==========
   ================================================ */
:root {
    /* Couleurs */
    --color-bg: #151515;
    --color-accent: #8DEAC4;
    --color-accent-dark: #5AB190;
    --color-text: #FFFFFF;
    --color-text-dark: #333;

    /* Z-index */
    --z-overlay: 1200;
    --z-menu: 1500;
    --z-burger: 2000;

    /* Typographie */
    --font-base: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;


    /* Tailles de texte */
    --fs-h1: 3rem;
    --fs-h2: 2rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --fs-p: 1rem;
    --fs-intermediate: 1.3em;

    /* Scroll padding */
    --scroll-padding-desktop: 40px;
    --scroll-padding-mobile: 40px;

    /* Gradients */
    --gradient-main: linear-gradient(90deg, #A8EA8D, #8DEAC4, #8DDDEA);
    --gradient-light: linear-gradient(to right, #B0EACF, #fff);
}




html {
  scroll-behavior: smooth;
}

html, body {
  height: 100dvh;
  overflow: hidden;
}

main#accueil,
.hero-image-container {
  height: 100dvh;
  overflow: hidden;
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding-desktop);
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: var(--scroll-padding-mobile);
    }
}

body {
    font-family: var(--font-base);
    font-weight: 200;
    font-size: var(--fs-p);
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-bg);
}

/* ================================================
   ================== TITRES =====================
   ================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.5;
    margin-bottom: 0.5em;
}

h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 2; }

p { font-size: var(--fs-p); font-weight: 400; }
b, strong { font-weight: 500; }

.intermediate-title {
    font-size: var(--fs-intermediate);
    font-weight: 500;
    margin: 0.5em 0;
}

/* Couleurs spécifiques */
.titre-couleur { color: var(--color-accent); text-decoration: none; }
.titre-bleu { color: var(--color-accent-dark); text-decoration: none; }
.titre-blanc { color: var(--color-text); }
.titre-noir { color: #000; }

/* Gradients pour titres */
.title-gradient, .title-gradient3 {
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.title-gradient { font-size: var(--fs-h1); }
.title-gradient3 { font-size: 2.2rem; }

.gradient-titleb {
    font-weight: bold;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* ================================================
   LOGO GLOBAL (position absolute)
   ================================================ */

.logo {
    position: absolute; /* ⬅️ passage en absolute */
    top: 22px;
    left: 30px;
    z-index: 2000;
    pointer-events: auto;

    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0 0 0 0);

    transition:
        transform 0.3s cubic-bezier(0.77, 0, 0.175, 1),
        opacity 0.3s cubic-bezier(0.77, 0, 0.175, 1),
        clip-path 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.logo img {
    height: 26px;
    display: block;
    transition: transform 0.25s ease;
}

.logo img:hover {
    transform: scale(1);
}

/* État masqué (scroll / interaction JS) */
.logo.hidden {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
}

/* ================================================
   Logo masqué quand le menu mobile est ouvert
   ================================================ */

body.menu-open .logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Masquer le burger quand le menu mobile est ouvert */
body.menu-open .burger {
    display: none;
}

/* ================================================
   NAVIGATION PRINCIPALE
   ================================================ */
nav.navbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;

    min-width: 600px;
    height: 50px;


  background: #1D1E1E;
  backdrop-filter: blur(12px);

    border-radius: 50px;

    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: var(--z-menu);
}

/* Menu centré propre */
.nav-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: left;
    align-items: left;
    gap: 30px;
    list-style: none;
    font-family: var(--font-base);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.nav-menu li a {
    text-decoration: none;
    color: #FFFFFF;
    transition: color 0.3s ease, transform 0.35s ease, letter-spacing 0.35s ease;
}

.nav-menu li a:hover {
    color: var(--color-accent);
}


/* Icônes sociales desktop */
.social-icons-inline {
    display: flex;
    gap: 25px;
    align-items: center;
}

.social-icons-inline img {
    width: 16px;
    height: 16px;
    display: block;
    filter: brightness(0) invert(1);
   transition: transform 0.5s ease-in-out,
              filter 0.5s ease-in-out,
              box-shadow 0.5s ease-in-out;
}

.social-icons-inline img:hover {
    transform: scale(1.2);

}

.mobile-social-wrapper  { display: none !important; }
.mobile-social-icons { display: none !important; }

/* ================================================
   RESPONSIVE TABLETTE & MOBILE
   ================================================ */

@media (max-width: 1023px) {

    /* Navbar full width sur mobile */
    nav.navbar {
        width: 100%;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
        padding: 0 20px;
        background: none;
  backdrop-filter: none;
        display: flex;
        justify-content: space-between;
    }

    /* Burger visible sur mobile */
    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 10001;
    }

    .burger span {
        width: 26px;
        height: 3px;
        background-color: var(--color-accent);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Cacher le menu desktop */
    .nav-menu.desktop-only {
        display: none;
    }

    /* Menu mobile : slide depuis le haut */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--color-bg);
        display: flex;
        flex-direction: column;
        padding: 90px 25px 40px;
        gap: 25px;
        transform: translateY(-100%);
        opacity: 0;
        overflow: hidden;
        z-index: 1000; /* au-dessus de l'overlay mais sous le burger */
        transition: transform 0.55s cubic-bezier(0.77,0,0.175,1),
                    opacity 0.45s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

  .nav-menu.active {
        height: auto;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Liens centrés */
    .nav-menu li a {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }

    /* Icônes sociales mobiles */
    .mobile-social-wrapper {
        display: flex !important;
        justify-content: center; /* centre horizontalement */
        gap: 20px;
        margin-top: 15px;
        padding-top: 12px;
    }

    .mobile-social-icons {
        display: flex !important;
        gap: 20px;
        align-items: center;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
    }

    .nav-menu.active .mobile-social-icons {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-social-icons img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
        transition: transform 0.25s ease;
    }

    .mobile-social-icons img:hover {
        transform: scale(1.1);
transition: transform 0.4s ease-in-out,
              filter 0.4s ease-in-out,
              box-shadow 0.4s ease-in-out;
    }

    /* Masquer icônes desktop */
    .social-icons-inline {
        display: none !important;
    }

    /* Overlay semi-flou */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(24,24,27,0.5);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999; /* sous le menu et burger */
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ================================================
   =========== HERO SUBTITLE =======================
   ================================================ */
.hero-subtitle {
    margin-top: -1rem;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
    color: #6e6e73;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
/* ================================================
   ===============   HERO IMAGE   =================
   ================================================ */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;  /* ← au lieu de center */
    justify-content: center;
    padding-left: 6vw;
    padding-right: 6vw;
    padding-top: 20vh;  /* ← Ajuste selon tes besoins */
    margin-top: 0;
}


.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('images/intro.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;

    will-change: transform;
    transform: scale(1.2);
    transition: transform 3s ease-out;
}

.hero-image.hero-visible { 
    transform: scale(1); 
}

/* ================================================
   =============== HERO CONTENT ====================
   ================================================ */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    text-align: center;
    color: #1D1E1E;
    padding: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.hero-content.hero-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in éléments internes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



.cta-buttonb {
  display: inline-flex;       /* Changé pour aligner l'icône et le texte */
  align-items: center;        /* Centre verticalement l'icône et le texte */
  gap: 10px;                  /* Espace entre la flèche et le texte */
  margin-top: -1rem;
  text-align: left;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  color: #FFF;
  transition: transform 0.4s ease-in-out,
              filter 0.4s ease-in-out,
              box-shadow 0.4s ease-in-out;
  position: relative;
  z-index: 2;
  text-decoration: none;      /* Sécurité si c'est un lien <a> */
}

/* Ajout de la flèche à gauche */
.cta-buttonb::before {
  content: "↗";
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
}

.btn-ctab { 
  background-color: #1D1E1E; 
}

/* Hover premium (desktop seulement) */
@media (hover: hover) and (pointer: fine) {
  .cta-buttonb:hover {
    transform: scale(1.05); 
  }
}


/* ================================================
   =============== TITRES HERO =====================
   ================================================ */
.petit-blanc {
    font-size: 3rem;
    color: var(--color-text);
    display: block;
    margin-bottom: -0.2em;
}

.gros-gradient {
    font-size: 4rem;
    line-height: 1;  /* Compromis idéal */
    padding-bottom: 0.2em;  /* Évite la coupure en bas */
}


.title-gradient2 {
    font-weight: 700;
    display: inline-block;
    background: linear-gradient(90deg, #A8EA8D, #8DEAC4, #8DDDEA, #A8EA8D);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradient-move 3s linear infinite;
}

@keyframes gradient-move {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ================================================
   =========== RESPONSIVE HERO =====================
   ================================================ */
@media(max-width: 768px) {

    /* Marges plus discrètes sur mobile */
    .hero-image-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 { 
        line-height: 1.1; 

        font-size: 3rem; 
    }

    .hero-content p { 
        font-size: 1rem; 
    }

    .petit-blanc { 
        font-size: 2.2rem; 
        margin-bottom: 0em; 
    }

    .gros-gradient { 
        font-size: 3.5rem; 
    }
}

@media(max-width: 480px) {
    .petit-blanc { 
        font-size: 1.8rem; 
        margin-bottom: 0em; 
    }

    .gros-gradient { 
        font-size: 2.8rem; 
    }
}


/* ================================================
   =========== CTA Scroll (Hero Arrow) ============
   ================================================ */


.hero-scroll-btn {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) rotate(90deg);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  background: none;
  color: #8DEAC4;
  font-size: 36px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  line-height: 1;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.25s ease;
  animation: scroll-arrow 1.5s ease-in-out infinite;
}

@keyframes scroll-arrow {
  0%   { transform: translateX(-50%) translateY(0) rotate(90deg); }
  50%  { transform: translateX(-50%) translateY(8px) rotate(90deg); }
  100% { transform: translateX(-50%) translateY(0) rotate(90deg); }
}

.hero-scroll-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-scroll-btn:hover {
    transform: translateX(-50%) rotate(90deg) scale(1.08);
    opacity: 0.9;
  }
}


/* ================================================
   SECTION TRIPLE CARDS - ENJEUX (MAJ)
   ================================================ */
.challenges-section {
    padding: 200px 20px 50px;
    position: relative;
    background: #000;
    overflow: hidden;
}

/* Image de fond */
.challenges-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/image1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9; /* Ajustez selon vos besoins (0.1 à 0.3 recommandé) */
    z-index: 0;
}

/* Assurer que le contenu reste au-dessus */
.challenges-intro {
    position: relative;
    z-index: 1;
    max-width: 950px;
    margin: 0 auto;
    text-align: left;
}

.challenges-intro-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
}

.challenges-intro-text {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #6e6e73;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 768px) {
    .challenges-intro-title {
        font-size: 1.8rem;
    }

    .challenges-intro-text {
        font-size: 1.05rem;
    }
}



/* ================================================
   SECTION BIO - SOLUTION (STYLE APPLE)
   ================================================ */
.bio-section {
    background: #f5f5f7;
    padding: 0;
    margin: 0; /* Ajout */
}

.bio-container {
    max-width: 100%; /* Change de 1400px à 100% */
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    gap: 0;
}


.bio-image {
    position: relative;
    overflow: hidden;
    margin: 0; /* Ajout */
    padding: 0; /* Ajout */
}


.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-content {
    padding: clamp(60px, 10vw, 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.bio-eyebrow {
    font-size: 1rem;
    font-weight: 600;
    color: #8DEAC4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.bio-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #1d1d1f;
}

.bio-description {
    font-size: 1.25rem;
    color: #6e6e73;
    margin-bottom: 50px;
    line-height: 1.6;
}

.bio-features {
    display: grid;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.feature-check {
    width: 28px;
    height: 28px;
    background: #8DEAC4;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.feature-content p {
    font-size: 1.05rem;
    color: #6e6e73;
    line-height: 1.5;
}

/* ================================================
   RESPONSIVE TABLETTE
   ================================================ */
@media (max-width: 1024px) {
    .bio-container {
        grid-template-columns: 1fr;
    }

    .bio-image {
        height: 50vh;
        order: -1;
    }

    .challenges-grid {
        gap: 30px;
    }
}

/* ================================================
   RESPONSIVE MOBILE
   ================================================ */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 60px 20px;
    }

    .challenges-section {
        padding: 80px 20px;
    }

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

    .bio-content {
        padding: 50px 30px;
    }

    .bio-features {
        gap: 25px;
    }

    .feature-item {
        gap: 15px;
    }
}


/* ================================================
   ==================== PORTFOLIO GRID ============
   ================================================ */

#portfolio-grid {
  background: #FFF;
  padding: 0 0 60px;
}

/* ===== GRILLE ===== */
.pgrid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
}

.pgrid-item {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.pgrid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay — toujours visible */
.pgrid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
  pointer-events: none;
}

.pgrid-cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8DEAC4;
  margin-bottom: 4px;
}

.pgrid-title {
  font-size: 17px;
  font-style: italic;
  color: #fff;
  font-weight: 400;
}

/* ===== LIGHTBOX ===== */
.pgrid-lb {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  pointer-events: none;
  transition: background 0.35s ease;
}

.pgrid-lb.open {
  background: rgba(0,0,0,0.92);
  pointer-events: all;
}

.pgrid-lb-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.pgrid-lb.open .pgrid-lb-img {
  opacity: 1;
  transform: scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .pgrid-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pgrid-container { grid-template-columns: 1fr; }
  .pgrid-item { aspect-ratio: 4/3; }
}



/* ================================================
   =======   BOOSTER VOTRE COMMUNICATION  =========
   ================================================ */

#presentation {
    background-color: #FFF;
    padding: 80px 0 40px;
}

.gros, .petit {
    background: linear-gradient(90deg, #A8EA8D, #8DEAC4, #8DDDEA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gros {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: bold;
    line-height: 0.55;
    font-family: 'Poppins', sans-serif;
    margin-left: 30px;
}

.petit {
    font-size: clamp(2.2rem, 5vw, 3rem);
    display: block;
    margin-top: clamp(-0.28em, -1vw, -0.35em);
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    margin-left: 60px; /* Augmenté de 30px à 60px */
}

.offers-container2 {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 30px;
    box-sizing: border-box;
    justify-content: center;
    align-items: stretch;
}

.offer2 {
    background-color: #FFF;
    color: #18212F;
    border-radius: 30px;
    padding: 30px;
    box-sizing: border-box;
    flex: 1 1 33.333%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* SUPPRESSION DU <center> - Alignement automatique */
.offer2 h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.offer2 p {
    text-align: left;
    font-size: 1.05rem;
    color: #6e6e73;
    line-height: 1.5;
}

.offer-visibility { color: #A8EA8D; }
.offer-confiance { color: #8DEAC4; }
.offer-resultat { color: #8DDDEA; }

.highlight { 
    font-weight: 600; 
    font-size: 1.5rem; 
    font-family: 'Poppins', sans-serif; 
}

/* ================================================
   = ÉCRANS 4K ET ULTRA-LARGES (2560px+)
   ================================================ */
@media(min-width: 2560px) {
    #presentation {
        padding: 140px 0 80px;
    }

    .gros {
        font-size: 8rem;
        margin-left: 180px;
    }

    .petit {
        font-size: 5rem;
        margin-left: 180px;
    }

    .offers-container2 {
        padding: 0 180px;
        gap: 50px;
        max-width: 2800px;
        margin: 0 auto;
    }

    .offer2 {
        padding: 60px;
        border-radius: 40px;
    }

    .offer2 h3 {
        font-size: 2.2em;
        margin-bottom: 25px;
    }

    .offer2 p {
        font-size: 1.3rem;
        line-height: 1.7;
    }

    .highlight {
        font-size: 2.2rem;
    }
}

/* ================================================
   = ÉCRANS TRÈS LARGES (1920px - 2559px)
   ================================================ */
@media(max-width: 2559px) and (min-width: 1920px) {
    #presentation {
        padding: 120px 0 60px;
    }

    .gros {
        font-size: 6.5rem;
        margin-left: 140px;
    }

    .petit {
        font-size: 4rem;
        margin-left: 140px;
    }

    .offers-container2 {
        padding: 0 140px;
        gap: 40px;
        max-width: 2200px;
        margin: 0 auto;
    }

    .offer2 {
        padding: 50px;
        border-radius: 35px;
    }

    .offer2 h3 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .offer2 p {
        font-size: 1.2rem;
    }

    .highlight {
        font-size: 2rem;
    }
}

/* ================================================
   = ÉCRANS LARGES (1440px - 1919px)
   ================================================ */
@media(max-width: 1919px) and (min-width: 1440px) {
    #presentation {
        padding: 100px 0 50px;
    }

    .gros {
        font-size: 5.5rem;
        margin-left: 110px;
    }

    .petit {
        font-size: 3.5rem;
        margin-left: 110px;
    }

    .offers-container2 {
        padding: 0 110px;
        gap: 35px;
    }

    .offer2 {
        padding: 45px;
    }

    .offer2 h3 {
        font-size: 1.8em;
    }

    .offer2 p {
        font-size: 1.1rem;
    }

    .highlight {
        font-size: 1.8rem;
    }
}

/* ================================================
   = RESPONSIVE DESKTOP STANDARD (1025px - 1439px)
   ================================================ */
@media(max-width: 1439px) and (min-width: 1025px) {
    #presentation {
        padding: 90px 0 45px;
    }

    .gros {
        margin-left: 60px;
    }

    .petit {
        margin-left: 60px;
    }

    .offers-container2 {
        padding: 0 60px;
        gap: 30px;
    }

    .offer2 {
        padding: 40px;
    }
}

/* ================================================
   = RESPONSIVE TABLETTE (769px - 1024px)
   ================================================ */
@media(max-width: 1024px) and (min-width: 769px) {
    #presentation {
        padding: 70px 0 35px;
    }

    .gros {
        margin-left: 50px;
    }

    .petit {
        margin-left: 50px;
    }

    .offers-container2 {
        padding: 0 50px;
        gap: 25px;
        flex-wrap: wrap;
    }

    .offer2 {
        flex: 1 1 calc(50% - 25px);
        padding: 35px;
    }
}

/* ================================================
   = RESPONSIVE MOBILE (jusqu'à 768px)
   ================================================ */
@media(max-width: 768px) {
    #presentation {
        padding: 60px 0 30px;
    }

    .gros {
        margin-left: 20px;
    }

    .petit {
        margin-left: 20px;
    }

    .offers-container2 {
        flex-wrap: wrap;
        padding: 0 20px;
        gap: 20px;
    }

    .offer2 {
        flex: 1 1 100%;
        padding: 30px;
    }

    .offer2 p {
        font-size: 0.95rem;
    }
}

/* ================================================
   = RESPONSIVE TRÈS PETIT MOBILE (jusqu'à 400px)
   ================================================ */
@media (max-width: 400px) {
    .gros { 
        line-height: 0.65; 
        margin-bottom: -4em;
        margin-left: 15px;
    }
    
    .petit { 
        margin-top: -0.35em;
        margin-left: 15px;
    }

    .offers-container2 {
        padding: 0 15px;
    }

    .offer2 {
        padding: 25px;
    }

    .offer2 p {
        font-size: 0.9rem;
    }
}



/* ================================================
   =================   OFFRES  ====================
   ================================================ */
#services {
  background-color: var(--color-bg);
  color: #E6E6E6;
  padding: 80px 0 0;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}


.offers-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 15px;
  box-sizing: border-box;
}

/* =============================
   CONTENEUR GLOBAL (cadre principal)
   ============================= */
.offers-content {
  position: relative;
  background-color: none;
  width: 100%;
  padding: 0px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* =============================
   CONTENEUR DE LA GROSSE GÉLULE (maintenant à l'intérieur)
   ============================= */
.offers-tabs-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

/* =============================
   GRANDE GÉLULE
   ============================= */
.big-pill {
  position: relative;
  display: flex;
  background: #1D1E1E;
  padding: 4px;
  border-radius: 999px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* =============================
   PETITE GÉLULE ACTIVE (slider) - MÊME TAILLE QUE LA GRANDE
   ============================= */
.active-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: 0;
  background: #a8ea8d;
  border-radius: 999px;
  z-index: 0;
  transition:
    left 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.35s ease;
}

/* =============================
   BOUTONS ONGLET
   ============================= */
.big-pill .tab-button {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 10px 8px;
  color: #c8c8c8;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease;
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.big-pill .tab-button.active {
  color: #000;
  font-weight: 600;
}

/* =============================
   CONTENEUR DES CARTES D'OFFRES
   ============================= */
.offers-cards-container {
  position: relative;
  min-height: 550px;
  width: 100%;
}

/* =============================
   CARTE OFFRE (conteneur complet)
   ============================= */
.offer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s 0.4s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Active card */
.offer.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s 0s;
  pointer-events: auto;
  position: relative;
}

/* =============================
   CARTE AVEC CADRE (contenu)
   ============================= */
.offer-card {
  background: #1D1E1E;
border-radius: 35px 35px 5px 5px;
  padding: 25px;
  box-sizing: border-box;
}

/* =============================
   TITRES
   ============================= */
.offer h3 {
  font-size: 2.2em;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
}

.offer h4 {
  font-size: 1.5em;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
}

.offer h3 .offer-portrait   { color: #A8EA8D; }
.offer h3 .offer-corporate  { color: #8DEAC4; }
.offer h3 .offer-reportage  { color: #8DDDEA; }
.offer h3 .offer-abonnement { color: #C4B0E2; }

.offer h4 .offer-portrait   { color: #A8EA8D; }
.offer h4 .offer-corporate  { color: #8DEAC4; }
.offer h4 .offer-reportage  { color: #8DDDEA; }
.offer h4 .offer-abonnement { color: #C4B0E2; }

/* =============================
   TEXTE
   ============================= */
.offer p {
  font-size: 1.05em;
  line-height: 1.5;
  color: #FFF;
  position: relative;
  z-index: 1;
}

.offer-tagline {
  color: #9A9D98 !important;
  font-weight: 400;
  opacity: 0.9;
  text-align: center;
  margin-bottom: 25px;
}

.offer-note {
  margin-bottom: 0;
  opacity: 0.7;
}

/* =============================
   LISTE
   ============================= */
.offer ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.offer ul li {
  font-size: 1.05em;
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Puces en forme de validation (✓) colorées */
.offer[data-type="portrait"]  ul li::before  { 
  content: "✓"; 
  position: absolute; 
  left: 0; 
  color: #A8EA8D; 
  font-weight: bold; 
  font-size: 1.3em;
}

.offer[data-type="corporate"] ul li::before { 
  content: "✓"; 
  position: absolute; 
  left: 0; 
  color: #8DEAC4; 
  font-weight: bold; 
  font-size: 1.3em;
}

.offer[data-type="reportage"] ul li::before { 
  content: "✓"; 
  position: absolute; 
  left: 0; 
  color: #8DDDEA; 
  font-weight: bold; 
  font-size: 1.3em;
}

.offer[data-type="abonnement"] ul li::before { 
  content: "✓"; 
  position: absolute; 
  left: 0; 
  color: #C4B0E2; 
  font-weight: bold; 
  font-size: 1.3em;
}

/* =============================
   BOUTON CONTACT (en dehors du cadre)
   ============================= */
.contact-button {
  border: none;
  padding: 16px 24px;
border-radius: 5px 5px 35px 35px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Icône externe à gauche du texte */
.contact-button::before {
  content: "↗";
  font-size: 1.2em;
  font-weight: bold;
  display: inline-block;
}

.btn-portrait   { background-color: #A8EA8D; }
.btn-corporate  { background-color: #8DEAC4; }
.btn-reportage  { background-color: #8DDDEA; }
.btn-abonnement { background-color: #C4B0E2; }

.contact-button:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* =============================
   RESPONSIVE MOBILE
   ============================= */
@media (max-width: 768px) {
  .contact-button {
    padding: 14px 20px;
    font-size: 15px;
border-radius: 5px 5px 35px 35px;
  }
  
  .contact-button::before {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .contact-button {
    padding: 12px 18px;
    font-size: 14px;
border-radius: 5px 5px 35px 35px;
  }
}

/* =============================
   RESPONSIVE TABLETTE
   ============================= */
@media (max-width: 1024px) {
  .offers-content {
    padding: 20px;
  }

  .offers-tabs-container {
    margin-bottom: 25px;
  }

  .tab-button {
    font-size: 14px;
    padding: 10px 12px;
  }

  .offer h3 {
    font-size: 1.9em;
  }

  .contact-button:hover {
    transform: none;
  }
}

/* =============================
   RESPONSIVE MOBILE
   ============================= */
@media (max-width: 768px) {
  .offers-content {
border-radius: 35px 35px 5px 5px;
    padding: 20px;
  }

  .offers-tabs-container {
    margin-bottom: 20px;
  }

  .offers-cards-container {
    min-height: 600px;
  }

  .offer {
    gap: 8px;
  }

  .offer-card {
    padding: 20px;
border-radius: 35px 35px 5px 5px;
  }

  .offer h3 {
    font-size: 1.6em;
    margin-bottom: 12px;
    margin-top: 20px;
  }

  .offer p {
    font-size: 0.95em;
  }

  .offer ul li {
    padding-left: 24px;
    margin-bottom: 8px;
  }

  .contact-button {
    padding: 12px 20px;
    font-size: 15px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .offers-content {
    padding: 0px;
  }

  .big-pill .tab-button {
    font-size: 11px;
    padding: 8px 5px;
  }

  .offer h3 {
    font-size: 1.4em;
  }

  .offer-card {
    padding: 18px;
border-radius: 35px 35px 5px 5px;
  }
}


/* ================================================
   ================== CONTACT =====================
   ================================================ */
.contact-section {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 60px 100px;
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
}

.contact-section p {
    color: #9A9D98;
    font-weight: 400;
    opacity: 0.9;
    text-align: center !important; 
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-text);
    padding: 12px 10px;
    color: var(--color-text);
    font-size: var(--fs-p);
    font-family: var(--font-base);
    transition: border-color 0.3s ease;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #cccccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--color-accent);
}

.contact-form button {
    background-color: var(--color-accent);
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;         /* Augmenté légèrement pour équilibrer avec l'icône */
    margin: 20px auto 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;                  /* Espace entre la flèche et le texte */
    
    transition: transform 0.4s ease-in-out,
                filter 0.4s ease-in-out,
                box-shadow 0.4s ease-in-out;
}

/* Ajout de la flèche à gauche */
.contact-form button::before {
    content: "↗";
    font-size: 1.2rem;          /* Légèrement plus grand que le texte */
    font-weight: bold;
    line-height: 1;
}

.contact-form button:hover {
    transform: scale(1.05);
}


/* ================================================
   ================== FOOTER ======================
   ================================================ */
footer {
    background-color: var(--color-bg);
    color: var(--color-text);
    text-align: center;
    padding: 60px 80px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    padding: 0;
    margin: 0;
}

.footer-nav li a {
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.35s ease, transform 0.45s cubic-bezier(0.23,1,0.32,1), letter-spacing 0.45s ease;
}

.footer-nav li a:hover {
    color: var(--color-accent);
}

.footer-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.footer-icons img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.footer-icons img:hover {
    transform: scale(1.2);
}

/* ================================================
   ================= RESPONSIVE ===================
   ================================================ */
@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .footer-nav li a {
        font-size: 0.95rem;
    }

    .footer-icons {
        margin-top: 15px;
        justify-content: center;
    }

    .contact-section {
        padding: 50px 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .contact-form button {
        width: 140px;
        padding: 12px 20px;
    }
}

/* ================================================
   ============  CONTACT & FOOTER DESKTOP FIX  ====
   ================================================ */
@media (min-width: 769px) {
    .contact-section {
        text-align: center;
        color: var(--color-text);
    }

    .contact-form input,
    .contact-form textarea {
        color: var(--color-text);
        width: 100%;
    }

    .contact-form button {
        margin: 20px auto 0;
    }

    footer .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    footer .footer-icons,
    footer .footer-nav {
        justify-content: flex-start;
    }
}

/* ================================================
   ============ CONTACT DESKTOP FIX ===============
   ================================================ */
@media(min-width: 1025px) {
    /* Section contact centrée */
    .contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 100px 150px;
        color: var(--color-text) !important;
    }

    /* Formulaire */
    .contact-form {
        width: 100%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        color: var(--color-text);
        border-bottom: 1px solid var(--color-text);
    }

    .contact-form button {
        margin: 20px auto 0;
    }

    /* Footer */
    footer {
        padding: 60px 150px;
        text-align: center;
    }

    .footer-content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 50px;
        flex-wrap: nowrap;
    }

    .footer-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 35px;
    }

    .footer-icons {
        display: flex;
        gap: 25px;
        justify-content: center;
        margin-top: 0;
    }

    /* Forcer les couleurs */
    .footer-content,
    .footer-nav li a,
    .footer-icons img {
        color: var(--color-text);
    }
}

/* ================================================
   =============== MENTIONS LÉGALES ================
   ================================================ */

.legal-section {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
}

/* Conteneur global */
.legal-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 35px;
    text-align: left;
}

/* Titre principal */
.legal-container h1.title-gradient {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: 15px;
}

/* Sous-titres sections */
.legal-container h2.title-gradient {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: left;
}

/* Paragraphes */
.legal-container p {
    font-size: 1rem;
    font-family: var(--font-base);
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

/* Liens */
.legal-container a {
    color: var(--color-accent);
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

/* Gestion responsive */
@media (max-width: 768px) {
    .legal-section {
        padding: 100px 20px;
    }

    .legal-container {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .legal-section {
        padding: 90px 20px;
    }

    .legal-container h1.title-gradient {
        font-size: 2rem;
    }

    .legal-container h2.title-gradient {
        font-size: 1.25rem;
    }

    .legal-container p {
        font-size: 0.95rem;
    }
}

/* Lien "Mentions légales" dans le footer */
footer .footer-content p a {
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

footer .footer-content p a:hover {
    opacity: 1;
    text-decoration: none !important;
}

.close-menu {
    display: none !important;
}

/* ================================================
   ========== FIX DOUBLE SCROLL BAR ===============
   ================================================ */

html {
    overflow-y: scroll; /* ✅ Force UNE scrollbar sur html */
    overflow-x: hidden;
}

body {
    overflow: hidden; /* ❌ Empêche body de créer sa propre scrollbar */
}

/* Fix pour le hero */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 100% au lieu de 100vh */
    background-image: url('images/intro.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
    
    will-change: transform;
    transform: scale(1.2);
    transition: transform 3s ease-out;
}
