/*
Theme Name: chromepinball-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: chromepinball-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&display=swap");

/* Cacher la barre Google Translate en haut */
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
body > .skiptranslate {
  display: none !important;
}

/* Empêcher Google de pousser le body vers le bas */
body {
  top: 0 !important;
}

/* Cacher le widget Google “Fourni par Traduction” */
.goog-te-gadget,
.goog-te-gadget-simple {
  display: none !important;
}



html,
body {
  height: 100%;
}

/* conteneur global du thème */
#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* zone entre header et footer */
.site-content {
  flex: 1 0 auto;
}

/* le footer se colle en bas quand le contenu est court */
.footer {
  margin-top: auto;
}

/* ----------------------------- */
/* RESET & BODY */
/* ----------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: #fdfcff;
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  overflow-x: hidden;
}

/* ----------------------------- */
/* HEADER + NAV – LOGO CENTRÉ + BURGER À GAUCHE */
/* ----------------------------- */
.banner {
  height: 80px;
  background-color: #000;
  width: 100%;
  z-index: 1100; /* au-dessus du flou, sous le menu par défaut */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  position: relative;
}

/* PLUS DE RIGHT-SECTION : juste left + center */
.left-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 2100;
}

/* Toujours OK : position à droite */
.right-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  z-index: 2100;
}

.language-selector {
  position: relative;
  display: inline-block;
}

.center-section {
  position: relative;
  left: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.main-logo {
  height: 80px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

/* Reset des boutons pour éviter le fond blanc moche */
.burger-icon,
.close-btn {
  background: none;
  border: none;
  padding: 0;
}

/* Bouton burger (les 3 barres) */
.burger-icon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* Les 3 barres du burger */
.burger-icon span {
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
  transform-origin: center;
  margin: 3px 0;
}

/* Effet léger au survol */
.burger-icon:hover span {
  background-color: #ddd;
}

/* 🔁 Animation burger → croix (par défaut) */
.burger-icon.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger-icon.is-open span:nth-child(2) {
  opacity: 0;
}
.burger-icon.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 🖥️ Sur DESKTOP : on annule l’animation → le burger reste 3 barres même avec .is-open */
@media (min-width: 1025px) {
  .burger-icon.is-open span:nth-child(1) {
    transform: none;
  }
  .burger-icon.is-open span:nth-child(2) {
    opacity: 1;
  }
  .burger-icon.is-open span:nth-child(3) {
    transform: none;
  }
}

/* ----------------------------- */
/* RESPONSIVE / BANNER */
/* ----------------------------- */
@media (max-width: 1024px) {
  .banner {
    height: 70px;
    z-index: 1300; /* 📱 en mobile/tablette : la bannière passe AU-DESSUS du menu */
  }

  .main-logo {
    height: 60px;
  }
}

/* TABLETTE & MOBILE LARGE */
@media (max-width: 768px) {
  .banner {
    height: 95px;        /* au lieu de 70px */
  }
  .main-logo {
    height: 70px;        /* au lieu de 55px */
  }
}

/* MOBILE PETIT */
@media (max-width: 480px) {
  .banner {
    height: 100px;       /* encore un peu plus haut si tu veux */
  }
  .banner-container {
    padding: 0 20px;
  }
  .main-logo {
    height: 75px;        /* surtout pas plus petit que la tablette */
  }
}


/* ============= */
/* MENU SLIDE-IN */
/* ============= */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: 300px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1200; /* sous la bannière en mobile (z=1300), au-dessus du contenu */
  padding: 50px 20px 20px;
  backdrop-filter: blur(10px);
}
.menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Liens du menu */
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.menu ul li {
  padding: 18px 0;
  text-align: left;
  border-bottom: 1px solid #333;
}
.menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
  transition: color 0.3s ease;
}
.menu ul li a:hover {
  color: #ccc;
}

/* Bouton de fermeture (croix) – base */
.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  line-height: 1;
  transform-origin: 50% 50%;
  transition: transform 0.4s ease;
}

/* Hover global léger (mobile/tablette) */
.close-btn:hover {
  transform: scale(1.05);
}

/* 🖥️ Croix plus grosse + petite rotation sur DESKTOP uniquement */
@media (min-width: 1025px) {
  .close-btn {
    font-size: 30px;
    width: 34px;
    height: 34px;
  }

  .close-btn:hover {
    transform: rotate(90deg);
  }
}

/* 📱 Sur mobile / tablette : PAS de croix en haut à droite, on n’utilise QUE le burger animé */
@media (max-width: 1024px) {
  .close-btn {
    display: none;
  }
}

/* Logo Chrome Pinball dans le menu */
.menu-logo {
  display: none;
}

/* VERSION MOBILE / TABLETTE – FULLSCREEN + GROS BOUTONS */
@media (max-width: 1024px) {
  .menu {
    transform: translateY(-100%);
    left: 0;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 24px 48px; /* plus de marge autour */
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(14px);
  }
  .menu.active {
    transform: translateY(0);
  }

  .menu-logo {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto 48px auto;
  }

  .menu ul {
    width: 100%;
    max-width: 360px; /* colonne plus large */
  }

  .menu ul li:first-child {
    border-top: none;
  }

  .menu ul li {
    text-align: center;
    padding: 22px 0;           /* plus de hauteur par item */
    border-bottom: 1px solid #333;
  }

  .menu ul li a {
    font-size: 20px;           /* texte plus gros */
    line-height: 1.7;
    letter-spacing: 0.08em;    /* effet “menu” lisible */
    text-transform: uppercase;
  }
}

/* Animations menu */
.menu.active .menu-logo {
  animation: fadeInDown 0.6s ease forwards;
}
.menu.active ul li {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------- */
/* FOOTER */
/* ----------------------------- */
.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-family: monospace;
  font-size: 0.8rem;
  padding: 20px 10px;
  position: relative;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-link {
  color: #ccc;
  text-decoration: none;
  position: relative;
  display: inline-block;
  font-family: monospace;
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}
.footer-link:hover::after {
  width: 100%;
}

/* ----------------------------- */
/* BLUR / WRAPPER */
/* ----------------------------- */
.main-wrapper {
  transition: filter 0.4s ease-in-out;
}
.main-wrapper.blurred {
  filter: blur(10px);
  pointer-events: none;
  position: relative;
}
.main-wrapper.blurred::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
/* ----------------------------- */
/* HERO HOME – ALIEN + FOND MATRIX */
/* ----------------------------- */

.hero-matrix {
  position: relative;
  width: 100%;
  /* hero plus compact */
  min-height: clamp(360px, 52vh, 460px);  /* ← AVANT: clamp(420px, 60vh, 540px) */
  background: #000;
  overflow: hidden;

  /* une seule variable pour tous les espacements verticaux */
  --hero-gap: 20px;
}

/* Canvas Matrix : couvre juste le hero */
.hero-matrix #matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Légère vignette pour que l'alien + CTA ressortent bien */
.hero-matrix::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.42) 55%,
      rgba(0, 0, 0, 0.85) 100%
    );
  z-index: 1;
}

/* Contenu centré dans le hero */
.hero-main-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* padding haut uniquement, le bas est géré par le texte */
  padding-top: var(--hero-gap);
  padding-bottom: 0;
  padding-inline: 20px;

  /* même espacement entre tête / bouton / texte */
  gap: var(--hero-gap);
}

/* Alien – très gros, pas stretch */
.hero-matrix .alien-container {
  width: clamp(360px, 34vw, 560px);  /* tête plus grande */
  max-width: 100%;
}

.hero-matrix .alien-body {
  width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------- */
/* BOUTON "ACHETER" – VOLTAGE VERT */
/* ----------------------------- */

/* wrapper du bouton */
.hero-matrix .voltage-button {
  position: relative;
  display: inline-block;
  /* on remonte légèrement le bouton pour compenser le PNG */
  margin-top: -10px;  /* ajuste à -8 / -12px si besoin */
}

/* lien .alien-button = le "button" de Uiverse, mais version Chrome Pinball */
.hero-matrix .voltage-button .alien-button {
  color: #ffffff;
  background: #03130a; /* vert très sombre */
  padding: 1rem 3rem;
  border-radius: 5rem;
  border: 5px solid #19ff7e; /* vert néon flipper */
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 2;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(25, 255, 126, 0.7);
  transition: background 0.2s ease-out, transform 0.12s ease-out;
  overflow: hidden; /* pour l’éclair qui traverse le bouton */
}

/* “éclair” principal qui traverse le bouton */
.hero-matrix .voltage-button .alien-button::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -150%;
  width: 80%;
  height: 340%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.95) 45%,
    #19ff7e 55%,
    transparent 100%
  );
  opacity: 0;
  transform: skewX(-25deg);
  pointer-events: none;
}

/* glow électrique autour du bouton */
.hero-matrix .voltage-button .alien-button::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow:
    0 0 18px rgba(25, 255, 126, 0.0),
    0 0 32px rgba(25, 255, 126, 0.0);
  opacity: 0;
  pointer-events: none;
}

/* HOVER = éclair + glow + léger “shake” */
.hero-matrix .voltage-button .alien-button:hover {
  cursor: pointer;
  background: #062415;
  transform: translateY(-2px);
  animation: electric-shake 0.18s linear infinite;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(25, 255, 126, 0.95);
}

/* on lance les éclairs et le glow au hover */
.hero-matrix .voltage-button .alien-button:hover::before {
  opacity: 1;
  animation: bolt-sweep 0.40s linear infinite;
}

.hero-matrix .voltage-button .alien-button:hover::after {
  opacity: 1;
  animation: electric-glow 0.55s ease-out infinite;
}

/* affichage de l’animation Uiverse (SVG + dots) au hover */
.hero-matrix .voltage-button .alien-button:hover + svg,
.hero-matrix .voltage-button .alien-button:hover + svg + .dots {
  opacity: 1;
}

.hero-matrix .voltage-button svg {
  display: block;
  position: absolute;
  top: -0.75em;
  left: -0.25em;
  width: calc(100% + 0.5em);
  height: calc(100% + 1.5em);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  transition-delay: 0.1s;
  z-index: 1;
}

.hero-matrix .voltage-button svg path {
  stroke-dasharray: 100;
  filter: url("#glow");
}

/* lignes d’électricité – version néon vert */
.hero-matrix .voltage-button svg path.line-1 {
  stroke: #e8ff9a;                /* jaune/vert pâle */
  stroke-dashoffset: 0;
  animation: spark-1 3s linear infinite;
}

.hero-matrix .voltage-button svg path.line-2 {
  stroke: #6bffbe;                /* vert turquoise */
  stroke-dashoffset: 500;
  animation: spark-2 3s linear infinite;
}

/* petits points lumineux */
.hero-matrix .voltage-button .dots {
  opacity: 0;
  transition: opacity 0.3s;
  transition-delay: 0.4s;
}

.hero-matrix .voltage-button .dots .dot {
  width: 1rem;
  height: 1rem;
  background: #19ff7e;            /* vert néon */
  border-radius: 100%;
  position: absolute;
  opacity: 0;
}

/* mêmes positions/animations que l’original Uiverse */
.hero-matrix .voltage-button .dots .dot-1 {
  top: 0;
  left: 20%;
  animation: fly-up 3s linear infinite;
}

.hero-matrix .voltage-button .dots .dot-2 {
  top: 0;
  left: 55%;
  animation: fly-up 3s linear infinite;
  animation-delay: 0.5s;
}

.hero-matrix .voltage-button .dots .dot-3 {
  top: 0;
  left: 80%;
  animation: fly-up 3s linear infinite;
  animation-delay: 1s;
}

.hero-matrix .voltage-button .dots .dot-4 {
  bottom: 0;
  left: 30%;
  animation: fly-down 3s linear infinite;
  animation-delay: 2.5s;
}

.hero-matrix .voltage-button .dots .dot-5 {
  bottom: 0;
  left: 65%;
  animation: fly-down 3s linear infinite;
  animation-delay: 1.5s;
}

/* ⚡ KEYFRAMES – ÉCLAIR & GLOW PERSO */
@keyframes bolt-sweep {
  0% {
    transform: translateX(-120%) skewX(-25deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(160%) skewX(-25deg);
    opacity: 0;
  }
}

@keyframes electric-glow {
  0% {
    box-shadow:
      0 0 0 rgba(25, 255, 126, 0.0),
      0 0 0 rgba(25, 255, 126, 0.0);
  }
  40% {
    box-shadow:
      0 0 18px rgba(25, 255, 126, 0.9),
      0 0 36px rgba(25, 255, 126, 0.95);
  }
  100% {
    box-shadow:
      0 0 10px rgba(25, 255, 126, 0.4),
      0 0 20px rgba(25, 255, 126, 0.5);
  }
}

/* petit jitter pour faire “électricité” */
@keyframes electric-shake {
  0%   { transform: translate(0px, -2px); }
  25%  { transform: translate(1px, -3px); }
  50%  { transform: translate(-1px, -1px); }
  75%  { transform: translate(1px, -2px); }
  100% { transform: translate(0px, -2px); }
}

/* 🔁 KEYFRAMES UIVERSE D'ORIGINE (adaptés) */
@keyframes spark-1 {
  to {
    stroke-dashoffset: -1000;
  }
}

@keyframes spark-2 {
  to {
    stroke-dashoffset: -500;
  }
}

@keyframes fly-up {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.2);
  }
  5% {
    opacity: 1;
    transform: translateY(-1.5rem) scale(0.4);
  }
  10%, 100% {
    opacity: 0;
    transform: translateY(-3rem) scale(0.2);
  }
}

@keyframes fly-down {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.2);
  }
  5% {
    opacity: 1;
    transform: translateY(1.5rem) scale(0.4);
  }
  10%, 100% {
    opacity: 0;
    transform: translateY(3rem) scale(0.2);
  }
}

/* Texte “stock limité…” */
.hero-matrix .hero-subcopy {
  margin-top: 0;
  margin-bottom: var(--hero-gap);   /* même padding bas que le haut */
  max-width: 620px;
  font-family: "Anonymous Pro", monospace;
  font-size: 13px;                  /* texte un peu plus gros */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d0ffd8;
  opacity: 0.95;
  text-align: center;               /* 🔹 centré */
}

/* ----------------------------- */
/* RESPONSIVE – MOBILE & TABLETTE */
/* ----------------------------- */

/* 📱 Mobile petit */
@media (max-width: 480px) {
  .hero-matrix {
    min-height: 520px;   /* un peu plus haut pour respirer */
    --hero-gap: 16px;    /* espaces légèrement réduits */
  }

  .hero-main-content {
    padding-top: var(--hero-gap);
    padding-inline: 14px;
    gap: var(--hero-gap);
  }

  .hero-matrix .alien-container {
    width: 78vw;         /* tête bien présente mais pas coupée */
  }

  .hero-matrix .voltage-button {
    margin-top: -6px;    /* un poil moins remonté sur petit écran */
  }

  .hero-matrix .voltage-button .alien-button {
    padding: 0.9rem 2.6rem;
    font-size: 16px;
    letter-spacing: 0.13em;
  }

  .hero-matrix .hero-subcopy {
    font-size: 11px;
    letter-spacing: 0.13em;
    margin-bottom: var(--hero-gap);
  }
}

/* 📲 Mobile large / Tablette portrait */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-matrix {
    min-height: 520px;
    --hero-gap: 18px;
  }

  .hero-main-content {
    padding-top: var(--hero-gap);
    padding-inline: 20px;
    gap: var(--hero-gap);
  }

  .hero-matrix .alien-container {
    width: 60vw;
  }

  .hero-matrix .voltage-button {
    margin-top: -8px;
  }

  .hero-matrix .voltage-button .alien-button {
    font-size: 17px;
  }

  .hero-matrix .hero-subcopy {
    font-size: 12px;
    margin-bottom: var(--hero-gap);
  }
}

/* ----------------------------- */
/* GRILLE DES CARTES PRODUITS */
/* ----------------------------- */
.product-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  padding: 60px 10px;
  justify-content: center;
  justify-items: center;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .product-card-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .product-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .product-card-wrapper {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: #f4f4f4;
  border-radius: 20px;
  padding: 24px;
  height: 330px;
  width: 100%;
  max-width: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* AJOUTS : hover + main */
  cursor: pointer;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    background-color 0.18s ease-out;
  will-change: transform;
}

/* AJOUT : léger effet hover “GAFA” */
.product-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  background-color: #f7f7f7;
}

.product-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 25px;
}

/* --------- carrousel d’origine (laisse comme ça) --------- */

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;      /* centre verticalement */
  justify-content: center;  /* centre horizontalement */
  padding-bottom: 55px;     /* laisse la place en bas pour le texte */
  box-sizing: border-box;
}

.carousel-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%); /* au milieu de la carte, un peu au-dessus du texte */
  max-width: 90%;
  max-height: 65%;         /* évite qu’elle touche le texte */
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border-radius: 20px;
}

.carousel-img.active {
  opacity: 1;
}

.carousel-indicators {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  z-index: 10;
}
.carousel-indicators.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.carousel-indicators .dot {
  flex: 1;
  margin: 0 5px;
  height: 6px;
  background-color: rgba(186, 186, 186, 0.5);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #000;
}
.progress-bar.animate {
  animation: progress 2s linear forwards;
}
@keyframes progress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  padding: 0;
  z-index: 10;
}
.product-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.product-info p {
  font-size: 13px;
  color: #555;
  margin: 4px 0 0;
}

.product-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 85%;
  z-index: 5;
}
.product-overlay h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.product-overlay p {
  margin: 3px 0 0;
  font-size: 12px;
  color: #444;
}
/* ----------------------------- */
/* PODUCT DETAIL PAGE */
/* ----------------------------- */
.product-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 80px;
  max-width: 1400px;
  margin: 25px auto;
  padding: 0 60px;
}

.product-images {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding-left: 25px;
}

.product-img {
  width: 100%;
  height: auto;
}

.product-details {
  position: relative;
}

.sticky-info {
  position: sticky;
  top: 30px;
}

.sticky-info h2 {
  font-size: 40px;
  margin-bottom: 10px;
  margin-top: -5px;
}

.sticky-info p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Accordion */
.accordion {
  border-top: 1px solid #ddd;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-header {
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  user-select: none;
  transition: color 0.3s ease;
}

.accordion-header::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion.open .accordion-header::after {
  content: "−";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.5s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.accordion.open .accordion-content {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

/* Liens dans l'accordéon (Contact, mail, tel...) */
.product-page-wrapper .accordion-content a,
.product-page-wrapper .accordion-content a:link,
.product-page-wrapper .accordion-content a:visited {
  text-decoration: none;
  color: #7b0099;          /* même violet que la page Contact */
  font-weight: 700;
  transition: color 0.2s ease;
}

.product-page-wrapper .accordion-content a:hover {
  color: #a000d0;          /* violet plus clair au hover */
}

/* ----------------------------- */
/* RESPONSIVE PRODUCT PAGE */
/* ----------------------------- */
@media (max-width: 1024px) {
  .product-page-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 30px;
  }

  .product-images {
    flex-direction: row;
    overflow-x: auto;
    padding-left: 0;
    gap: 15px;
  }

  .sticky-info h2 {
    font-size: 32px;
  }

  .sticky-info p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .product-page-wrapper {
    padding: 0 20px;
    gap: 30px;
  }

  .sticky-info h2 {
    font-size: 28px;
  }

  .sticky-info p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .product-page-wrapper {
    padding: 0 15px;
    gap: 20px;
  }

  .sticky-info h2 {
    font-size: 24px;
  }

  .sticky-info p {
    font-size: 13px;
  }

  .product-images {
    flex-direction: column;
    gap: 10px;
  }
}

/* ----------------------------- */
/* CONTACT + ABOUT (bloc central) – PAGE CONTACT */
/* ----------------------------- */


.mentions-container.contact-page {
  max-width: 750px;
  margin: 80px auto 60px;
  padding: 40px 30px 50px;
  background-color: #ffffff00;
  font-weight: 400;
  text-align: center;
}

.mentions-container.contact-page h1 {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 25px;
}

.mentions-container.contact-page p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* lien mail en violet propre */
.mentions-container.contact-page p a {
  text-decoration: none;
  color: #7b0099;
  font-weight: 700;
  transition: color 0.3s ease;
}

.mentions-container.contact-page p a:hover {
  color: #a000d0;
}

/* CONTACT + ABOUT – TABLETTE */
@media (max-width: 1024px) {
  .mentions-container.contact-page {
    max-width: 650px;
    margin: 70px auto 50px;
    padding: 35px 25px 45px;
  }

  .mentions-container.contact-page h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .mentions-container.contact-page p {
    font-size: 15px;
  }
}

/* CONTACT + ABOUT – MOBILE */
@media (max-width: 768px) {
  .mentions-container.contact-page {
    max-width: 100%;
    margin: 60px auto 40px;
    padding: 30px 20px 70px;
  }

  .mentions-container.contact-page h1 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .mentions-container.contact-page p {
    font-size: 14px;
  }
}

/* CONTACT + ABOUT – PETIT MOBILE */
@media (max-width: 480px) {
  .mentions-container.contact-page {
    margin: 50px auto 30px;
    padding: 25px 18px 60px;
  }

  .mentions-container.contact-page h1 {
    font-size: 20px;
  }

  .mentions-container.contact-page p {
    font-size: 13px;
  }
}

/* CONTACT – BLOC TÉLÉPHONE (page Contact texte) */
.mentions-container.contact-page .contact-phones {
  margin-top: 30px;
}

.mentions-container.contact-page .phone-title {
  margin-bottom: 6px;
  font-size: 16px;
}

.mentions-container.contact-page .phone-line {
  margin: 0;
  line-height: 1.6;
}

/* Numéros : même style violet que l'email */
.mentions-container.contact-page .phone-number {
  white-space: nowrap;
  text-decoration: none;
  color: #7b0099;
  font-weight: 700;
}

.mentions-container.contact-page .phone-number:hover {
  color: #a000d0;
}

/* TABLETTE & MOBILE */
@media (max-width: 768px) {
  .mentions-container.contact-page .phone-title {
    font-size: 15px;
  }

  .mentions-container.contact-page .phone-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .mentions-container.contact-page .phone-separator {
    display: none;
  }

  .mentions-container.contact-page .phone-number {
    font-size: 14px;
  }
}

/* PETIT MOBILE */
@media (max-width: 480px) {
  .mentions-container.contact-page .phone-title {
    font-size: 14px;
  }

  .mentions-container.contact-page .phone-number {
    font-size: 13px;
  }
}


/* ----------------------------- */
/* Section Guide Installation */
/* ----------------------------- */
.guide-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #ffffff;
  color: #000;
}

.guide-title {
  font-family: "Anonymous Pro", monospace;
  font-size: 28px;
  margin-bottom: 70px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #000;
}

.guide-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.guide-card {
  background: #fff;
  border: 3px solid #000;
  border-radius: 0;
  padding: 15px 25px;
  min-width: 280px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-family: "Anonymous Pro", monospace;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: all 0.3s ease;
}

.guide-card:hover {
  background: #000;
  color: #fff;
  transform: translateY(-4px) scale(1.02);
}

.guide-icon {
  display: none;
}

/*Notice*/
.timeline-container {
  padding: 25px 15px;
  background: #fff;
  font-family: "Anonymous Pro", monospace;
  color: #000;
}

.timeline-title {
  font-weight: 700;
  font-size: 1.4rem;
  color: #000;
  text-align: center;
  margin: 40px auto 80px;
  position: relative;
  display: block;
  padding: 4px 16px;
  background: #ffffff;
  border: 2px solid #000;
  letter-spacing: 0.1em;
  user-select: none;
  text-transform: uppercase;
  width: fit-content;
  cursor: default;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding: 0;
}

/* ================================================= */
/* STYLE PAR DÉFAUT (MOBILE / TABLETTE)              */
/* Les éléments sont initialement alignés à gauche.  */
/* ================================================= */

/* La ligne est toujours à gauche en mode mobile/tablette */
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #000;
  top: 0;
  bottom: 0;
  left: 20px; /* Position de la ligne à gauche */
  transform: none;
}

.timeline-item {
  padding: 40px 0;
  position: relative;
  width: 100%; /* L'item prend toute la largeur */
  left: 0 !important; /* Force l'alignement à gauche */
  padding-left: 50px; /* Espace pour la ligne centrale */
  padding-right: 15px;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 0;
}

.timeline-content {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  box-shadow: 4px 4px 0 #000; /* Ombre mobile */
  border: 2px solid #000;
  width: 100%; /* Le contenu prend toute la largeur disponible */
  transition: transform 0.3s ease;
  transform: none !important; /* Retire tout décalage */
}

.timeline-content h2 {
  font-size: 18px; /* Taille mobile/tablette */
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 13px;
  margin-bottom: 10px;
}

.timeline-content img {
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 8px;
  border: 2px solid #000;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.timeline-content img:hover {
  transform: scale(1.02);
}

/* ================================================= */
/* MODE DEUX COLONNES (DESKTOP)                      */
/* Activation uniquement pour les écrans > 1490px    */
/* ================================================= */

@media screen and (min-width: 1490px) {
  
  /* Ligne centrale de la Timeline (Mode Desktop) */
  .timeline::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    padding-left: 0;
    padding-right: 0;
    width: 50%; /* Passe en deux colonnes */
  }

  /* Items Impairs (Gauche) */
  .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 25px; /* Marge pour l'espace central */
  }

  /* Items Pairs (Droite) */
  .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 25px; /* Marge pour l'espace central */
  }
  
  .timeline-content {
    box-shadow: 6px 6px 0 #000; /* Réactive l'ombre plus grande */
    width: 90%; /* Laisse de l'espace pour le décalage */
  }

  /* Décalage des contenus */
  .timeline-content.left {
    transform: translateX(-115px);
  }

  .timeline-content.right {
    transform: translateX(115px);
  }
  
  .timeline-content h2 {
    font-size: 20px; /* Réactive la taille Desktop */
  }

  .timeline-content p {
    font-size: 14px; /* Réactive la taille Desktop */
  }
}

/* ============================================== */
/* STYLES OVERLAY / IMAGE POPUP                   */
/* ============================================== */

.image-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-popup-overlay img {
  max-width: 95%;
  max-height: 95%;
  border: 3px solid #fff;
  border-radius: 6px;
  cursor: zoom-out;
}

.image-popup-close {
  position: absolute;
  top: 3px;
  right: 20px;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  transition: transform 0.3s ease;
}

.image-popup-close:hover {
  transform: rotate(90deg);
}

/* Ajustement de la croix de fermeture pour les petits écrans */
@media screen and (max-width: 600px) {
  .image-popup-close {
    top: 15px;
    right: 15px;
    font-size: 28px;
  }
}

/* ----------------------------- */
/* PRIVACY POLICY / MENTIONS */
/* ----------------------------- */
.mentions-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 20px 80px;
  background-color: #ffffff00;
  font-weight: 400;
}

.mentions-container h1 {
  text-align: center;
  font-size: 26px;
  margin-top: 60px;
  margin-bottom: 20px;
}

.mentions-container .date {
  text-align: center;
  font-size: 14px;
  margin-bottom: 40px;
}

.mentions-container h2 {
  font-size: 20px;
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: left;
}

.mentions-container p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: left;
}

/* ----------------------------- */
/* RÉALISATIONS – WRAPPER & TITRE */
/* ----------------------------- */

.showcase-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 40px 70px;   /* 40px en haut = espace sous la bannière */
  text-align: center;
}

/* Titre réal – encadré, marge neutre (gérée par padding/row-gap) */
.minimal-title {
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #000;
  background: #fff;
  border: 2px solid #000;
  padding: 10px 22px;
  display: inline-block;
  margin: 0 auto;  /* plus de gros margin en desktop */
  text-align: center;
}


/* ----------------------------- */
/* LAYOUT GLOBAL */
/* ----------------------------- */

/* Par défaut (mobile / tablette) : bloc classique
   → ordre DOM = Avis (en haut) > Titre > Grille */
.realizations-layout {
  max-width: 1300px;
  margin: 0 auto 70px;
  padding: 0;
}

/* Colonne d’avis – styles inchangés */
.reviews-column {
  text-align: left;
}

/* Titre avis */
.reviews-title {
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

/* Liste d’avis verticale (desktop, mais base = colonne) */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Carte avis colonne droite */
.review-card {
  background: #f5f5f5;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 12px 14px 10px;
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.25);
  font-family: "Anonymous Pro", monospace;
  text-align: left;
  position: relative;
}

/* tag + étoiles */
.review-card .review-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #000;
  background: #fff;
  margin-bottom: 4px;
}

.review-card .review-stars {
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.review-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

/* Dots du carrousel mobile (cachés par défaut) */
.reviews-dots {
  display: none;
  margin-top: 10px;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.reviews-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ccc;
  display: inline-block;
}

.reviews-dots .dot.active {
  background: #000;
}

/* ----------------------------- */
/* GRILLE DES RÉALISATIONS */
/* ----------------------------- */

/* Masonry : 2 colonnes, effet Pinterest */
.gallery-grid {
  column-count: 2;
  column-gap: 40px;
  position: relative;
  z-index: 1;
}

/* Card = wrap autour légende + image */
/* Card = wrap autour légende + image */
/* Card = wrap autour légende + image */
.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 50px; /* espace vertical entre les cards */
  background: #f5f5f5;
  border: 1px solid #000;
  border-radius: 18px;
  padding: 14px;
  text-align: left;
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  z-index: 0;
  overflow: hidden; /* pour que le contenu reste dans la card */
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}


/* IMAGE PRINCIPALE : taille naturelle, la card épouse l'image */
.gallery-item img:first-of-type {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}


/* Les autres images : uniquement pour la lightbox */
.gallery-item img:not(:first-of-type) {
  display: none;
}

/* Au survol : seule l'image grossit légèrement */
.gallery-item:hover img:first-of-type {
  transform: scale(1.01); /* léger agrandissement */
}



/* Légende en mode panonceau dans le carré */
.gallery-caption {
  display: block; /* au lieu de inline-block */
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #000;
  background: #fdfcff;
  margin: 0 auto 12px; /* centre horizontalement + marge en bas */
  text-align: center;  /* texte centré dans le panonceau */
}


/* ANIMATION AU SCROLL */
/* → uniquement pour .reveal-on-scroll, plus pour .gallery-item */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------- */
/* LIGHTBOX PLEIN ÉCRAN */
/* ----------------------------- */

.lightbox {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;       /* plein écran en largeur */
  height: 100vh;      /* fallback */
  height: 100dvh;     /* plein écran “device” sur iOS/Chrome mobile */
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 11000;     /* au-dessus de tout (blur, popup, etc.) */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  max-height: 82dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* nav/croix inchangés si tu veux, tu peux juste les laisser
   comme tu les avais déjà, ou les garder dessous : */

/* Empêcher le scroll derrière la lightbox */
body.lightbox-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

@media (max-width: 600px) {
  .lightbox-img {
    max-width: 96vw;
    max-height: 80vh;
    max-height: 80dvh;
  }

  #prev-btn { left: 16px; }
  #next-btn { right: 16px; }
}

.lightbox-close {
  position: absolute;
  top: 3px;
  right: 20px;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(45deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 2001;
  transform: translateY(-50%);
  padding: 0 10px;
}

#prev-btn { left: 30px; }
#next-btn { right: 30px; }

.lightbox-counter,
#lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
}

body.lightbox-open {
  overflow: hidden;
}

/* ----------------------------- */
/* RESPONSIVE RÉALISATIONS + AVIS */
/* ----------------------------- */

/* Desktop : grille 2 colonnes avec le titre au-dessus */
@media (min-width: 901px) {
  .showcase-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(320px, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "title title"
      "gallery reviews";
    column-gap: 60px;
    row-gap: 40px;   /* = même valeur que le padding-top */
    align-items: flex-start;
  }

  .minimal-title {
    grid-area: title;
    justify-self: center;
  }

  .realizations-layout {
    grid-area: gallery;
    margin: 0;
  }

  .reviews-column {
    grid-area: reviews;
    position: sticky;
    top: 110px; /* sous la bannière */
  }
}


/* MOBILE / TABLETTE – avis en carrousel plein écran en haut */
@media (max-width: 900px) {
  .showcase-wrapper {
    display: block;
    padding: 0 20px 60px;
  }

  /* Avis prennent toute la largeur tout en haut */
  .reviews-column {
    position: static;
    margin: 30px 0 20px;
  }

  .reviews-title {
    margin-bottom: 12px;
  }

  /* Bande horizontale scrollable */
  .reviews-list {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .review-card {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    box-sizing: border-box;
  }

  .reviews-list .review-card:first-child::after {
    content: "Swipe →";
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 10px;
    opacity: 0.45;
  }

  .reviews-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }

  /* 1 seule colonne en mobile */
  .gallery-grid {
    column-count: 1;
    column-gap: 0;
    margin-top: 30px;
  }

  .realizations-layout {
    margin-top: 20px;
  }
}

/* ----------------------------- */
/* PAGE MAIN CONTACT – HERO ALIEN */
/* ----------------------------- */

.contact-hero {
  min-height: calc(100vh - 80px); /* 80px ≈ hauteur du header */
  padding: 120px 20px 80px;
  background: radial-gradient(circle at top, #0b1615 0%, #000 45%, #020608 100%);
  color: #fdfcff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.contact-hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Alien – bien gros et centré (FORCÉ) */
.contact-hero .contact-alien img {
  display: block;
  width: clamp(280px, 34vw, 360px) !important;
  max-width: none !important;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95));
}

/* Bloc qui contient les 2 cartes */
.contact-hero .contact-phones {
  width: 100%;
  max-width: 1050px;
  padding: 26px 26px 30px;
  border-radius: 26px;
  border: 1px solid rgba(120, 255, 190, 0.35);
  background:
    radial-gradient(circle at top left, rgba(25, 255, 126, 0.17), transparent 55%),
    radial-gradient(circle at bottom right, rgba(16, 230, 170, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.93);
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(25, 255, 126, 0.25);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Chaque carte numéro */
.contact-hero .phone-card {
  border-radius: 20px;
  padding: 20px 20px 18px;
  background: linear-gradient(145deg, rgba(7, 24, 17, 0.98), rgba(3, 12, 7, 0.97));
  border: 1px solid rgba(121, 255, 199, 0.4);
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(25, 255, 126, 0.20);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-hero .phone-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(25, 255, 126, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.contact-hero .phone-card * {
  position: relative;
  z-index: 1;
}

/* Label au-dessus du numéro */
.contact-hero .phone-label {
  font-family: "Anonymous Pro", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8ffd1;
  margin-bottom: 8px;
}

/* Numéro bien gros (UNIQUEMENT sur main-contact) */
.contact-hero .phone-number {
  font-family: "Anonymous Pro", monospace;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fdfcff;
  margin-bottom: 18px;
}

/* Actions (Appeler / SMS) */
.contact-hero .phone-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Style de base des boutons */
.contact-hero .phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: "Anonymous Pro", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #19ff7e;
  transition:
    background 0.2s ease-out,
    color 0.2s ease-out,
    transform 0.1s ease-out,
    box-shadow 0.1s ease-out;
}

/* Bouton principal : Appeler */
.contact-hero .phone-btn-primary {
  background: #03130a;
  color: #ffffff;
  box-shadow:
    0 0 14px rgba(25, 255, 126, 0.6),
    0 10px 24px rgba(0, 0, 0, 0.8);
}

.contact-hero .phone-btn-primary:hover {
  background: #19ff7e;
  color: #000;
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(25, 255, 126, 1),
    0 14px 30px rgba(0, 0, 0, 0.9);
}

/* Bouton secondaire : SMS */
.contact-hero .phone-btn-ghost {
  background: transparent;
  color: #a8ffd1;
  border-color: rgba(129, 255, 181, 0.7);
}

.contact-hero .phone-btn-ghost:hover {
  background: rgba(10, 40, 25, 0.9);
  color: #ffffff;
  transform: translateY(-1px);
}

/* RESPONSIVE main-contact */
@media (max-width: 900px) {
  .contact-hero .contact-phones {
    grid-template-columns: 1fr;
    max-width: 700px;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    padding: 80px 14px 60px;
  }

  .contact-hero .contact-alien img {
    width: 140px !important;
    max-width: 50vw !important;
    margin-bottom: 20px;
  }

  .contact-hero .contact-phones {
    padding: 20px 16px 24px;
  }

  .contact-hero .phone-card {
    padding: 18px 16px 16px;
  }

  .contact-hero .phone-number {
    font-size: 18px;
    letter-spacing: 0.14em;
  }

  .contact-hero .phone-btn {
    width: 100%;
    max-width: 220px;
  }
}

/* Neutraliser le look "lien bleu souligné" sur la page main-contact seulement */
.contact-hero a,
.contact-hero a:link,
.contact-hero a:visited {
  text-decoration: none;
  color: inherit;
}
