/* 1. IMPORTS & FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@700;800&display=swap&family=Playfair+Display:wght@700&display=swap');

/* 2. VARIABLES & PALETTE */
:root {
  --primary:       #FF8C00;
  --primary-dark:  #E07B00;
  --text-dark:     #1A1A1A;
  --text-light:    #555555;
  --bg-light:      #FFFFFF;   /* ← blanc */
  --bg-white:      #FFFFFF;   /* ← blanc */

  --font-sans:     'Inter', sans-serif;
  --font-serif:    'Playfair Display', serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius:    12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);

  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 0.3s;
}

/* 3. RESET & GLOBAL */
*,
*::before,
*::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: #ffffff;        /* ← blanc */
  color: var(--text-dark);
  line-height: 1.6;
}

/* 4. CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* TITRES DE SECTION PREMIUM */
h2.section-title, h2.section-title * {
  font-family: 'Montserrat', var(--font-sans), Arial, sans-serif;
  font-weight: 700;
  /* autres styles au besoin (taille, couleur) */
}

/* 5. HEADER */
header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
header .container { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) 0; }
header .logo {
  width: 160px; height: 50px;
  background: url('assets/logo-updy.png') no-repeat center/contain;
  text-indent: -9999px; overflow: hidden;
}
nav ul { display: flex; gap: var(--space-lg); list-style: none; }
nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  padding: var(--space-xs) 0;
  transition: color var(--speed) var(--ease);
}
nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--speed) var(--ease);
}
nav a:hover { color: var(--primary); }
nav a:hover::after { transform: scaleX(1); }

.section-title {
  font-family: 'Montserrat', var(--font-sans), Arial, sans-serif;
  font-size: 2.2rem;    /* ajuste la taille comme tu veux */
  font-weight: 800;
  color: #2B1C08;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 2.2rem;
  line-height: 1.1;
}

/* BODY (ancienne section fond orangé → blanc) */
body {
  background: #ffffff;                     /* ← blanc */
  background-image: none;                  /* ← on retire les halos orangés */
  background-attachment: fixed;
}

/* — DROPDOWN — */
nav ul li.dropdown {
  position: relative;
}

nav ul li .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 999;
  padding: 0.5rem 0;
}

nav ul li .dropdown-menu li {
  padding: 0;
}

nav ul li .dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

nav ul li .dropdown-menu a:hover {
  background-color: #f6f6f6;
  color: #FF8C00;
}

nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}

/* 6. HERO PREMIUM */
.hero-premium {
  position: relative;
  height: 32vh;
  background: url('assets/images/hero-bg2.jpg') center/cover no-repeat fixed;
  display: flex; align-items: center; justify-content: center;
  color: #fff; overflow: hidden;
}
.hero-premium__content {
  position: relative; z-index: 1; text-align: center;
  max-width: 600px; padding: 0 var(--space-md);
}
.hero-premium__content h1 {
  font-size: 3rem; /* ou plus si tu veux */
  font-weight: 800;
  color: #fff;
}
.hero-premium__content p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  margin-top: 0.5rem;
}
.hero-premium__wave {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 80px;
}
.hero-premium__wave {
  display: none;
}

/* 7. BUTTONS */
.btn-primary {
  display: inline-block; background: var(--primary);
  color: #fff; font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border: none; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    background var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    transform var(--speed) var(--ease);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* 8. PÔLES 2×2 */
/* ==== 8. PÔLES 2×2 (cartes flex avec bouton en bas) ==== */
.poles {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) auto;
}

.pole {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: 
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

.pole:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Image en haut de carte */
.pole-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

/* Contenu textuel */
.pole h3,
.pole p {
  padding: var(--space-md) var(--space-lg);
  margin: 0;
}

/* Bouton poussé en bas */
.pole .btn-primary {
  margin: var(--space-md) var(--space-lg) var(--space-lg);
  margin-top: auto;
}


/* 9. PARTENAIRES – CARROUSEL */
/* PARTENAIRES – THICC STYLE FIXED */
.partners {
  background-color: #ffffff; /* ← blanc (était #fef5eb) */
  padding: 6rem 0 4rem;       
  text-align: center;
}


.partners-title {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
}

.partners-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Carrousel fluide */
.partner-slider {
  overflow: hidden;
  padding: 1rem 0;
  max-width: 100%;
}

.slider-track {
  display: flex;
  gap: 2rem;
  animation: scroll-logos 25s linear infinite;
  align-items: center;
  background-color: transparent;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-logo {
  height: 200px;
  max-width: 400px;
  object-fit: contain;
  padding: 0.2rem;           
  margin: 0.3rem;            
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.carousel-logo:hover {
  transform: scale(1.05);
}



/* 10. SHOWCASE VIDÉOS DEFILABLE */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--primary, #ff7a00);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.showcase {
  padding: 3rem 0;
}

.showcase h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
  text-align: center;
}

.showcase h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.showcase-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.showcase-scroll::-webkit-scrollbar {
  display: none;
}

.video-wrapper {
  flex: 0 0 240px;
  height: 320px;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #000;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  outline: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-video:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  max-height: 460px; /* Limite à 2 lignes */
  overflow-y: auto;
  padding: 1rem 0;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: scale(1.02);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NOS SERVICES*/
/* ======= NOS SERVICES — STYLE ======= */
.services-section {
  padding: 5rem 2rem;
  background-color: #ffffff;   /* ← blanc (était #fef5eb) */
  text-align: center;
}

.section-title {
  font-size: 2.3rem;
  font-family: var(--font-serif);
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card img {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-card ul ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  font-size: 0.9rem;
}

.service-card.large {
  grid-column: span 2;
}

.service-card img.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}

/* 11. À PROPOS */
.about {
  padding: var(--space-xl) 0;
  background: #ffffff;   /* ← blanc (remplace le dégradé orangé) */
  position: relative;
}
.about h2 {
  text-align: center;
  font-family: var(--font-serif);
  margin-bottom: var(--space-md);
  position: relative;
}
.about h2::after {
  content: '';
  display: block;
  width: 60px; height: 4px;
  background: var(--primary);
  margin: var(--space-xs) auto 0;
  border-radius: 2px;
}
.about p {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  line-height: 1.6;
}
.about-metrics.single-row {
  list-style: none; padding: 0;
  margin: var(--space-md) 0 var(--space-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.about-metrics.single-row li {
  position: relative;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  border-radius: var(--radius);
  padding: calc(var(--space-lg) + 20px) var(--space-lg) var(--space-lg);
  text-align: center;
  transition:
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    border-top-color var(--speed) var(--ease);
}
.about-metrics.single-row li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary-dark);
}
.metric-icon {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-white);
  border-radius: 50%;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.about-metrics.single-row li strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}
.about-metrics.single-row li span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.85;
}

/* ==== CONTACT + FOOTER ÉLÉGANT (renforcé) ==== */
footer {
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-white);
  color: var(--text-light);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: 0 var(--space-md);
}

.footer-contact h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.footer-contact p {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  color: var(--text-dark);
  gap: var(--space-sm);
  margin: 0;
}

.footer-contact a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--speed);
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact .separator {
  color: rgba(0,0,0,0.3);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--speed);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.4);
  margin-top: var(--space-sm);
}


/* 13. RESPONSIVE */
@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.carousel {
  margin: 5rem auto;
  width: 220px;
  height: 320px;
  perspective: 1000px;
}

.carousel__cards {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.card {
  position: absolute;
  width: 260px;
  height: 320px;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: center;
  transform-origin: center center;
  
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.9rem;
  color: #555;
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #ff8c00;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

/* FOOTER sombre (classe .footer utilisée dans le HTML) */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
  margin-top: 0; /* Empêche un décalage vers le haut */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-logo {
  height: 70px;
  margin-bottom: 1rem;
  cursor: pointer; /* curseur main pour indiquer clic */
}

.footer-brand p {
  color: #ccc;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary, #FF8C00);
}

.footer-contact {
  flex: 1 1 180px;
}

.footer-contact p {
  margin: 0.3rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
}

.section-title, .section-title * {
  font-family: 'Montserrat', var(--font-sans), Arial, sans-serif !important;
  font-weight: 800 !important;
}

/* Compteurs - rendu propre et sans décalage */
.about-metrics strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FF8C00; /* + et chiffres orange */
}

.about-metrics .counter {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  /* largeur réservée auto (mise par JS), ici fallback minimal */
  min-width: 3ch;
}

/* === "A propos" — style du + et du chiffre sur 1 ligne, orange === */
.about-metrics li strong{
  display: flex;               /* met + et chiffre sur la même ligne */
  align-items: center;
  justify-content: center;
  gap: 8px;                    /* espace entre + et le chiffre */
  color: #FF8C00;              /* + ET chiffre en orange */
  font-weight: 800;
  font-size: 1.9rem;           /* taille comme ton 2e screen */
  line-height: 1;
  margin-top: 8px;             /* remet l’équilibre vertical */
}

/* si le script a créé .plus / .counter, on les force à hériter */
.about-metrics li strong .plus,
.about-metrics li strong .counter{
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1;
  display: inline;             /* évite tout passage à la ligne */
}

/* chiffres plus “stables” visuellement */
.about-metrics li strong .counter{
  font-variant-numeric: tabular-nums;
}

/* === Carousel Shorts (nouveau) === */

.shorts { padding: 3rem 0; }

.shorts-viewport{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.5rem; /* place pour les flèches */
}

.shorts-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.shorts-track::-webkit-scrollbar{ display:none; }

.short-card{
  position: relative;
  height: 430px;                /* format “short” */
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.short-card video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* bouton lecture */
.play-btn{
  position: absolute;
  left: 18px; bottom: 18px;
  width: 44px; height: 44px;
  border: none; border-radius: 50%;
  background: #FF8C00;          /* ← orange */
  color: #fff;
  font-weight: 800; font-size: 18px;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(255,140,0,.35);  /* glow orange */
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.play-btn:hover{ transform: scale(1.05); }

/* flèches */
.shorts-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff; color: #111;
  font-size: 22px; display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.shorts-nav.prev{ left: 8px; }
.shorts-nav.next{ right: 8px; }
.shorts-nav:disabled{ opacity:.4; cursor: default; }

/* dots */
.shorts-dots{
  display:flex; justify-content:center; gap:.5rem;
  margin: 1rem 0 0;
}
.shorts-dots button{
  width:8px; height:8px; border-radius:50%;
  background:#cfd3d9; border:none; cursor:pointer;
  transition: transform .2s ease, background .2s ease;
}
.shorts-dots button[aria-current="true"]{
  background:#2B1C08; transform: scale(1.25);
}

/* responsive */
@media (max-width: 1200px){ .short-card{ height: 400px; } }
@media (max-width: 992px) { .short-card{ height: 360px; } }
@media (max-width: 768px) {
  .shorts-viewport{ padding: 0 2.75rem; }
  .short-card{ height: 340px; }
}
@media (max-width: 520px)  {
  .shorts-viewport{ padding: 0 2.25rem; }
  .short-card{ height: 320px; }
}

/* — Option : masquer l'ancien grid si tu l'as encore dans la page — */
/* .video-grid { display: none !important; } */

/* === Popup Cookies en modal central === */
.cookie-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* fond assombri */
  display: none;                  /* cachée par défaut */
  align-items: center;            /* centrage vertical */
  justify-content: center;        /* centrage horizontal */
  z-index: 9999;
  animation: fadeIn 0.4s ease;
}

.cookie-popup.show {
  display: flex;                  /* affichée uniquement avec la classe .show */
}

.cookie-popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  text-align: center;
  animation: slideUp 0.4s ease;
}

.cookie-popup p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.cookie-btn.accept {
  background: #FF8C00;   /* orange Updy */
  color: #fff;
}
.cookie-btn.accept:hover { background: #E07B00; }

.cookie-btn.decline {
  background: #f0f0f0;
  color: #333;
}
.cookie-btn.decline:hover { background: #ddd; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
/* === Services 2×2 modernisés === */
/* grille 2 colonnes (2 en haut, 2 en bas) */
.services-grid--2x2{
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* responsive : 2 colonnes en tablette, 1 en mobile */
@media (max-width: 820px){
  .services-grid--2x2{ grid-template-columns: 1fr; }
}

/* carte */
.service-card{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  padding: 1.4rem 1.4rem 1.1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.09);
}

/* header de carte */
.service-head{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .8rem;
  align-items: center;
  margin-bottom: .6rem;
}
.service-glyph{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,140,0,.1);
  color: var(--primary);
  display: grid; place-items: center;
}
.service-card h3{
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin: 0;
}
.service-sub{
  grid-column: 1 / -1;
  margin: .35rem 0 0.2rem;
  color: var(--text-dark);
  opacity: .9;
}

/* lignes d'icônes plateformes */
.brand-icons{
  display: flex; align-items: center; gap: .65rem;
  margin: .6rem 0 .4rem;
}
.brand-icons .ico{ width: 22px; height: 22px; display: inline-grid; place-items: center; }
.brand-icons .ico svg{ width: 100%; height: 100%; display: block; }

/* couleurs de plateformes */
.brand-icons .facebook { color:#1877F2; }
.brand-icons .instagram{ color:#E1306C; }
.brand-icons .tiktok   { color:#111; }
.brand-icons .linkedin { color:#0A66C2; }
.brand-icons .gads     { color:#34A853; }

/* liste points */
.service-points{
  margin: .4rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-light);
}
.service-points li{
  margin: .38rem 0;
}

/* CTA */
.service-cta{ margin-top: .2rem; }
.service-cta .btn-primary{ border-radius: 999px; padding: .6rem 1.1rem; }

/* Uniformiser la hauteur des cartes services */
.services-grid--2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Chaque carte devient un conteneur flex vertical */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* espace le contenu et le bouton */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  padding: 1.4rem 1.4rem 1.1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

/* Contenu principal prend la place restante */
.service-card > *:not(.service-cta) {
  flex-grow: 0;
}
.service-cta {
  margin-top: auto; /* pousse le bouton vers le bas */
  display: flex;
  justify-content: flex-start;
}
.service-cta .btn-primary {
  border-radius: 999px;
  padding: .6rem 1.1rem;
  white-space: nowrap;
}
.shorts-viewport { position: relative; }
.shorts-nav { z-index: 10; }
.play-btn   { z-index: 10; pointer-events: auto; }
.short-card video { pointer-events: auto; }
.short-card { cursor: pointer; }
.carousel { cursor: grab; }
.carousel:active { cursor: grabbing; }

/* ===== Fix CTA (pas de soulignement) ===== */
.cs-btn,
.cs-btn--primary,
.btn-primary,
.btn-cta {
  text-decoration: none !important;
}

.cs-btn:hover,
.cs-btn--primary:hover,
.btn-primary:hover,
.btn-cta:hover {
  text-decoration: none !important;
}
