/* ===== Home Ogura (scopé) ===== */
.og-home {
  --font-head: "Raleway", sans-serif;
  --font-body: "Lato", sans-serif;
  --blue: #136cbd;
  --blue2: #1c6ebb;
  --text: #555;
  --text-strong: #333;
}

.og-home,
.og-home p,
.og-home li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
}

.og-home .og-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ===== 1) HERO — YouTube bg / MP4 + parallax ===== */
/* hauteurs identiques au slider d'origine: 600 / 500 / 400 / 270 */
.og-home .og-video-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
}

@media (max-width: 1240px) {
  .og-home .og-video-banner {
    height: 500px;
  }
}

@media (max-width: 1024px) {
  .og-home .og-video-banner {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .og-home .og-video-banner {
    height: 270px;
  }
}

.og-home .og-yt-holder,
.og-home .og-video-banner iframe,
.og-home .og-video-banner .og-video {
  position: absolute;
  inset: -20% 0 -20% 0; /* couvre et dépasse pour crop 4:3 → fill */
  width: 100%;
  height: 140%;
  object-fit: cover;
  pointer-events: none; /* laisse scroller/clicker par-dessus */
}

.og-home .og-hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* ===== 2) INTRO ===== */

.og-home .og-intro {
  padding: 60px 0 40px;
  background: #fff;
}

/* bloc titre + sous-titre */
.og-home .og-intro-header {
  text-align: center;
  margin-bottom: 40px;
}

.og-home .og-intro h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 34px;
  line-height: 32px;
  color: var(--blue);
  margin: 0 0 20px;
}

.og-home .og-intro-subtitle {
  color: #565656;
  font-size: 20px;
  line-height: 28px;
  max-width: 720px;
  margin: 10px auto 0;
}

/* grille 2 colonnes pour image + texte */
.og-home .og-intro .og-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  column-gap: 40px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .og-home .og-intro .og-grid-2 {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
}

/* Colonne gauche (image + légende) */
.og-home .og-intro-media img {
  display: block;
  max-width: 100%;
  height: auto;
}

.og-home .og-intro-media .caption {
  position: static;
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #565656;
  text-align: center;
}

/* Colonne droite (texte + bouton) */
.og-home .og-intro-text {
  font-size: 16px;
  line-height: 24px;
  color: #565656;
}

.og-home .og-intro-text p {
  margin: 0 0 16px;
}

/* Headline dans le WYSIWYG : span.og-intro-headline */
.og-home .og-intro-text .og-intro-headline {
  display: block;
  font-size: 18px;
  line-height: 24px;
  color: #136cbd;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: none;
}

/* Liste avec bullets gif comme l’original */
.og-home .og-intro-text ul {
  margin: 0 0 20px 20px;
  padding: 0;
  list-style-image: url('/wp-content/uploads/ogubullet.gif'); /* adapte le chemin si besoin */
  list-style-position: outside;
}

.og-home .og-intro-text li {
  margin: 0 0 6px 0;
}

/* Bouton "Learn More" / CTA intro */
.og-home .og-intro-text p:last-of-type {
  text-align: center;
}

.og-home .og-intro-text .og-btn,
.og-home .og-hero-cta {
  display: inline-block;
  border: 2px solid #444;
  border-radius: 3px;
  padding: 0 26px;
  height: 46px;
  line-height: 42px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  margin-top: 30px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.og-home .og-intro-text .og-btn:hover,
.og-home .og-intro-text .og-btn:focus {
  background-color: #444;
  color: #fff;
}

/* ===== 3) CATÉGORIES – slider continu (4 visibles) ===== */

.og-home .og-cats {
  background: #ebebeb;
  padding: 40px 0 50px;
}

/* Titre & sous-titre */
.og-home .og-cats .og-section-head {
  text-align: center;
  margin-bottom: 30px;
}

.og-home .og-cats .og-section-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000; /* titre noir */
  margin: 0;
}

.og-home .og-cats .og-section-head p {
  font-weight: 300;
  font-size: 22px;
  line-height: 24px;
  color: rgb(119, 119, 199); /* sous-titre */
  margin: 10px 0 0;
}

/* Slider wrapper : masque ce qui dépasse, mais laisse la place aux dots */
.og-home .og-cats-slider {
  position: relative;
  overflow: hidden;        /* on masque les cartes qui débordent */
  padding-bottom: 20px;    /* espace pour les dots, évite qu’ils soient tronqués */
}

/* Piste = toutes les cartes alignées */
.og-home .og-cats-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

/* Carte produit */
.og-home .og-cat-card {
  flex: 0 0 auto;
  width: 270px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

/* Image + overlay + plus */
.og-home .og-cat-image {
  position: relative;
  overflow: hidden;
}

.og-home .og-cat-image img {
  display: block;
  width: 100%;
  height: auto;
}

.og-home .og-cat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.og-home .og-cat-plus {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  line-height: 36px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.og-home .og-cat-card:hover .og-cat-overlay,
.og-home .og-cat-card:focus .og-cat-overlay {
  opacity: 1;
}

/* Bloc "portfolio-desc" */
.og-home .og-cat-desc {
  background-color: #333333;
  padding: 15px 5px 10px;
  margin-top: 0;
}

.og-home .og-cat-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #e7e7e7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dots */
.og-home .og-cats-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 5px;
}

.og-home .og-cats-dot {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.og-home .og-cats-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgb(142, 171, 209); /* inactif */
  transition: background 0.2s ease, transform 0.2s ease;
}

.og-home .og-cats-dot.is-active span,
.og-home .og-cats-dot:hover span,
.og-home .og-cats-dot:focus span {
  background: rgb(51, 108, 183); /* actif + hover */
  transform: scale(1.2);
}

/* ===== 4) OVERVIEW (2 colonnes 82.5% / 17.5%) ===== */
.og-home .og-overview {
  padding: 50px 0;
  background: #fff;
}

.og-home .og-overview .og-wrap {
  display: grid;
/*   grid-template-columns: 82.5% 17.5%;
 */  gap: 0;
}

@media (max-width: 1024px) {
  .og-home .og-overview .og-wrap {
    grid-template-columns: 1fr;
  }
}

.og-home .og-overview-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}

.og-home .og-overview p {
  font-weight: 300;
  font-size: 24px;
  line-height: 24px;
  color: #777;
  margin: 10px 0 0;
}

@media (max-width: 500px) {
  .og-home .og-overview p {
    font-size: 20px;
  }
}

/* vignette vidéo (si tu gardes le poster cliquable) */
.og-home .og-overview-thumb {
  position: relative;
  display: block;
}

.og-home .og-overview-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.og-home .og-overview-thumb .og-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 10px;
  border-radius: 3px;
  font-weight: 700;
}

/* Colonne droite : 2 CTAs à la façon d'origine */
.og-home .og-cta {
  display: block;
  text-decoration: none;
  color: #fff;
  margin: 0 0 30px;
}

.og-home .og-cta .box {
  background: #000;
  padding: 20px 10px;
  text-align: center;
}

.og-home .og-cta.ask .box {
  background: var(--blue2);
  min-height: 205px;
}

.og-home .og-cta.ask h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 54px;
  line-height: 24px;
  color: #fff;
  margin: 0 0 30px;
}

.og-home .og-cta.quick .box {
  background: #000;
  min-height: 199px;
}

.og-home .og-cta.quick h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
  margin: 0 0 30px;
}

/* ===== 5) CLAIM (parallax fixe) ===== */
.og-home .og-claim {
  position: relative;
  height: 450px;
  background: center top / cover no-repeat var(--claim, #000);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.og-home .og-claim h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 2px #000;
  margin: 0;
}

.og-home .og-claim img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}

/* === Ajustements OVERVIEW === */

/* Titre + sous-titre centrés */
.og-home .og-overview-head {
  text-align: center;
  margin-bottom: 25px;
}

.og-home .og-overview-subtitle {
  font-weight: 300;
  font-size: 24px;
  line-height: 24px;
  color: #777;
  margin: 10px 0 0;
}

/* Espacement entre sous-titre et vidéo */
.og-home .og-overview-video {
  margin-top: 30px;
}

/* Ratio vidéo 16:9 responsive */
.og-home .og-video-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16/9 */
  overflow: hidden;
}

.og-home .og-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Colonne droite : on aligne les CTA en colonne */
.og-home .og-overview-side {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .og-home .og-overview-side {
    padding-left: 0;
    margin-top: 30px;
  }
}

/* Police des deux blocs : même taille (18px) */
.og-home .og-cta.ask h3,
.og-home .og-cta.quick h3 {
  font-size: 18px;
  line-height: 22px;
}

/* Pictogramme sous le libellé */
.og-home .og-cta-icon {
  margin-top: -10px; /* petit effet "collé" comme l'original */
}

.og-home .og-cta-icon img {
  height: 50px;
  width: auto;
  display: inline-block;
}

/* Centrer verticalement le contenu dans chaque bloc CTA */
.og-home .og-cta .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Centrer verticalement la colonne de droite par rapport au bloc vidéo */
.og-home .og-overview-side {
  align-self: center; /* centre la colonne dans la ligne de la grille */
}

/* On garde déjà : alignement en colonne + gap */
.og-home .og-overview-side {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Fix overlay + signe "+" sur les cartes catégories */
.og-home .og-cat-image {
  position: relative;
}

.og-home .og-cat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1; /* passe au-dessus de l'image */
}

.og-home .og-cat-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 22px;
  font-weight: 700;
  color: #fff; /* important : rend le "+" bien visible */
  line-height: 1;
}

.og-home .og-cats-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px; /* au lieu de 5px → plus d’air sous les cartes */
}
/* Mobile : une seule carte visible dans le viewport */
@media (max-width: 768px) {
  .og-home .og-cats-track {
    gap: 16px;
  }

  .og-home .og-cat-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto; /* centre la carte dans le slider */
  }

  .og-home .og-cats-dots {
    margin-top: 25px; /* on laisse un peu d’air sous la carte */
  }
}
