

:root{
  /* Palette ETN (depuis la plaquette PDF) */
  --etn-dark: #2B3224;
  --etn-green: #046111;
  --etn-lime: #C2EC5B;
  --etn-olive: #546D32;
  --etn-gold: #9B720F;
  --etn-offwhite: #DFEEDD;

  /* Mapping existant (pour limiter les changements dans le CSS) */
  --accent: var(--etn-green);
  --accent2: var(--etn-dark);
  --card: #ffffff;
  --muted: #66707a;

  /* Helpers */
  --accent-hover: #034E0E;
  --accent-soft: rgba(4, 97, 17, 0.18);
  --lime-soft: rgba(194, 236, 91, 0.25);

  /* ===== Zone 2 (bleu ciel) ===== */
    --zone2-blue: #2C7BE5;
    --zone2-blue-soft: rgba(44, 123, 229, 0.15);
    --zone2-blue-hover: #1A5FCC;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: var(--etn-offwhite);
}

/* Layout */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Topbar */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e1e4ee;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    height: 64px;                 /* même hauteur que le menu */
    width: 160px;                 /* à ajuster selon ton logo */
    background: url("../img/logo.png") center / contain no-repeat;
    display: block;
}


.main-nav a {
    margin-left: 1.2rem;
    text-decoration: none;
    font-size: 0.9rem;
    color: #4b5563;
}

.main-nav a:hover {
    color: var(--accent);
}

/* Hero classique (non utilisé dans la version ETN mais on garde au cas où) */

.hero {
    padding: 4rem 0 3rem;
    background: radial-gradient(circle at top left, rgba(194,236,91,.20), var(--etn-offwhite) 55%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.hero p {
    margin-bottom: 1rem;
}

.hero-actions {
    margin: 1.5rem 0 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-note {
    font-size: 0.9rem;
    color: #e5e7eb;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-placeholder {
    width: 260px;
    height: 260px;
    border-radius: 999px;
    border: 2px dashed #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #6b7280;
    background: #ffffff80;
}

/* Sections */

.section {
    padding: 4rem 0;
    background: var(--etn-offwhite);
}

.section-alt {
    background: #ffffff;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--etn-gold);
}

.section-intro {
    max-width: 640px;
    margin: 0 auto 2rem auto;   /* centre horizontalement */
    text-align: center;         /* centre le texte */
    color: #4b5563;
}

/* Grid helpers */

.grid-2 {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    gap: 1.5rem;
}

/* NOUVEAU : grid-4 pour le processus */
.grid-4 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Cards */

.cards-3 {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .cards-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    color: #111827;
}

.card p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Highlight box */

.highlight-box {
    background: rgba(223,238,221,.75);
    border-radius: 0.75rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(194,236,91,.55);
}

.highlight-box h3 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.highlight-box ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.highlight-box li {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

/* Chips (si tu les réutilises un jour) */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.chip {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
}

/* Valeurs */

.value p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Partenaires (si tu ajoutes une section plus tard) */

.partners {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.partner-logo {
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
    border: 1px dashed #d1d5db;
    font-size: 0.9rem;
    background: #ffffff;
}

/* Témoignages */

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: #374151;
}

/* Contact */

.contact-list {
    list-style: none;
    margin-top: 1rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
}

.contact-form {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Inputs, textarea, select, file */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.45rem 0.6rem;
    font: inherit;
    background: #ffffff;
}

.form-group input[type="file"] {
    padding: 0.3rem 0;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

/* Boutons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent-soft);
}

.btn-outline:hover {
    background: var(--lime-soft);
}

/* Footer */

.footer {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 1.3rem 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-links a {
    margin-left: 0.9rem;
    text-decoration: none;
    color: #6b7280;
}

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

/* Utils */

.center {
    text-align: center;
    margin-top: 1.5rem;
}

/* ########### IMAGE PLEIN ECRAN ***********/

/* HERO PLEIN ÉCRAN */

.hero-full {
    position: relative;
    height: 100vh; /* plein écran */
    width: 100%;
    background: url("../img/ban-etn-proprete-small.jpg") center/cover no-repeat; /* remplace par ta vraie image */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* assombrit pour lisibilité */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 0 20px;
}

.hero-full h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-full p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

/* Boutons pour le hero (écrase la version "hero" classique) */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Processus 4 étapes */

.process-steps {
    margin-top: 1.5rem;
}

.process-step {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

/* Section IA */

.ia-message-demo {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background: rgba(223,238,221,.85);
    border: 1px solid rgba(194,236,91,.60);
    font-size: 0.95rem;
    color: #0f172a;
}

/* Responsive */

@media (max-width: 767px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-image {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .main-nav {
        display: none; /* tu pourras mettre un menu burger plus tard */
    }

    .topbar-inner {
        justify-content: space-between;
    }

    .hero-full h1 {
        font-size: 1.9rem;
    }
    .hero-full p {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}


/* WIDGET ASSISTANT ETN */

#etn-assistant-widget {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 200;
    font-family: inherit;
}

/* Bouton flottant */
#etn-assistant-toggle {
    border-radius: 999px;
    border: none;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

#etn-assistant-toggle:hover {
    background: var(--accent-hover);
}

/* Panel */
#etn-assistant-panel {
    position: absolute;
    bottom: 52px;
    right: 0;
    width: 320px;
    max-height: 480px;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
    border: 1px solid #e5e7eb;
    display: none;

    /* scroll propre */
    overflow-y: auto;
    overflow-x: hidden;
}


.etn-assistant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
}

#etn-assistant-close {
    cursor: pointer;
    font-size: 1.1rem;
}

/* Corps */
.etn-assistant-body {
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.etn-assistant-welcome {
    margin-bottom: 0.4rem;
}

/* Quick buttons */
.etn-assistant-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.etn-assistant-quick button {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    background: #f9fafb;
    cursor: pointer;
}

.etn-assistant-quick button:hover {
    background: var(--lime-soft);
}

/* Zone messages */
.etn-assistant-chat {
    flex: 1;
    border-radius: 0.6rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;

    /* très important : scroll interne */
    /*overflow-y: auto;*/
    box-sizing: border-box;

    /* marge interne pour que le dernier message ne soit JAMAIS collé */
    padding: 0.8rem 0.8rem 2.8rem;  /* gros padding-bottom */

    /* tu peux monter un peu si besoin */
    max-height: 300px;
    
}




.etn-msg {
    margin: 0.35rem 0; /* déjà présent mais tu peux augmenter */
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;

}

.etn-msg-user {
    background: var(--lime-soft);
    align-self: flex-end;
}

.etn-msg-bot {
    background: #ffffff;
}

/* Input */
.etn-assistant-input {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.4rem;

    margin-bottom: 40px;
}

#etn-assistant-text {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
}

#etn-assistant-send {
    border-radius: 999px;
    border: none;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

#etn-assistant-send:hover {
    background: var(--accent-hover);
}


/* Flash messages (PHP) */
.etn-flash{
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
}
.etn-flash-success{
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.etn-flash-error{
  border-color: #fecaca;
  background: #fef2f2;
}


/* ===== Burger + Menu Mobile ===== */
.burger{
  display:none;
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.08);
  border-radius:12px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  padding:10px;
  gap:6px;
}
.burger span{
  display:block;
  height:2px;
  width:100%;
  background:#fff;
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}

/* Drawer */
.mobile-menu{
  background: rgba(43, 50, 36, 0.92);
  backdrop-filter: blur(8px);
  border-top:1px solid rgba(255,255,255,0.12);
}
.mobile-nav{
  display:flex;
  flex-direction:column;
  padding:12px 0;
}
.mobile-nav a{
  color:#fff;
  text-decoration:none;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,0.10);
}
.mobile-nav a:hover{
  background:rgba(255,255,255,0.07);
}

/* État ouvert */
.topbar.is-open .mobile-menu{ display:block; }
.topbar.is-open .burger span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.topbar.is-open .burger span:nth-child(2){ opacity:0; }
.topbar.is-open .burger span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* Mobile rules : on montre burger, on cache nav desktop */
@media (max-width: 900px){
  .burger{ display:flex; }
  .main-nav{ display:none; }
  .mobile-menu{ display:none; } /* sera affiché via .is-open */
}


.about-photo {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
}


.about-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
}


.certifications {
    margin-top: auto;          /* 🔥 clé du positionnement */
    padding-top: 1.2rem;       /* espace avec la liste */
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}


.certifications img {
    height: 100px;
    width: auto;
    background:none;
    padding: 6px;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}


.highlight-box {
    display: flex;
    flex-direction: column;
}


/* HERO */
.hero-full{
  position:relative;
  min-height:86vh;
  display:flex;
  align-items:center;
  background: url("../img/ban-etn-proprete-small.jpg") center/cover no-repeat;
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.35));
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:2rem;
  align-items:center;
  padding: 5rem 0;
}
.hero-left h1{
  color:#fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height:1.05;
  margin: .75rem 0 1.25rem;
}
.hero-sub{
  display:block;
  font-weight:500;
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity:.92;
  margin-top:.5rem;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:.35rem .75rem;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-weight:600;
  letter-spacing:.2px;
}
.hero-badge-dot{
  width:10px; height:10px;
  border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(4,97,17,.25);
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:.75rem; }
.hero-note{ color:rgba(255,255,255,.85); margin-top:1.25rem; font-weight:600; }

.hero-right{
  text-align:center;
}
.hero-photo{
  width:min(320px, 70vw);
  aspect-ratio:1/1;
  border-radius:24px;
  background: url("../img/emilie.jpg") center/cover no-repeat, rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  margin: 0 auto;
}
.hero-photo-caption{
  color:rgba(255,255,255,.85);
  margin-top:.75rem;
  font-weight:600;
}

/* Section lead & CTA */
.section-lead{ max-width: 70ch; color: var(--muted); margin: .5rem 0 1.5rem; }
.section-cta{ margin-top: 1.5rem; }

/* Products & rentals */
.products-grid,
.rental-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:1rem;
}
.product-card,
.rental-card{
  background: var(--card);
  border:1px solid #e6ebf2;
  border-radius:16px;
  padding:1rem;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
}
.product-card h3,
.rental-card h3{ margin-top:.75rem; font-size:1.05rem; }
.product-card p,
.rental-card p{ color: var(--muted); margin-top:.35rem; }
.product-img,
.rental-img{
  width:100%;
  aspect-ratio: 1 / 1;   /* 🔥 rend l'image parfaitement carrée */
  object-fit: cover;     /* coupe proprement sans déformation */
  border-radius: 16px;
}


/* Carousel réalisations */
.carousel{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  gap:.75rem;
  margin: 1.25rem 0 2rem;
}
.carousel-track{
  display:flex;
  gap:1rem;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:.25rem;
  scrollbar-width: thin;
}
.carousel-item{
  min-width: min(320px, 80vw);
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(4,97,17,.22), rgba(43,50,36,.18));
  border:1px solid #e6ebf2;
  scroll-snap-align:start;
  position:relative;
  overflow:hidden;
}
.carousel-item figcaption{
  position:absolute;
  left:12px; bottom:12px;
  background: rgba(0,0,0,.55);
  color:#fff;
  padding:.35rem .6rem;
  border-radius:999px;
  font-weight:600;
  font-size:.9rem;
}
.carousel-btn{
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid #e6ebf2;
  background:#fff;
  box-shadow: 0 6px 20px rgba(15,23,42,.08);
  font-size: 1.8rem;
  line-height: 1;
  cursor:pointer;
}
.carousel-btn:active{ transform: translateY(1px); }

/* Map */
.map-card{ background: var(--card); }
.map-embed{ border-radius: 16px; overflow:hidden; border:1px solid #e6ebf2; }
.map-embed iframe{ width:100%; height: 260px; border:0; display:block; }
.muted{ color: var(--muted); }

/* Social buttons */
.social-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin: 1rem 0 1.5rem;
}
.social-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem .9rem;
  border-radius:999px;
  border:1px solid #e6ebf2;
  background:#fff;
  color:#0f172a;
  text-decoration:none;
  font-weight:700;
}
.social-btn:hover{ border-color: #cdd6e3; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; padding: 4rem 0; }
  .hero-right{ order:-1; }
  .products-grid, .rental-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .carousel{ grid-template-columns: 40px 1fr 40px; }
}
@media (max-width: 520px){
  .products-grid, .rental-grid{ grid-template-columns: 1fr; }
}


/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

/* Image agrandie */
.lightbox-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  animation: zoom 0.3s ease;
}

/* Bouton fermeture */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

@keyframes zoom {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}

/* Quand la lightbox est ouverte : on bloque le scroll + on floute le contenu */
body.lb-open {
  overflow: hidden;
}

/* Mets tout ton contenu de page dans un wrapper #page (voir HTML ci-dessous) */
body.lb-open #page {
  filter: blur(6px);
  transform: scale(0.995); /* léger effet premium */
}

/* On s'assure que la lightbox reste nette */
body.lb-open #lightbox {
  filter: none;
}

/* Overlay : centre vraiment l'image */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background: rgba(0,0,0,0.75);
  padding: 16px;
}

/* Image : prend quasi tout l'écran, sans dépasser */
.lightbox-content{
  width: 100%;
  height: auto;
  max-width: min(980px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  display:block;
  margin: 0 auto;
  border-radius: 14px;
}

/* Bouton close : plus facile à toucher au doigt */
.close{
  position: fixed;
  top: 12px;
  right: 14px;
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color:#fff;
  font-size: 28px;
  cursor:pointer;
}

/* Mobile : image encore plus grande */
@media (max-width: 520px){
  .lightbox{
    padding: 10px;
  }
  .lightbox-content{
    max-height: 88vh;
    border-radius: 12px;
  }
}


.product-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* si tu veux arrondir */
}
.product-price{
  font-weight: 600;
  margin-top: 6px;
}


/* =========================
   MAGASIN : SLIDER + CARDS (CLEAN VERSION)
   ========================= */

.product-slider{
  --perView: 3;
  --gap: 16px;
  --speed: 1200ms;
  position: relative;
}

.slider-viewport{
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.slider-track{
  display: flex;
  gap: var(--gap);
  transform: translateX(0);
  transition: transform var(--speed) ease;
  will-change: transform;
  padding: 8px;
}

.product-card.slide{
  flex: 0 0 calc(
    (100% - (var(--gap) * (var(--perView) - 1))) 
    / var(--perView)
  );
  max-width: 340px; /* limite largeur */
}

.product-slider .product-card{
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
  display: flex;
  flex-direction: column;
}

.product-slider .product-card h3{
  margin-top: .75rem;
  font-size: 1.05rem;
}

.product-slider .product-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(0,0,0,.04);
  padding: 10px;
  display: block;
}

/* =========================
   FLÈCHES : BANDES LATÉRALES
   ========================= */

.slider-btn{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 76px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: .92;
  transition: opacity .2s ease, background .25s ease;
}

.slider-btn.prev{
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,.38), rgba(0,0,0,0));
}

.slider-btn.next{
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,.38), rgba(0,0,0,0));
}

.slider-btn::before{
  content: "";
  width: 18px;
  height: 18px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.slider-btn.prev::before{ transform: rotate(-135deg); }
.slider-btn.next::before{ transform: rotate(45deg); }

.product-slider:hover .slider-btn{
  opacity: 1;
}

.slider-btn:hover{
  background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,0));
}

.slider-btn.next:hover{
  background: linear-gradient(to left, rgba(0,0,0,.55), rgba(0,0,0,0));
}

/* =========================
   DOTS
   ========================= */

.slider-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
}

.slider-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: transparent;
  cursor: pointer;
}

.slider-dot.is-active{
  background: rgba(0,0,0,.55);
}

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

@media (max-width: 780px){
  .product-slider{ --perView: 2; }
  .product-slider .product-img{ height: 170px; }
  .slider-btn{ width: 60px; }
}

@media (max-width: 520px){
  .product-slider{ --perView: 1; }
  .product-slider .product-img{ height: 160px; }
  .slider-btn{ width: 54px; }
}



.small-img {
    height: 200px !important;
    width: auto;
}

/* =========================
   CARTE ZONE INTERVENTION
   ========================= */

.etn-map-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.etn-map-card {
  position: relative;
  max-width: 850px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  border: 1px solid #e6ebf2;
  background: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.etn-map-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.25);
}

.etn-map-img {
  width: 75%;
  display: block;
  margin: 0 auto;
}

.etn-map-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Description sous la carte */

.etn-zone-description {
  max-width: 850px;
  margin: 2rem auto 0 auto;
}

/* =========================
   CARTE ZONE 2 (BLEU)
   ========================= */

.etn-map-card.zone2 {
  border-color: var(--zone2-blue-soft);
}

.etn-map-card.zone2:hover {
  box-shadow: 0 35px 80px rgba(44, 123, 229, 0.25);
}

.etn-map-badge.zone2 {
  background: var(--zone2-blue);
}

.highlight-box.zone2 {
  background: var(--zone2-blue-soft);
  border-color: rgba(44, 123, 229, 0.35);
}

/* =========================
   GRID 2 CARTES ZONES
   ========================= */

.etn-map-grid {
  gap: 2rem;
  margin-top: 2rem;
}

/* Desktop */
@media (min-width: 900px) {
  .etn-map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Bloc complet zone */
.etn-zone-block {
  /* ✅ même largeur pour la carte et les blocs dessous */
  max-width: 850px;
  width: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* =========================
   DESCRIPTIONS MEME HAUTEUR
   ========================= */

@media (min-width: 900px) {

  .etn-map-grid {
    align-items: stretch; /* étire les colonnes */
  }

  .etn-zone-block {
    height: 100%;
  }

  .etn-zone-block .highlight-box {
    flex: 1; /* prend tout l'espace disponible */
  }

}


.square-slider {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: #f8f8f8;
}

.square-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.square-slider-track {
  display: flex;
  gap: 30px;
  align-items: center;
  will-change: transform;
}

.square-slide {
  flex: 0 0 auto;
  width: 320px; /* taille raisonnable */
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background: white;
}

.square-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .square-slide {
    width: 220px;
  }
}

/* =========================
   SQUARE SLIDER : CONTROLS + SNAP
   ========================= */

.square-slider-shell{
  display:grid;
  grid-template-columns: 52px 1fr 52px;
  align-items:center;
  gap: 12px;
}

.square-slider-viewport{
  overflow: auto;                 /* important : scrollable */
  scroll-snap-type: x mandatory;  /* snap */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.square-slider-track{
  display:flex;
  gap: 30px;
  align-items:center;
  padding: 6px 8px; /* un peu d'air */
}

.square-slide{
  scroll-snap-align: start; /* snap */
}

/* Boutons */
.sq-btn{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  cursor: pointer;
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease;
}

.sq-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
}

/* flèches */
.sq-btn::before{
  content:"";
  width: 14px;
  height: 14px;
  border-top: 3px solid rgba(0,0,0,.70);
  border-right: 3px solid rgba(0,0,0,.70);
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.sq-btn.prev::before{ transform: translate(-50%,-50%) rotate(-135deg); }
.sq-btn.next::before{ transform: translate(-50%,-50%) rotate(45deg); }

/* Mobile : boutons plus petits */
@media (max-width: 768px){
  .square-slider-shell{ grid-template-columns: 44px 1fr 44px; }
  .sq-btn{ width:44px; height:44px; }
}


.video-wrapper {
  margin: 60px auto;
  max-width: 900px;
  padding: 0 20px;
}

.video-wrapper iframe {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .video-wrapper iframe {
    height: 250px;
  }
}

/* STRUCTURE GENERALE DES SECTIONS */

/* TITRES DE SECTION */
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.video-wrap{
  display:flex;
  justify-content:center;
  padding: 16px;
  margin-top: 50px;
}

.video-portrait{
  /* Taille raisonnable + responsive */
  width: min(420px, 92vw);     /* ajuste 420px si tu veux plus grand */
  height: auto;

  /* garde le format 9:16 même si la vidéo n'est pas encore chargée */
  aspect-ratio: 9 / 16;

  /* optionnel : look */
  border-radius: 14px;
  background: #000;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}


.videos-section{
  padding: 30px 20px;
}

.videos-row{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap; /* mobile = retour à la ligne */
}

.etn-video{
  width: min(340px, 92vw) !important;
  height: auto;

  aspect-ratio: 9 / 16;

  /* correction du poster */
  object-fit: contain;

  display:block;
  background:#000;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}


.etn-video::-webkit-media-controls-panel{
  width:100%;
}

.votre-expert-ajust {
  margin-top: 280px;
}

.product-desc{
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0.5rem 0;
  color: #444;
}

/* =========================
   MAGASIN VIDE
   ========================= */

.magasin-empty{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px 0;
}

.magasin-empty-box{
  text-align:center;
  background:#ffffff;
  border-radius:18px;
  padding:40px 30px;
  border:1px solid #e6ebf2;
  box-shadow:0 12px 40px rgba(0,0,0,.08);
  max-width:420px;
}

.magasin-empty-box h3{
  color:var(--etn-gold);
  font-size:1.3rem;
  margin-bottom:12px;
}

.magasin-empty-box p{
  color:#555;
  margin-bottom:18px;
  line-height:1.5;
}


.seo-villes {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  color: #5b5b5b;
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .seo-villes {
    font-size: 0.88rem;
    line-height: 1.6;
    padding: 12px 14px;
  }
}

.about-text p {
  line-height: 1.8;
  text-align: left;
}

.about-photo {
  float: left;
  width: 170px;
  max-width: 40%;
  height: auto;
  margin: 0 20px 12px 0;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.about-text::after {
  content: "";
  display: block;
  clear: both;
}

.about-text { text-align: justify; }

@media (max-width: 768px) {
  .about-photo {
    float: none;
    display: block;
    margin: 0 auto 16px auto;
    width: 100px;
    max-width: 100%;
  }

  .about-text p {
    text-align: center;
  }
}

/* =========================
   AVIS CLIENTS
========================= */
.avis-section {
  background: #f8faf8;
}

.avis-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #dbe7d8;
  border-radius: 18px;
  padding: 24px;
  margin: 30px 0 34px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.avis-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.avis-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5e8f53, #88b57e);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(94,143,83,0.22);
}

.avis-mini-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #49653f;
}

.avis-mini-text {
  margin: 0;
  color: #5d6c59;
  line-height: 1.6;
}

.avis-header-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.avis-stars,
.avis-card-stars {
  color: #d4a437;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.avis-google-btn {
  white-space: nowrap;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.avis-card {
  background: #fff;
  border: 1px solid #dde7da;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avis-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.avis-card-text {
  margin: 12px 0 14px;
  font-style: italic;
  color: #2f3b2c;
  line-height: 1.7;
}

.avis-card-author {
  margin: 0;
  font-weight: 600;
  color: #6a7d63;
}

.avis-card-wide {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 980px) {
  .avis-header-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .avis-header-right {
    align-items: flex-start;
    text-align: left;
  }

  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .avis-header-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .avis-grid {
    grid-template-columns: 1fr;
  }

  .avis-card-wide {
    grid-column: auto;
    max-width: 100%;
  }

  .avis-google-btn {
    width: 100%;
    text-align: center;
  }
}



/* =====================
   SEPARATEUR PHOTOS
===================== */

.etn-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 50px auto;
  max-width: 1100px;
}

.etn-photo-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.etn-photo-grid img:hover {
  transform: scale(1.05);
}

.col {
   text-align: justify;
}

.descendre {
  margin-top: 10%;
}

.visit-counter{
  margin-top:12px;
  padding: 15px;
  text-align:center;
  font-size:0.95rem;
  color:#000;
  opacity:0.9;
}

.visit-counter strong{
  font-size:1.05rem;
}


/* =========================
   SEO VILLES - LIENS
========================= */

.seo-villes a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.25s ease;
}

/* effet soulignement moderne */
.seo-villes a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.seo-villes a:hover::after {
  width: 100%;
}

/* hover global */
.seo-villes a:hover {
  color: var(--accent-hover);
}

/* petit effet "badge" au survol */
.seo-villes a:hover {
  background: rgba(4, 97, 17, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Bouton burger */
.burger {
  display: none;
  background: rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  z-index: 1200;
}

/* Les 3 traits */
.burger span {
  display:block;
  height:2px;
  width:100%;
  background:#111; /* noir visible */
}

/* Affichage mobile */
@media (max-width: 980px) {
  .burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main-nav {
    display: none;
  }
}