:root {
  --color-forest: #2b4a33;
  --color-moss: #6b7b4f;
  --color-earth: #8b6a4a;
  --color-sand: #f2ede3;
  --color-cream: #fbf7f0;
  --color-ink: #1d1f1b;
  --color-gold: #caa46c;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 20px 40px rgba(21, 23, 18, 0.15);
}

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

body {
  font-family: "Cabin", sans-serif;
  color: var(--color-ink);
  background: radial-gradient(
    circle at top,
    #f8f2e7 0%,
    #efe6d8 30%,
    #e3d7c4 70%
  );
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--color-cream);
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--color-earth);
  font-weight: 600;
  margin-bottom: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 74, 51, 0.15);
  margin-left: 10px;
  margin-right: 10px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex; /* Permet d'aligner les éléments enfants horizontalement */
  align-items: center; /* Centre verticalement l'image et le texte */
  gap: 5px; /* Espace entre l'image et le texte */
  text-decoration: none; /* Supprime le soulignement du lien */
  color: inherit; /* Hérite de la couleur de texte du parent */
}

.logo span {
  color: var(--color-forest);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  background: var(--color-forest);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle-bar {
  width: 26px;
  height: 2px;
  background: var(--color-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  color: #fff;
  background: url("assets/img/hero.webp") center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(21, 28, 18, 0.88),
    rgba(66, 83, 55, 0.65)
  );
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 110px 0 140px;
}

.hero-content h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 18px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.hero-highlights strong {
  font-size: 1.2rem;
  display: block;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  right: 10%;
  background: #fff;
  color: var(--color-ink);
  padding: 14px 20px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cube-stage {
  perspective: 1000px;
  width: 240px;
  height: 240px;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 18s infinite linear;
}

.face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.12em;
  background: rgba(43, 74, 51, 0.8);
  color: #fff;
  text-align: center;
}

.front {
  transform: translateZ(100px);
  background: rgba(139, 106, 74, 0.85);
}

.back {
  transform: rotateY(180deg) translateZ(100px);
  background: rgba(64, 90, 67, 0.85);
}

.right {
  transform: rotateY(90deg) translateZ(100px);
  background: rgba(202, 164, 108, 0.85);
  color: #1d1f1b;
}

.left {
  transform: rotateY(-90deg) translateZ(100px);
  background: rgba(47, 74, 51, 0.9);
}

.top {
  transform: rotateX(90deg) translateZ(100px);
  background: rgba(243, 228, 206, 0.9);
  color: #1d1f1b;
}

.bottom {
  transform: rotateX(-90deg) translateZ(100px);
  background: rgba(86, 79, 54, 0.9);
}

@keyframes rotate {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.trust-strip {
  padding: 36px 0;
  background: var(--color-forest);
  color: #fef7ee;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.trust-grid h3 {
  font-family: "Fraunces", serif;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  align-items: center;
}

.image-card {
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card,
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  padding-bottom: 18px;
}

.feature-card h3,
.blog-card h3 {
  font-family: "Fraunces", serif;
  padding: 18px 18px 8px;
}

.feature-card p,
.blog-card p {
  padding: 0 18px 14px;
  color: #3e3d35;
}

.feature-card a,
.blog-card a {
  padding: 0 18px 12px;
  display: inline-block;
  color: var(--color-forest);
  font-weight: 600;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin-top: 10%;
}

.icon-card {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.icon-card h3 {
  font-size: 1.05rem;
  margin-top: 12px;
  font-family: "Fraunces", serif;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.checklist li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--color-forest);
}

.text-link {
  font-weight: 600;
  color: var(--color-forest);
}

.promo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.promo-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.promo-card h3 {
  font-family: "Fraunces", serif;
  margin-bottom: 6px;
}

.testimonials {
  display: grid;
  gap: 24px;
}

.testimonials--grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  text-align: left;
  margin-top: 32px;
}

.testimonial-card {
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e7ecf5;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  background-image: radial-gradient(#eef2f9 1px, transparent 1px);
  background-size: 10px 10px;
  color: #0f172a;
}

.testimonial-stars {
  color: #f5c518;
}

.testimonial-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(10, 72, 206, 0.753);
  color: #fff;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-source img {
  width: 28px;
  height: 28px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  color: #fff;
  font-weight: 600;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.contact {
  background: var(--color-forest);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.contact a {
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
}

.opening-hours {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
}

.opening-hours img {
  width: 64px;
  height: 64px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
}

.site-footer {
  background: #141712;
  color: #f8f2e7;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer-grid h3,
.footer-grid h4 {
  font-family: "Fraunces", serif;
  margin-bottom: 8px;
}

.footer-grid a {
  display: block;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  opacity: 0.7;
}
/*-Gestion des videos*/
.video-hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  border-radius: 32px;
}
.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*-Gestion des blogs*/
.blog-hero {
  background: linear-gradient(120deg, #2b4a33, #6b7b4f);
  color: #fff;
  padding: 90px 0 70px;
}

.blog-lead {
  max-width: 680px;
  font-size: 1.1rem;
  margin: 14px 0 18px;
}

.blog-meta {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

.blog-content {
  display: grid;
  gap: 28px;
  padding: 60px 0 90px;
}

.blog-content h2 {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.blog-content section {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.blog-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.blog-content ul {
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.blog-cta {
  background: var(--color-forest);
  color: #fff;
  text-align: center;
}

/* FIX: priorité sur la section CTA dans le contenu */
.blog-content .blog-cta {
  background: var(--color-forest);
  color: #fff;
}

.blog-cta a {
  color: #fff;
}

.blog-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 5vw;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-badge {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .hero-grid {
    padding: 90px 0 110px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
