/* ===========================
   CACAO & BERLINGOT — Styles
   =========================== */

/* --- Variables & Reset --- */
:root {
  --brique:       #b15144;
  --ficelle:      #f1ede6;
  --chocolat:     #311104;
  --kraft-light:  #d8c2a5;
  --kraft-dark:   #c2a482;
  --white:        #fffdf9;
  --text-dark:    #2b140a;
  --text-mid:     #5d3a2c;
  --text-light:   #7b6051;
  --border:       rgba(49, 17, 4, 0.15);

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --shadow-sm:  0 3px 8px rgba(31, 11, 3, 0.08);
  --shadow:     0 8px 24px rgba(31, 11, 3, 0.14);
  --shadow-lg:  0 14px 36px rgba(31, 11, 3, 0.16);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Source Sans 3', system-ui, sans-serif;

  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--ficelle);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(49, 17, 4, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  line-height: 1.7;
  overflow-x: hidden;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
html { overflow-x: hidden; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

/* --- Typography --- */
.section__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brique);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--chocolat);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section__title em {
  font-style: italic;
  color: var(--brique);
}

.section__desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 540px;
}

.section__desc--single-line {
  max-width: none;
  white-space: nowrap; /* desktop uniquement — reset en mobile ci-dessous */
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section__header .section__desc {
  margin: 0 auto;
}

.craft .section__desc {
  max-width: 780px;
}

.section__header::after {
  content: "";
  display: block;
  width: 96px;
  height: 1px;
  margin: 18px auto 0;
  background: rgba(49, 17, 4, 0.28);
  opacity: 0.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--brique);
  color: var(--ficelle);
  border-color: var(--brique);
}

.btn--primary:hover {
  background: var(--chocolat);
  border-color: var(--chocolat);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--ficelle);
  border-color: rgba(241, 237, 230, 0.6);
}

.btn--outline:hover {
  background: rgba(241, 237, 230, 0.14);
  border-color: var(--ficelle);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===========================
   NAVIGATION
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
  background: rgba(241, 237, 230, 0.98);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.header.scrolled {
  background: rgba(177, 81, 68, 0.98);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.nav__logo:hover {
  transform: translateY(-1px);
}

.nav__logo-image {
  width: clamp(180px, 26vw, 280px);
  height: auto;
  filter: brightness(0) saturate(100%) invert(40%) sepia(20%) saturate(1257%) hue-rotate(325deg) brightness(93%) contrast(90%);
  transition: filter var(--transition);
}

.header.scrolled .nav__logo-image {
  filter: brightness(0) saturate(100%) invert(93%) sepia(16%) saturate(154%) hue-rotate(337deg) brightness(103%) contrast(89%);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--brique);
  transition: all var(--transition);
}

.header.scrolled .nav__link {
  color: rgba(241, 237, 230, 0.95);
}

.nav__link:hover {
  color: var(--chocolat);
  background: rgba(177, 81, 68, 0.12);
}

.header.scrolled .nav__link:hover {
  color: var(--ficelle);
  background: rgba(241, 237, 230, 0.2);
}

.nav__link--cta {
  background: var(--chocolat);
  color: var(--ficelle) !important;
  font-weight: 700;
}

.nav__link--cta:hover {
  background: #180a03 !important;
  color: var(--ficelle) !important;
}

.header.scrolled .nav__link--cta {
  background: var(--ficelle);
  color: var(--brique) !important;
}

.header.scrolled .nav__link--cta:hover {
  background: #fffaf2 !important;
  color: var(--chocolat) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brique);
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .nav__burger span {
  background: var(--ficelle);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--brique);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(49, 17, 4, 0.08) 1px, transparent 0);
  background-size: 20px 20px;
  opacity: 0.45;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1px;
  background: rgba(49, 17, 4, 0.18);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  max-width: 700px;
  padding-left: 100px;
}

.hero__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.9);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  white-space: nowrap;
  color: var(--ficelle);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: #ffd9c9;
  white-space: nowrap;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(253, 243, 231, 0.8);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero .btn--primary {
  background: var(--ficelle);
  color: var(--brique);
  border-color: var(--ficelle);
}

.hero .btn--primary:hover {
  background: #fffaf2;
  color: var(--chocolat);
  border-color: #fffaf2;
}

.hero__scroll {
  position: absolute;
  bottom: 140px;
  right: 5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(253, 243, 231, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(253, 243, 231, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===========================
   VALUES
   =========================== */
.values {
  background: var(--ficelle);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.values::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(49, 17, 4, 0.12);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.values__item {
  text-align: center;
  padding: 24px 16px;
}

.values__overline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brique);
  margin-bottom: 8px;
}

.values__item h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--chocolat);
  margin-bottom: 8px;
}

.values__item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===========================
   STORY
   =========================== */
.story {
  background: linear-gradient(180deg, rgba(216, 194, 165, 0.28), rgba(241, 237, 230, 0.92));
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story__visual {
  position: relative;
}

.story__img-wrap {
  position: relative;
}

.story__img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--border);
  display: block;
}

.story__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--chocolat);
  color: var(--ficelle);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.story__badge strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.story__badge span {
  font-size: 0.65rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.story__text {
  padding-left: 20px;
}

.story__text p:not(.section__label) {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ===========================
   COLLECTIONS — PRODUITS
   =========================== */
.collections {
  background: rgba(216, 194, 165, 0.28);
  border-top: 1px solid rgba(49, 17, 4, 0.1);
  padding-bottom: 40px;
}

.products__list {
  display: flex;
  flex-direction: column;
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.product--reverse {
  direction: rtl;
}

.product--reverse > * {
  direction: ltr;
}

.product__image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.product__image--choco {
  background-image: url("images/bonbons-chocolat-plateaux-vitrine-cacao-berlingot-quimper.jpg");
}
.product__image--berlingot {
  background-image: url("images/creation-saison-tablette-cathedrale-quimper-chocolat.jpg");
}
.product__image--confiseries {
  background-image: url("images/berlingots-confiseries-artisanales-quimper.jpg");
}
.product__image--praline {
  background-image: url("images/tablettes-chocolat-noir-packaging-cacao-berlingot-quimper.jpg");
}
.product__image--coffret {
  background-image: url("images/gateau-breton-hermine-cacao-berlingot-quimper.jpg");
}
.product__image--saison {
  background-image: url("images/coffret-vendome-mendiants-cadeaux-cacao-berlingot-quimper.jpg");
}

.product__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
  background: rgba(241, 237, 230, 0.92);
}

.product__num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brique);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
}

.product__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--chocolat);
  line-height: 1.25;
  margin-bottom: 20px;
}

.product__desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 380px;
}

/* ===========================
   CRAFT / SAVOIR-FAIRE
   =========================== */
.craft {
  background: linear-gradient(180deg, rgba(216, 194, 165, 0.28), rgba(241, 237, 230, 0.92));
  position: relative;
  padding-top: 160px;
}

.craft__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 64px;
  max-width: 100%;
  margin: 0 auto;
}

.craft__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.craft__step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(177, 81, 68, 0.35);
  line-height: 1;
  margin-bottom: 4px;
}

.craft__step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--chocolat);
  margin-bottom: 10px;
}

.craft__step-content p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ===========================
   GALERIE
   =========================== */
.gallery {
  background: var(--white);
}

/* Rangée du haut : photo verticale à gauche */
.gallery__grid--top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 300px 220px;
  grid-template-areas:
    "a b c"
    "a d e";
  gap: 10px;
  margin-bottom: 10px;
}

/* Rangée du bas : photo verticale à droite (inversé) */
.gallery__grid--bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  grid-template-rows: 220px 300px;
  grid-template-areas:
    "f g h"
    "i j h";
  gap: 10px;
}

.gallery__image {
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.gallery__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(49, 17, 4, 0.08);
  transition: background var(--transition);
}

.gallery__image:hover::after {
  background: rgba(49, 17, 4, 0.02);
}

/* Grille du haut */
.gallery__image--boutique      { grid-area: a; }
.gallery__image--chocolatier   { grid-area: b; }
.gallery__image--coffret-ouvert{ grid-area: c; }
.gallery__image--mendiants     { grid-area: d; }
.gallery__image--assortiment   { grid-area: e; }

/* Grille du bas (inversée) */
.gallery__image--pates-fruits       { grid-area: f; }
.gallery__image--sucettes           { grid-area: g; }
.gallery__image--tablettes-grands-crus { grid-area: h; } /* photo verticale à droite */
.gallery__image--cathedrale         { grid-area: i; }
.gallery__image--rayon-boutique     { grid-area: j; }

/* Grille du haut */
.gallery__image--boutique {
  background-image: url("images/galerie-boutique-vitrine-chocolaterie-quimper.jpg");
}
.gallery__image--chocolatier {
  background-image: url("images/galerie-chocolatier-labo-quimper.jpg");
}
.gallery__image--coffret-ouvert {
  background-image: url("images/galerie-coffret-chocolats-ouvert-quimper.jpg");
}
.gallery__image--mendiants {
  background-image: url("images/galerie-caramels-vanille-beurre-sale-cacao-berlingot-quimper.jpg");
}
.gallery__image--assortiment {
  background-image: url("images/galerie-vitrine-pralines-bonbons-boutique-quimper.jpg");
}

/* Grille du bas */
.gallery__image--pates-fruits {
  background-image: url("images/galerie-coffret-pates-de-fruits-quimper.jpg");
}
.gallery__image--sucettes {
  background-image: url("images/galerie-guenael-tirage-sucre-berlingot-quimper.jpg");
}
.gallery__image--tablettes-grands-crus {
  background-image: url("images/galerie-billes-chocolat-sachet-ruban-or-quimper.jpg");
}
.gallery__image--cathedrale {
  background-image: url("images/galerie-coffrets-assortiments-chocolats-cacao-berlingot-quimper.jpg");
}
.gallery__image--rayon-boutique {
  background-image: url("images/galerie-rayon-tablettes-boutique-quimper.jpg");
}

/* ===========================
   REVIEWS
   =========================== */
.reviews {
  background: var(--chocolat);
}

.reviews .section__label {
  color: rgba(241, 237, 230, 0.78);
}

.reviews .section__title {
  color: var(--ficelle);
}

.reviews__google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 8px 16px;
  margin-top: 16px;
}

.reviews__google-logo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.reviews__google-label {
  font-size: 0.82rem;
  color: rgba(253, 243, 231, 0.75);
  letter-spacing: 0.05em;
}

.reviews__verified-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.review {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(253, 243, 231, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  color: rgba(253, 243, 231, 0.85);
}

.review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brique);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review__meta strong {
  font-size: 0.9rem;
  color: var(--ficelle);
}

.review__guide {
  font-size: 0.75rem;
  color: rgba(253, 243, 231, 0.5);
}

.review__stars {
  color: #FBBC05;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.review p {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.contact__intro {
  color: var(--text-mid);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact__details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__details strong {
  display: block;
  font-weight: 700;
  color: var(--chocolat);
  margin-bottom: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact__details p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.contact__details a {
  color: var(--brique);
  transition: color var(--transition);
}

.contact__details a:hover {
  color: var(--chocolat);
}

.contact__social p {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.social__links {
  display: flex;
  gap: 12px;
}

.social__link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(177, 81, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chocolat);
  transition: all var(--transition);
}

.social__link:hover {
  background: var(--brique);
  color: var(--ficelle);
  transform: translateY(-3px);
}

.social__link svg {
  width: 18px;
  height: 18px;
}

/* FORM */
.contact__form-wrap {
  background: rgba(255, 253, 249, 0.85);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact__form h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--chocolat);
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--brique);
}

.form__group textarea {
  resize: vertical;
  min-height: 110px;
}

.form__success {
  display: none;
  margin-top: 16px;
  text-align: center;
  color: var(--chocolat);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px;
  background: rgba(177, 81, 68, 0.12);
  border-radius: var(--radius-sm);
}

.form__success.show {
  display: block;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--chocolat);
  color: rgba(241, 237, 230, 0.7);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253, 243, 231, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo-image {
  width: min(320px, 100%);
  height: auto;
  filter: brightness(0) saturate(100%) invert(93%) sepia(16%) saturate(154%) hue-rotate(337deg) brightness(103%) contrast(89%);
}

.footer__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ficelle);
  font-weight: 700;
}

.footer__brand .nav__logo-icon {
  font-size: 2rem;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(241, 237, 230, 0.8);
  margin-bottom: 20px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.93rem;
  color: rgba(253, 243, 231, 0.65);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--ficelle);
}

.footer__bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(253, 243, 231, 0.4);
}

/* Tiroir et overlay : cachés par défaut (desktop) */
.nav__overlay,
.nav__drawer {
  display: none;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .product__text {
    padding: 40px 40px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Nav mobile */
  .nav__burger {
    display: flex;
  }

  .nav__links {
    display: none;
  }

  /* Overlay */
  .nav__overlay {
    display: block;
    position: fixed;
    position: fixed;
    inset: 0;
    background: rgba(30, 10, 2, 0.5);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav__overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Tiroir latéral */
  .nav__drawer {
    display: flex;
    position: fixed;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80vw;
    max-width: 300px;
    background: var(--ficelle);
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 6px 0 40px rgba(30, 10, 2, 0.2);
    padding: 0;
  }

  .nav__drawer.open {
    transform: translateX(0);
  }

  .nav__drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 20px 24px;
    border-bottom: 1px solid rgba(177, 81, 68, 0.15);
  }

  .nav__drawer-logo {
    height: 34px;
    width: auto;
  }

  .nav__drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-mid);
    padding: 6px;
    border-radius: 6px;
    display: flex;
    transition: color 0.2s;
  }

  .nav__drawer-close:hover {
    color: var(--brique);
  }

  .nav__drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    gap: 4px;
    flex: 1;
  }

  .nav__drawer-link {
    display: block;
    color: var(--chocolat);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    padding: 13px 16px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
  }

  .nav__drawer-link:hover {
    background: rgba(177, 81, 68, 0.1);
    color: var(--brique);
  }

  .nav__drawer-link--cta {
    margin-top: 16px;
    background: var(--brique);
    color: var(--white) !important;
    text-align: center;
    border-radius: 30px;
    padding: 14px 24px;
    font-weight: 600;
  }

  .nav__drawer-link--cta:hover {
    background: var(--chocolat) !important;
  }

  /* Hero */
  .hero__content {
    text-align: center;
    padding-left: 0;
  }

  .hero__title {
    white-space: normal;
  }

  .hero__title em {
    white-space: normal;
  }

  /* Empêche le débordement horizontal sur toutes les descriptions */
  .section__desc,
  .section__desc--single-line {
    white-space: normal;
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  /* Values */
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Story */
  .story__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story__text {
    padding-left: 0;
  }

  .story__badge {
    right: 16px;
  }

  /* Collections */
  .product {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .product--reverse {
    direction: ltr;
  }

  .product__image {
    aspect-ratio: 16 / 9;
  }

  .product__text {
    padding: 32px 24px;
  }

  .product__desc {
    max-width: none;
  }

  /* Craft */
  .craft__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery__grid--top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "a a"
      "b c"
      "d e";
  }

  .gallery__grid--bottom {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "f g"
      "i j"
      "h h";
  }

  .gallery__image {
    aspect-ratio: 4 / 3;
  }

  /* Reviews */
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .values__grid {
    grid-template-columns: 1fr;
  }

  .contact__form-wrap {
    padding: 24px;
  }
}

/* ===========================
   ANIMATIONS D'ENTRÉE
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }
