/* =========================================================
   🎨 PALETTE COULEUR – Variables globales
   ========================================================= */
:root {
  --color-text-dark: #0b3c5d;
  --color-blue-light: #8eaddb;
  --color-shrimp: #d3654f;
  --color-background: #fefefe;
  --color-cord: #1f558c;
}
:root {
  --container-max: 1000px;  /* ou 900px */
}
.site-container {
  max-width: var(--container-max);
  /* … */
}
/* =========================================================
   🔤 TYPOGRAPHIE & BASE GLOBALE
   ========================================================= */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: var(--color-background);
  color: var(--color-text-dark);
}
html,
body {
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  margin: 0;
}
h1.site-title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-text-dark);
}
h1,
h2 {
  padding: 0.5rem 0;
}
h1.page-title {
  font-size: 2rem;
  color: var(--color-text-dark);
}
h2 {
  font-size: 1.8rem;
  color: var(--color-blue-light);
  font-weight: normal;
}
p {
  margin: 0 0 1rem;
}
.section-header {
  margin-bottom: 1rem;
}
.text-block time {
  font-style: normal;
  font-weight: 500;
}
/* =========================================================
   🔘 BOUTONS & ACTIONS
   ========================================================= */
.button {
  display: inline-block;
  background-color: var(--color-shrimp);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

/* =========================================================
   🖼️ IMAGES & MEDIA
   ========================================================= */
img {
  max-width: 100%;
  height: auto;
}
video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* =========================================================
   🌐 HEADER & NAVIGATION
   ========================================================= */
.navbar {
  max-height: 100px;
  overflow: hidden;
  background-color: var(--color-background);
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* légère ombre portée */
  position: sticky;
  top: 0;
  z-index: 10000;
  padding: 0;
  margin-bottom: 1rem; /* ajuste la valeur à ton goût */
}
/* make brand + nav + burger sit in one row */
.nav-container {
  max-width: 1200px;
  height: 100%;
  align-items: center; /* vertical centering */
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  position: relative;
  z-index: 10000;
}
/* Brand sizing */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#img-logo {
  width: 140px; /* tweak smaller for harmony */
  height: auto;
}
.site-title {
  font-size: 1.4rem; /* matches logo height */
  margin: 0;
  color: var(--color-text-dark);
}
/* Desktop nav */
#nav-links {
  display: flex;
  align-items: center;
  background-color: var(--color-background);
  border: none;
  padding: 0;
  box-shadow: none;
}
#nav-links a {
  position: relative; /* fait du <a> le conteneur de l’underline */
  white-space: nowrap; /* empêche “About us” de passer à la ligne */
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: 500;
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
}
#nav-links .active {
  font-weight: bold;
}
/* effet souligné au hover */
#nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-shrimp);
  transition: width 0.25s ease-in-out;
}
#nav-links a:hover::after {
  background: var(--color-shrimp);
}
#nav-links a.active::after {
  background: var(--color-blue-light);
}
#nav-links a:hover::after,
#nav-links a.active::after {
  width: 100%;
}
#nav-links.show {
  display: flex;
}
.burger {
  display: none;
  position: relative;
  color: var(--color-text-dark);
  font-size: 1.8rem;
  cursor: pointer;
  margin-left: auto;
  border: none;
  background: none;
  z-index: 1000;
}
/* style du select langue */
#lang-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  transition: border-color 0.2s ease;
}
#lang-select:focus {
  outline: none;
  border-color: var(--color-shrimp);
}


/* =========================================================
   🧱 LAYOUT PRINCIPAL
   ========================================================= */
#flex-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.title-center {
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center; /* centre verticalement si la div a une hauteur */
  gap: 0.5rem;
  padding: 1rem 1rem;
  text-align: center; /* au cas où, pour le contenu textuel */
}
.site-container {
  margin: 0 auto;
  padding: 0 1rem;
  flex: 1;
  box-sizing: border-box;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* =========================================================
   🌊 HERO BANNER / SECTION
   ========================================================= */
/* règle par défaut (fallback) */
.hero-banner {
  position: relative;
  width: 100%;
  left: auto;
  transform: none;
  height: 400px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.page-title {
  text-align: center;
  margin-top: 1rem;
  padding: 1rem 1rem;
}

/* page d’accueil */
.index-page .hero-banner {
  background-image: url("Images/easdale-island.JPG");
  background-position: center 40% ;
}

/* page produits */
.products-page .hero-banner {
  background-image: url("Images/easdale-island.JPG");
  background-position: center 40% ;
}

/* page gallery */
.gallery-page .hero-banner {
  background-image: url("Images/easdale-island.JPG");
  background-position: center 40% ;
}

/* page locals - will have to change name here to CLIENTS */
.locals-page .hero-banner {
  background-image: url("Images/easdale-island.JPG");
  background-position: center 40% ;
}

/* page contact */
.contact-page .hero-banner {
  background-image: url("Images/view-from-cuan-ferry\ \(1\).jpg");
 /* background-position: center top;*/
}
/* page thanks */
.thank-you-page .hero-banner {
  background-image: url("Images/view-from-cuan-ferry\ \(1\).jpg");
 /* background-position: center top;*/
}

/* =========================================================
   🧩 CONTENT BLOCKS (About, Local Customers, Gallery)
   ========================================================= */

.content-block {
  display: flex;
  align-items: center;
  gap: 2rem;

  /* fix the typo: explicit units */
  padding: 1rem 1rem;          

  /* subtle card-style treatment */
  background: var(--color-surface, #fff);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  /* optional accent bar on left */
  border-left: 4px solid var(--color-primary, #1f558c);

  /* keep your bottom divider if you like, but softened */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);

  /* stacking context for pseudo-elements if needed */
  position: relative;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* if you prefer a separator only between blocks, replace border-bottom with: */
.content-block + .content-block {
  margin-top: 1.5rem;
}

.content-block.reverse {
  flex-direction: row-reverse;
}
.content-block .text-block,
.content-block .media-block {
  flex: 1;
}
/*body.index-page .site-container {
  max-width: 900px;
}*/
.media-block a {
  color: var(--color-shrimp);
  text-decoration: none;
  font-weight: 500;
}
.media-block a:hover {
  text-decoration: underline;
}


/* =========================================================
   🦐 CLIENT PAGE - DIVIDER
   ========================================================= */


.section-divider {
  width: 100%;
  margin: 0;
  line-height: 0;
  background: none;
  border: none;
  display: block;
  position: relative;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/*---WAVES----*/
/*:root {
  --wave-color: #4fb3e7;
  --wave-speed: 8s;
  --wave-height: 100px;
}

.wave-divider {
  position: relative;
  width: 100%;
  height: var(--wave-height);
  overflow: hidden;
}

.wave {
  width: 200%; /* pour contenir 2 séquences (on montre 1, on translate vers l'autre) 
  height: 100%;
  display: block;
}

.wave-path {
  fill: var(--wave-color);
  animation: waveLoop var(--wave-speed) linear infinite;
  transform: translateX(0);
}

/* 💫 Translate exactement d’une séquence visible 
@keyframes waveLoop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-600px); } */



/* =========================================================
   🦐 PRODUCTS GRID
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* plus étroit que 240px */
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem; /* un peu d’air autour */
}
.product-card {
  background-color: rgb(197, 231, 255);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card .img-container {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-card .img-container img {
  object-fit: cover;
}
.product-card .card-body {
  padding: 1rem;
  text-align: center;
}
.product-card .card-body h3 {
  font-size: 1.2rem;
  color: var(--color-text-dark);
}

/* ── 1. Stronger shadow + hover lift for photos ─────────────────────── */
.product-image img {
  /* bump up the depth */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.product-image img:hover {
  /* subtle scale and brighten on hover */
  transform: scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ── 2. Fade-in‐up animation for product blocks ────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* apply to each section */
.product-section {
  opacity: 0;                                      /* start hidden */
  animation: fadeInUp 0.6s ease-out forwards;      /* reveal on load */
  /* optional: stagger multiple sections automatically */
}
.product-section:nth-of-type(1) { animation-delay: 0.2s; }
.product-section:nth-of-type(2) { animation-delay: 0.4s; }
.product-section:nth-of-type(3) { animation-delay: 0.6s; }


/* ================================
   🦐 PRODUCT PAGE LAYOUT
   ================================ */

.product-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
   min-height: 10px; /* ← pour forcer une certaine hauteur */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1.5rem;
}

.product-intro.reverse {
  grid-template-columns: 1fr auto; /* Inversion pour Razor Clams si besoin */
}

.product-image {
  max-width: 350px;
}

.product-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-overview::after {
  content: '';
  display: block;
  flex-grow: 1;
}

.product-section .product-title a {
  text-decoration: none;
  border-bottom: none;
}
.section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
}

/* ================================
   ✨ Product-page Card-Style Override
   ================================ */
.products-page .product-section {
  /* 1. Card layout */
  background: var(--color-surface, #fff);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--color-primary, #0077cc);

  /* 2. Spacing & flex */
  display: flex;
  flex-direction: column; /* vertical pour conserver l’ordre header → intro → détails */
  gap: 1.5rem;
  padding: 1.5rem;

  /* 3. Transition hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* pour tout calque intérieur */
  margin-bottom: 2rem; /* espace entre les cartes */
}

/* Hover lift */
.products-page .product-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dernier bloc sans marge inférieure */
.products-page .product-section:last-of-type {
  margin-bottom: 0;
}

/* On retire l’ancien sélecteur de bord-bas si besoin */
.products-page .product-section:not(:last-of-type) {
  border-bottom: none !important;
}


/* ================================
   📱 RESPONSIVE PRODUCTS
   ================================ */
@media (max-width: 768px) {
  .product-intro,
  .product-intro.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-image {
    margin: 0 auto;
  }

  .product-overview {
    margin-top: 1.5rem;
  }
}



/* =========================================================
   ✨ PRODUCT PAGES – gallery, spacing & separators
   ========================================================= */

/* 1. Give each product block plenty of breathing room + subtle divider */
.product-section {
  padding: 1rem 1rem;
  position: relative;
}
.product-section:not(:last-of-type) {
  border-bottom: 2px solid var(--color-blue-light);
}

/* 2. Tuck the header/title under some space */
.product-section > header {
  margin-bottom: 2rem;
}

/* 3. Turn your media-gallery into a neat grid */
.product-section .media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.product-section .media-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 4. Center & constrain all text sections for readability */
.product-section .product-overview,
.product-section .product-details,
.product-section .product-usage {
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

/* 5. Give your definition lists some breathing room */
.product-section dl.characteristics {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 2rem;
  margin-bottom: 2rem;
}

/* 6. Style the “How to Enjoy” list */
.product-section .product-usage ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* 7. Footer button alignment */
.product-section footer {
  text-align: center;
  margin-top: 2rem;
}

/* also style the lone header figure */
.product-section > header figure {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 1.5rem;
  max-width: 400px;   /* match your others */
  margin-left: auto;  /* center it */
  margin-right: auto;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  /* Stack media items full width */
  .product-section .media-gallery {
    grid-template-columns: 1fr;
  }
  /* Narrow text sections */
  .product-section .product-overview,
  .product-section .product-details,
  .product-section .product-usage {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
}



/* =========================================================
   📽️ VIDEO WRAPPER - FOOTER
   ========================================================= */

.hero-video-footer {
  width: 100vw; /* full viewport width */
  position: relative;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  height: auto;
  padding: 0;
}

.hero-video-footer video {
  width: 100%;
  max-height: 500px; /* Hauteur de la video*/
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.video-wrapper video {
  text-align: center;
  padding: 2rem 0;
  max-width: 960px;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.video-wrapper h3 {
  margin-bottom: 1rem;
}

/* =========================================================
   🎥 YouTube Embed – wrapper + overlay + bouton
   ========================================================= */

/* Wrapper responsif + calques */
.iframe-container{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;}
.iframe-container iframe,
#player{position:absolute;inset:0;width:100%;height:100%;}
#click-layer{position:absolute;inset:0;z-index:2;display:block;}

/* Overlay fin de vidéo */
#video-overlay{
  position:absolute;inset:0;display:none;
  background:rgba(0,0,0,.6);color:#fff;font-size:1.5rem;
  align-items:center;justify-content:center;text-align:center;
}
#video-overlay.is-visible{display:flex;}          /* alias .visible */

/* Bouton Play / Pause */
/* --- Play / Pause pill --- */
#toggle-play{
  position:absolute;bottom:0.5rem;left:0.5rem;z-index:3; /* <-- deplacer bouton  > top: 1rem; left: 1rem;*/
  width:2.5rem;height:2.5rem;border-radius:50%;
  backdrop-filter:blur(5px);
  background:rgba(0,0,0,.35);          /* verre fumé */
  display:grid;place-items:center;
  transition:background .25s ease, transform .2s ease;
}
#toggle-play:hover{background:rgba(0,0,0,.55);transform:scale(1.06);}
#toggle-play:active{transform:scale(.94);}

/* ► icône */
#toggle-play::before{
  content:'';display:block;width:0;height:0;
  border-style:solid;border-width:.8rem 0 .8rem 1.25rem;
  border-color:transparent transparent transparent #fff;
  transition:opacity .2s;
}

/* || icône (double barre) */
#toggle-play.is-paused::before{
  width:.4rem;height:1.4rem;border:none;background:#fff;
  box-shadow:.6rem 0 0 #fff;
}



/* =========================================================
   📬 CONTACT FORM PAGE
   ========================================================= */

.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 2rem auto;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}
.contact-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.contact-hero .hero-content {
  position: relative;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}
.contact-page .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}
.contact-form-container {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text-dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}
.form-feedback {
  margin-top: 1rem;
  color: var(--color-shrimp);
  font-weight: 600;
}
.map-container {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  aspect-ratio: 16 / 9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;        /* coins arrondis si tu veux */
  overflow: hidden;             /* masque tout débordement */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-page #contact {
  margin-top: 2rem;  /* crée un gap entre le hero et le bloc de contact */
}





/* =========================================================
   📷 GALLERY PREVIEW
   ========================================================= */
.gallery-cover {
  max-width: 400px;
  margin: 2rem auto;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
/* =========================================================
   📷 GALLERY MOSAIC – REFACTORED
   ========================================================= */

.gallery-section-title {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  text-align: center;
  color: var(--color-text-dark);
  border-bottom: 2px solid var(--color-blue-light);
  display: inline-block;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 2rem 0;
  padding: 0 1rem;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: white;
  transition: transform 0.3s ease;
}

.gallery-grid img,
.gallery-grid video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 6px 6px 0 0;
  transition: transform 0.3s ease;
}

.gallery-grid a {
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery-grid a:hover img,
.gallery-grid a:hover video {
  transform: scale(1.03);
}

.gallery-grid figcaption {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  background: #fefefe;
}

/* 🎥 Badge pour vidéos */
.gallery-grid .video-label::before {
  content: '🎥';
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 1.1rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

/* 🎥 Vidéos verticales (si besoin) */
.gallery-grid .vertical-video video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 600px;
}

@media (max-width: 600px) {
  .gallery-grid .vertical-video video {
    aspect-ratio: auto;
    max-height: none;
  }
}



/* =========================================================
   🪢 FOOTER
   ========================================================= */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background-color: var(--color-cord);
  color: #fff;
  padding: 3rem 1rem 1rem;
  border-top: 8px solid var(--color-cord);
}
.footer-col h4 {
  margin-bottom: 0.5rem;
}
.footer-credits {
  background-color: var(--color-cord);
  text-align: center;
  padding: 0.5rem;
  color: #f1f0ed;
  font-size: 0.8rem;
}
.footer-col a:link,          /* normal link */
.footer-col a:visited {
  /* visited links stay white */
  color: white;
}

.footer-col a:hover,
.footer-col a:active {
  color: var(--color-shrimp);
}
/* =========================================================
   📱 RESPONSIVE DESIGN
   ========================================================= */

/*------------------- ≤ 780px – tablettes et petits écrans---------------------- */
@media (max-width: 780px) {
 .navbar {
  max-height: none;  
  overflow: visible; /* permet au menu absolu de dépasser */
  }
  /* — Nav mobile : burger + menu caché/déroulé */
  #nav-links {
    display: flex;               /* ou block, selon ton besoin */
    flex-direction: column;
    position: absolute;
    top: 100%;                   /* juste sous la navbar */
    right: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    pointer-events: none;        /* empêche les clics quand caché */
    z-index: 10000;
  }
  #nav-links.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: block;
    position: absolute;
    top: 2rem;            /* ajuste selon ton padding */
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--color-text-dark);
    cursor: pointer;
    z-index: 10001;
  }

  .nav-container {
  flex-wrap: nowrap;    /* tout reste sur la même ligne */
    position: relative;   /* ancre les positionnements absolus */
  }
  /* — Layout : empiler les content-blocks */
   .content-block {
    flex-direction: column;
    /* 1/ étirer les enfants sur 100% */
    align-items: stretch;  
    /* 2/ recadrer le texte à gauche */
    text-align: left;      
    gap: 1.5rem;
  }

  /* — Produit : passer en une seule colonne */
  .product-grid {
    grid-template-columns: 1fr;
  }
}
  /* 3/ s’assurer que chaque bloc occupe toute la largeur */
  .content-block .text-block,
  .content-block .media-block {
    width: 100%;
  }

/*-------------------- ≤ 480px – mobiles compacts --------------*/
@media (max-width: 480px) {
  /* — Typo légèrement réduite pour mieux s’adapter */
  body {
    font-size: 0.9rem;
  }

  /* — Logo un peu plus petit pour libérer de la place */
  #img-logo {
    width: 120px;
  }

  /* — Hero : hauteur réduite pour ne pas écraser le contenu */
  .hero-banner {
    height: 250px;
  }

  /* — Centre des titres d’introduction */
  .title-center {
    padding: 0 1rem;
  }

}
