/* =========================================================
   BASE GÉNÉRALE DU SITE
   ========================================================= */

body {
  background: #f5f9ff;
}

/* Pleine largeur pour Joomla / JA Purity IV */
body .t4-wrapper,
body .t4-main-body,
body .t4-content,
body .container,
body .container-sm,
body .container-md,
body .container-lg,
body .container-xl,
body .container-xxl {
  max-width: none !important;
}

body .container {
  width: 100% !important;
}

/* Sections forcées en pleine largeur */
.lbz-hero,
.lbz-univers,
.lbz-values,
.lbz-footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* =========================================================
   HERO / BANDEAU D’ACCUEIL
   ========================================================= */

.lbz-hero {
  min-height: 160px;
  padding: 90px 20px 40px;
  background:
    linear-gradient(rgba(4,20,38,.35), rgba(4,20,38,.45)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
}

.lbz-hero-card {
  max-width: 1180px;
  margin: auto;
  padding: 45px;
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.lbz-badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #168cff;
  color: #fff;
  font-weight: 700;
}

.lbz-hero h1 {
  margin: 25px 0;
  font-size: clamp(46px, 7vw, 82px);
  color: #fff;
  font-weight: 900;
}

.lbz-hero h1 span,
.lbz-footer span,
.lbz-z {
  color: #ffc107;
}

.lbz-hero p {
  color: #fff;
  font-size: 20px;
  line-height: 1.7;
}

.lbz-hero-image img {
  width: 100%;
  border-radius: 34px;
  border: 3px solid rgba(255,255,255,.75);
  transform: rotate(2deg);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

/* =========================================================
   BOUTONS GÉNÉRAUX
   ========================================================= */

.lbz-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.lbz-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 15px 28px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 800;
  text-decoration: none;
}

.lbz-btn.primary {
  background: #ffc107;
  color: #061a2f;
}

.lbz-btn.secondary {
  border: 1px solid #fff;
  color: #fff;
}

/* =========================================================
   FORMULAIRE CONVERTFORMS CENTRÉ
   ========================================================= */

.cf-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cf-center .convertforms {
  width: 100%;
  max-width: 700px;
}

/* =========================================================
   SECTION UNIVERS / CARTES ANIMÉES
   ========================================================= */

.lbz-univers {
  padding: 60px 20px;
  text-align: center;
}

.lbz-small-title {
  color: #006ee6;
  font-weight: 900;
  text-transform: uppercase;
}

.lbz-univers h2 {
  color: #08233f;
  font-size: 36px;
  font-weight: 900;
}

.lbz-subtitle {
  color: #53657a;
}

/* Grille des cartes sur la page d’accueil */
#univers .lbz-card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1300px !important;
  margin: 35px auto 0 !important;
}

/* Correction pour éviter les flottants Joomla */
#univers .lbz-card-grid > article.lbz-card {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
}

/* Style commun des cartes */
.lbz-card,
.lbz-file-card,
.lbz-empreinte-card,
.lbz-empreinte-card-obj,
.lbz-animaux,
.lbz-gym-card,
.lbz-eau-card,
.lbz-avion-card,
.lbz-car-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* Animation au survol */
.lbz-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
}

/* Couleurs des cartes */
.lbz-card.blue {
  background: linear-gradient(135deg,#007cf0,#00bfff) !important;
}

.lbz-card.orange {
  background: linear-gradient(135deg,#ff8a00,#ffb300);
}

.lbz-card.green {
  background: linear-gradient(135deg,#00a86b,#00c896);
}

/* Icônes des cartes */
.lbz-icon {
  font-size: 42px;
  margin-bottom: 20px;
}

/* Liens dans les cartes */
.lbz-card a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  font-weight: 700;
}

/* =========================================================
   BANDE DES VALEURS
   ========================================================= */

.lbz-values {
  max-width: 2500px;
  margin: 0 auto 40px;
  padding: 35px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: center;
}

.lbz-values span {
  font-size: 42px;
  color: #006ee6;
}

.lbz-values h4 {
  margin-top: 12px;
  color: #08233f;
  font-weight: 900;
}

/* =========================================================
   PAGE À PROPOS
   ========================================================= */

.lbz-about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: inherit;
  color: #1f2937;
}

.lbz-about-card,
.lbz-about-final {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  border-left: 6px solid #38bdf8;
}

.lbz-about-card h2,
.lbz-about-final h2 {
  margin-top: 0;
  color: #0f172a;
}

.lbz-about-card p,
.lbz-about-final p {
  font-size: 17px;
  line-height: 1.7;
}

/* =========================================================
   CARTES ARTICLES / FICHES
   ========================================================= */

.lbz-file-card,
.lbz-card.purple {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: inherit;
  color: #1f2937;
}

.lbz-file-card h2,
.lbz-card h2,
.lbz-empreinte-card h2,
.lbz-empreinte-card-obj h2,
.lbz-animaux h2,
.lbz-gym-card h2,
.lbz-eau-card h2,
.lbz-avion-card h2,
.lbz-car-card h2 {
  margin-top: 0;
  color: #0f172a;
}

.lbz-file-card p,
.lbz-card p,
.lbz-empreinte-card p,
.lbz-empreinte-card-obj p,
.lbz-animaux p,
.lbz-gym-card p,
.lbz-eau-card p,
.lbz-avion-card p,
.lbz-car-card p {
  font-size: 17px;
  line-height: 1.7;
}

/* =========================================================
   MODULE BLOG AUTOMATIQUE
   ========================================================= */

.lbz-blog-auto {
  max-width: 1280px;
  margin: 15px auto;
  padding: 10px;
  font-family: inherit;
}

.lbz-featured {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 30px;
}

.lbz-featured-visual {
  min-height: 360px;
  border-radius: 24px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, #064b8e, #168cff, #ffd43b);
  url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=80") center center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.lbz-featured-visual h2 {
  font-size: 42px;
  margin-top: 20px;
  color: #fff;
}

.lbz-featured-visual span {
  color: #ffd43b;
  font-size: 1.2em;
}

.lbz-logo-bg {
  font-size: 90px;
  font-weight: 900;
  opacity: .12;
}

.lbz-featured-card {
  margin-left: -70px;
  background: #fff;
  padding: 15px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  z-index: 2;
}

.lbz-featured-card h2 a,
.lbz-article-card h3 a {
  color: #14539a;
  text-decoration: none;
}

.lbz-featured-card p {
  color: #555;
  font-size: 17px;
  line-height: 1.6;
}

.lbz-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.lbz-article-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.lbz-article-card h3 {
  margin: 22px 0 14px;
  font-size: 22px;
  line-height: 1.35;
}

.lbz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lbz-meta span {
  background: #efe4ff;
  color: #6b4bb8;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
}

.lbz-meta small {
  color: #888;
  text-transform: uppercase;
}

/* =========================================================
   MISE EN FORME TYPE BLOG / ARTICLES
   ========================================================= */

.lbz-technique-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
}

.lbz-technique-page h1 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
}

.lbz-technique-page .lbz-intro {
  text-align: center;
  font-size: 18px;
  margin-bottom: 35px;
}

.lbz-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.lbz-blog-card {
  background: #fff;
  border-radius: 22px;
  padding: 15px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  border: 3px solid #168cff;
  transition: transform .3s ease, box-shadow .3s ease;
}

.lbz-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0,0,0,.25);
}

.lbz-blog-card h2 {
  color: #168cff;
  margin-bottom: 10px;
}

.lbz-blog-card p {
  color: #333;
}

.lbz-blog-card a {
  display: inline-block;
  margin-top: 15px;
  color: #168cff;
  font-weight: bold;
  text-decoration: none;
}

/* =========================================================
   FOOTER
   ========================================================= */

.lbz-footer {
  padding: 10px 20px 0;
  background: #031b31;
  color: #fff;
}

.lbz-footer-grid {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
  text-align: center;
}

.lbz-footer-grid > div:last-child {
  text-align: right;
}

.lbz-footer h3,
.lbz-footer h4 {
  color: #fff;
}

.lbz-footer p {
  color: #d5e4f5;
}

.lbz-copy {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  opacity: .75;
}

/* =========================================================
   MENU / HEADER JOOMLA
   ========================================================= */

#t4-main-top-1 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.t4-header,
.t4-navbar,
.navbar {
  min-height: 55px !important;
  padding: 0 !important;
}

.navbar-nav > li > a {
  padding: 14px 12px !important;
  font-size: 14px !important;
  line-height: 1.2;
}

.navbar-brand img {
  max-height: 40px !important;
}

.navbar-brand,
.navbar-nav {
  display: flex;
  align-items: center;
}

.t4-navbar .navbar-brand,
.lbz-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-transform: none;
}

.lbz-logo .lbz-z,
.lbz-z {
  color: #ffd84d;
  font-size: 1.25em;
  font-weight: 900;
  display: inline-block;
  transform: translateY(2px) rotate(-4deg);
  text-shadow:
    0 0 12px rgba(255,216,77,.7),
    0 0 24px rgba(255,216,77,.45);
}

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

@media (max-width: 900px) {
  .lbz-hero-card,
  .lbz-values,
  .lbz-footer-grid,
  .lbz-featured,
  .lbz-articles-grid,
  .lbz-blog-grid {
    grid-template-columns: 1fr !important;
  }

  #univers .lbz-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .lbz-hero {
    padding-top: 50px;
  }

  .lbz-hero-card {
    padding: 28px;
  }

  .lbz-hero-image img {
    transform: none;
  }

  .lbz-featured-card {
    margin-left: 0;
    margin-top: -40px;
  }

  .lbz-footer-grid > div:last-child {
    text-align: center;
  }
}

@media (max-width: 768px) {
  #univers .lbz-card-grid {
    grid-template-columns: 1fr !important;
  }

  .lbz-about-hero h1,
  .lbz-technique-page h1 {
    font-size: 32px;
  }

  .lbz-about-hero p,
  .lbz-about-card p,
  .lbz-file-card p,
  .lbz-card p {
    font-size: 16px;
  }

  .lbz-file-card,
  .lbz-card {
    text-align: center;
  }

  /*Camping*/
  .eden-hero {
  min-height: 78vh;
  background:
    linear-gradient(rgba(30, 55, 45, .35), rgba(30, 55, 45, .55)),
    url("/images/o-coeur-d-eden/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: white;
}

.eden-hero-content {
  max-width: 900px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  padding: 45px;
}

.eden-logo {
  max-width: 220px;
  margin-bottom: 20px;
}

.eden-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  margin: 0 0 20px;
  font-family: Georgia, serif;
}

.eden-hero p {
  font-size: 1.25rem;
  line-height: 1.7;
}

.eden-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #f4c95d;
  color: #263b2f;
  font-weight: 700;
  text-decoration: none;
}

.eden-menu {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px;
  background: #fffaf0;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.eden-menu a {
  color: #36523f;
  font-weight: 700;
  text-decoration: none;
}

.eden-intro,
.eden-gallery {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
  text-align: center;
}

.eden-intro h2,
.eden-gallery h2 {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  color: #36523f;
}

.eden-cards {
  max-width: 1300px;
  margin: auto;
  padding: 40px 20px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.eden-cards article {
  background: #fffaf0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.eden-cards img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.eden-cards h3 {
  color: #36523f;
  font-size: 1.6rem;
  padding: 20px 20px 0;
}

.eden-cards p {
  padding: 0 20px;
}

.eden-cards a {
  display: inline-block;
  margin: 10px 20px 25px;
  color: #b8860b;
  font-weight: 700;
  text-decoration: none;
}

.eden-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.eden-gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
}

.eden-info {
  background: #36523f;
  color: white;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.eden-info div {
  max-width: 360px;
  margin: auto;
}

@media (max-width: 900px) {
  .eden-cards,
  .eden-info,
  .eden-gallery-grid {
    grid-template-columns: 1fr;
  }

  .eden-hero-content {
    padding: 28px;
  }

  .eden-menu {
    position: relative;
  }
}
}

