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


/* ============================================
   VARIABLES GLOBALES (COULEURS & SPACING)
   ============================================ */
:root {
  /* Couleurs principales */
  --navy: #061a35;
  --navy-2: #0b2748;
  --gold: #f6c41f;
  --gold-2: #c99420;
  --white: #fff;
  --ink: #12223a;
  --muted: #687386;
  --line: #dfe4ea;
  --bg: #f7f8fa;
  
  /* Effets */
  --shadow: 0 20px 55px rgba(4, 20, 43, 0.12);
  --radius: 24px;
}


/* ============================================
   RESET & STYLES DE BASE
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  background: var(--bg);
  line-height: 1.65;
}

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

a {
  text-decoration: none;
  color: inherit;
}


/* ============================================
   LAYOUT GÉNÉRAL
   ============================================ */
.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

section {
  padding: 105px 0;
}


/* ============================================
   HEADER & NAVIGATION
   ============================================ */

/* Barre supérieure (topbar) */
.topbar {
  background: #031126;
  color: #dfe7f1;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.topbar a {
  color: var(--gold);
  font-weight: 700;
}

/* En-tête sticky avec navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 26, 53, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrap {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo/Marque */
.brand {
  width: 215px;
}

.brand img {
  width: 40%;
  height: 78px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 5px;
}

/* Menu de navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav a {
  padding: 12px 16px;
  border-radius: 999px;
  transition: 0.25s;
}

.nav a:hover,
.nav a.active {
  background: rgba(246, 196, 31, 0.13);
  color: var(--gold);
}

/* Bouton menu mobile */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
}


/* ============================================
   SECTION HERO
   ============================================ */
.hero {
  min-height: calc(100vh - 115px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

/* Arrière-plan du hero avec gradient */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 18, 38, 0.96) 0%, rgba(4, 18, 38, 0.82) 45%, rgba(4, 18, 38, 0.25) 90%),
    url("assets/22.webp") center/cover no-repeat;
  transform: scale(1.03);
}

/* Contenu du hero */
.hero-content {
  position: relative;
  color: #fff;
  padding: 110px 0 85px;
  max-width: 780px;
}

/* Petite phrase au-dessus du titre */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.eyebrow.dark {
  color: var(--gold-2);
}

/* Titres généraux */
h1,
h2,
h3 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: 1.02;
  margin: 0;
}

/* Titre principal du hero */
h1 {
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

h1 span {
  color: var(--gold);
}

/* Paragraphe du hero */
.hero p {
  font-size: 1.06rem;
  max-width: 670px;
  color: #e7edf5;
  margin: 24px 0 30px;
}

/* Boutons du hero */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Bouton générique */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 800;
  transition: 0.25s;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Bouton doré (fond doré, texte foncé) */
.btn-gold {
  background: var(--gold);
  color: #0b1c33;
}

/* Bouton avec bordure (texte blanc, fond transparent) */
.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Tags du hero */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.hero-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(246, 196, 31, 0.35);
  border-radius: 999px;
  background: rgba(3, 17, 38, 0.45);
  font-size: 0.76rem;
}


/* ============================================
   SECTION À PROPOS (About)
   ============================================ */
.about {
  background: #fff;
}

/* Grille deux colonnes */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Titre de section */
.section-copy h2,
.section-heading h2,
.why-copy h2,
.contact-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}

/* Paragraphes de section */
.section-copy p,
.section-heading p {
  color: var(--muted);
  max-width: 650px;
}

/* Statistiques */
.stats {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.stats div {
  flex: 1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfd;
}

.stats strong {
  display: block;
  color: var(--navy);
  font: 800 2.1rem/1 "Barlow Condensed";
}

.stats span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Carte image avec caption */
.image-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.image-card img {
  height: 520px;
  width: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(6, 26, 53, 0.92);
  color: #fff;
  padding: 16px 18px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
}

.image-caption b {
  font: 700 1.5rem/1 "Barlow Condensed";
  text-transform: uppercase;
}

.image-caption span {
  font-size: 0.72rem;
  color: #ccd6e2;
}


/* ============================================
   SECTION EXPERTISE
   ============================================ */
.expertise-section {
  background: #f0f3f6;
}

/* En-tête de section avec titre centré */
.section-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  margin-bottom: 10px;
}

.section-heading p {
  margin: 0 auto;
}

/* Grille d'expertise (3 colonnes) */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Carte d'expertise */
.expertise-card {
  background: #fff;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid #e1e6eb;
  box-shadow: 0 10px 25px rgba(8, 24, 45, 0.04);
  transition: 0.3s;
}

.expertise-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 148, 32, 0.45);
}

/* Icône de la carte d'expertise */
.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.expertise-card h3 {
  font-size: 1.65rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ============================================
   VIDÉOS - DOMAINES D'EXPERTISE
   ============================================ */

/* Conteneur général des vidéos */
.expertise-videos {
  margin-top: 65px;
}

/* Titre de la zone vidéos */
.expertise-videos .section-heading {
  margin-bottom: 38px;
}

/* Grille des 6 vidéos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ============================================
   CARTE VIDÉO
   ============================================ */

.video-card {
  position: relative;
  background: #fff;
  border: 1px solid #e1e6eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(8, 24, 45, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Effet au survol */
.video-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 148, 32, 0.45);
}


/* ============================================
   CONTENEUR DE LA VIDÉO
   ============================================ */

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #031126;
  overflow: hidden;
}

/* Vidéo */
.video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #031126;
}

/* Petit effet visuel au survol */
.video-card:hover .video-wrapper video {
  filter: brightness(1.05);
}


/* ============================================
   INFORMATIONS DE LA CARTE
   ============================================ */

.video-info {
  position: relative;
  padding: 22px 22px 24px;
}

/* Numéro de la vidéo */
.video-info > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

/* Titre */
.video-info h3 {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 9px;
}

/* Description */
.video-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}


/* ============================================
   PETITE LIGNE DÉCORATIVE
   ============================================ */

.video-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 45px;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
}


/* ============================================
   RESPONSIVE TABLETTE
   ============================================ */

@media (max-width: 900px) {

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .expertise-videos {
    margin-top: 55px;
  }

  .video-info {
    padding: 20px;
  }

  .video-info h3 {
    font-size: 1.35rem;
  }
}


/* ============================================
   RESPONSIVE MOBILE
   ============================================ */

@media (max-width: 600px) {

  .expertise-videos {
    margin-top: 45px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-card {
    border-radius: 18px;
  }

  .video-info {
    padding: 20px;
  }

  .video-info h3 {
    font-size: 1.4rem;
  }

  .video-info p {
    font-size: 0.8rem;
  }
}




/* ============================================
   SECTION POURQUOI NOUS (Why)
   ============================================ */
.why {
  background: #fff;
}

/* Grille de la section why */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 65px;
  align-items: center;
}

/* Image de la section why */
.why-image {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.why-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

/* Élément de raison (liste) */
.reason {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.reason span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
}

.reason h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}

.reason p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}


/* ============================================
   SECTION PARTENAIRES
   ============================================ */
.partners {
  background: #f0f3f6;
}

/* Grille de marques (3 colonnes) */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

/* Tuile de marque */
.brand-tile {
  height: 90px;
  background: #fff;
  border: 1px solid #dce2e8;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font: 800 2rem/1 "Barlow Condensed";
  color: #1b2b43;
  box-shadow: 0 8px 20px rgba(8, 24, 45, 0.04);
}

.brand-tile span {
  font-size: 0.48em;
  margin-top: -16px;
}

/* Image des partenaires */
.partners-image {
  border-radius: 22px;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.partners-image img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center;
}


/* ============================================
   SECTION SERVICES
   ============================================ */
.services {
  background: #fff;
}

/* Disposition des services (2 colonnes) */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: stretch;
}

/* Liste de services (côté gauche) */
.service-list {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
}

/* Élément de service */
.service-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.service-item:last-child {
  border-bottom: 0;
}

/* Checkmark du service */
.service-item span {
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: #15a65a;
  border-radius: 50%;
  font-weight: 900;
}

/* Image des services (côté droit) */
.service-image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================
   SECTION CONTACT
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, #061a35, #0b2d50);
  color: #fff;
}

/* Grille du contact (texte + image) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Texte du contact */
.contact-copy h2 {
  color: #fff;
}

.contact-copy > p {
  color: #cdd7e3;
  max-width: 560px;
}

/* Liens de contact */
.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.contact-links a,
.contact-links div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.contact-links b,
.contact-links span {
  display: block;
}

.contact-links b {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.contact-links span {
  font-size: 0.82rem;
  margin-top: 3px;
  color: #f3f6fa;
}

/* Image du contact */
.contact-image {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(246, 196, 31, 0.25);
}

.contact-image img {
  height: 520px;
  width: 100%;
  object-fit: cover;
}


/* ============================================
   SECTION FAQ
   ============================================ */
.faq {
  background: #f0f3f6;
}

/* Conteneur FAQ */
.faq-wrap {
  max-width: 900px;
}

/* Accordéon */
.accordion {
  display: grid;
  gap: 10px;
}

/* Élément details */
details {
  background: #fff;
  border: 1px solid #dfe5eb;
  border-radius: 16px;
  padding: 0 22px;
}

/* Summary (titre cliquable) */
summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 800;
  color: var(--navy);
  font-family: "Barlow Condensed";
  font-size: 1.35rem;
  text-transform: uppercase;
}

summary::-webkit-details-marker {
  display: none;
}

/* Contenu details */
details p {
  color: var(--muted);
  font-size: 0.86rem;
  padding: 0 0 20px;
  margin: 0;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #031126;
  color: #b8c5d5;
  padding-top: 65px;
}

/* Grille du footer (4 colonnes) */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

/* Logo du footer */
.footer-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0px;
  margin-bottom: 14px;
}

/* Titre du footer */
.footer h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

/* Paragraphes et liens du footer */
.footer p,
.footer a {
  font-size: 0.78rem;
  margin: 7px 0;
  display: block;
}

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

/* Bas du footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.72rem;
  color: #8797aa;
}


/* ============================================
   BOUTON "RETOUR EN HAUT"
   ============================================ */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 60;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}


/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

/* Animation de révélation (fade in + slide) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ============================================
   RESPONSIVE - TABLETS (900px)
   ============================================ */
@media (max-width: 900px) {
  /* Menu mobile - caché par défaut, visible avec .open */
  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    background: #061a35;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    text-align: center;
  }

  /* Affiche le bouton menu */
  .menu-toggle {
    display: block;
  }

  /* Grilles à 1 colonne */
  .split,
  .why-grid,
  .services-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Grille expertise à 2 colonnes */
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hauteur image why */
  .why-image img {
    height: 500px;
  }

  /* Footer à 2 colonnes */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ============================================
   RESPONSIVE - MOBILE (600px)
   ============================================ */
@media (max-width: 600px) {
  /* Container mobile */
  .container {
    width: min(100% - 28px, 1160px);
  }

  /* Topbar ajustée */
  .topbar-inner {
    font-size: 0.66rem;
  }

  .topbar-inner span {
    display: none;
  }

  /* Logo header mobile */
  .brand {
    width: 175px;
  }

  .brand img {
    height: 58px;
  }

  /* Hauteur nav mobile */
  .nav-wrap {
    height: 72px;
  }

  .nav {
    top: 72px;
  }

  /* Hero mobile */
  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 80px 0;
  }

  h1 {
    font-size: 3.2rem;
  }

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

  /* Sections mobile */
  .section {
    padding: 75px 0;
  }

  /* Stats en grille 2x2 */
  .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* Image card mobile */
  .image-card img {
    height: 380px;
  }

  /* Toutes grilles à 1 colonne */
  .expertise-grid,
  .brand-grid,
  .contact-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Image why mobile */
  .why-image img {
    height: 400px;
  }

  /* Image partenaires mobile */
  .partners-image img {
    height: 200px;
  }

  /* Image contact mobile */
  .contact-image img {
    height: 380px;
  }
}

.social-links p {
    margin: 10px 0;
}

.social-links a {
    color: #FFD700; /* Jaune or */
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.social-links i {
    width: 25px;
    margin-right: 8px;
    font-size: 18px;
}

.social-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px #FFD700;
}
