/* ===== Variables : charte graphique ===== */
:root {
  --mint: #D6FFEA;      /* couleur principale / fond */
  --navy: #000D75;      /* texte & éléments clés */
  --mint-dark: #b9f0d4; /* variante pour contrastes */
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 13, 117, .12);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--mint);
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
a { color: inherit; }
img, iframe { max-width: 100%; }
.container { width: min(1150px, 92%); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(214, 255, 234, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 13, 117, .15);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; }
.logo em { font-weight: 500; }
.logo__mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--mint); font-size: 1.3rem;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; position: relative; }
.nav a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--navy); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.nav__cta { background: var(--navy); color: var(--mint); padding: .5rem 1.2rem; border-radius: 999px; }

/* Burger (mobile) */
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Boutons ===== */
.btn {
  display: inline-block; padding: .85rem 1.8rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 2px solid var(--navy); cursor: pointer; font-size: 1rem;
  font-family: inherit; transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: var(--mint); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--mint); }

/* ===== Hero Noël ===== */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.7), transparent 40%),
    linear-gradient(135deg, var(--mint), var(--mint-dark));
  padding: clamp(3rem, 8vw, 6rem) 0;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.hero__viewport { overflow: hidden; }
.hero__track { display: flex; transition: transform .6s ease; }
.hero__slide { flex: 0 0 100%; min-width: 0; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
.hero__nav { margin-top: 2rem; }
.hero__circle--placeholder { display: grid; place-items: center; font-size: clamp(6rem, 16vw, 9rem); }
.badge { display: inline-block; background: var(--navy); color: var(--mint); padding: .3rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.accent { font-style: italic; text-decoration: underline wavy; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hero p { max-width: 55ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero__visual { display: grid; place-items: center; }
.hero__circle {
  width: min(360px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--white); border: 6px solid var(--navy); box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
.hero__circle img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ===== Sections ===== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--white); }
.section__head { text-align: center; max-width: 650px; margin: 0 auto 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 600; margin: 0 0 .5rem; opacity: .8; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--contact { grid-template-columns: 1.2fr 1fr; gap: 3rem; }

.card {
  background: var(--white); border: 1.5px solid rgba(0,13,117,.15); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); transition: transform .25s;
}
.section--alt .card { background: var(--mint); }
.card:hover { transform: translateY(-5px); }
.card__icon { font-size: 2.5rem; margin-bottom: .5rem; }
.card--small { padding: 1.5rem; }
.card--small p { margin: 0; font-size: .95rem; }
.list { padding-left: 1.2rem; margin: 0 0 1rem; }
.list li { margin-bottom: .3rem; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--navy); }

/* Cave */
.cave {
  margin-top: 2rem; background: var(--navy); color: var(--mint); border-radius: var(--radius);
  padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cave h3 { margin-bottom: .3rem; }
.cave p { margin: 0; max-width: 45ch; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { border: 1.5px solid var(--mint); padding: .35rem 1rem; border-radius: 999px; font-weight: 500; }
.legal { font-size: .8rem; text-align: center; opacity: .7; margin-top: 1rem; }

/* ===== Avis ===== */
.rating {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.5rem;
  background: var(--white); border-radius: var(--radius); padding: 1.5rem 2rem; box-shadow: var(--shadow); margin-bottom: 2rem;
}
.rating p { margin: 0; }
.rating__score { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 800; line-height: 1; }
.rating__score small { font-size: 1.3rem; font-weight: 500; }
.stars { color: var(--navy); letter-spacing: 3px; font-size: 1.2rem; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-weight: 500; }

.carousel { max-width: 760px; margin: 0 auto; overflow: hidden; }
.carousel__track { display: flex; transition: transform .5s ease; }
.review {
  flex: 0 0 100%; margin: 0; padding: 2rem; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.review p { font-size: 1.15rem; font-style: italic; margin: .8rem 0 1rem; }
.review cite { font-weight: 600; font-style: normal; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.carousel__nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--navy);
  background: transparent; color: var(--navy); font-size: 1.4rem; cursor: pointer;
}
.carousel__nav button:hover { background: var(--navy); color: var(--mint); }
.dots { display: flex; gap: .5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; padding: 0; cursor: pointer; }
.dot.active { background: var(--navy); }

/* ===== Formulaire & infos ===== */
.form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--navy); background: var(--mint); border: 2px solid rgba(0,13,117,.35);
  border-radius: 12px; padding: .75rem 1rem; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); }
.form input.invalid, .form textarea.invalid { border-color: #b00020; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 600; }

.info { background: var(--mint); border-radius: var(--radius); padding: 2rem; align-self: start; box-shadow: var(--shadow); }
.info p { margin: 0 0 1rem; }
.info a { font-weight: 600; }
.info iframe { width: 100%; height: 220px; border: 0; border-radius: 12px; margin-top: .5rem; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: var(--mint); padding: 1.5rem 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer p { margin: 0; }
.social { display: flex; gap: 1.2rem; }
.social a { text-decoration: none; font-weight: 500; }
.social a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--contact, .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__circle { width: min(240px, 60vw); }
}
@media (max-width: 800px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--mint); border-bottom: 1px solid rgba(0,13,117,.15);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 400px; }
  .nav a { padding: 1rem 5%; }
  .nav__cta { border-radius: 0; background: transparent; color: var(--navy); }
}
@media (max-width: 600px) {
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .logo__text { font-size: 1rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Page catalogue panettones ===== */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; text-align: center; }
.page-head p { max-width: 60ch; margin-inline: auto; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product { background: var(--white); border: 1.5px solid rgba(0,13,117,.15); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); text-align: center; transition: transform .25s; }
.product:hover { transform: translateY(-5px); }
.product__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--mint); border: 2px dashed rgba(0,13,117,.3); display: grid; place-items: center; font-size: .9rem; opacity: .9; }
.product__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__name { font-size: 1.05rem; margin: .9rem 0 .2rem; }
.product__price { margin: 0; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 960px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .products { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 380px) { .products { grid-template-columns: 1fr; } }

.product__img:has(img) { border: 0; background: var(--white); }
.product__img img { object-fit: contain; }

.product__weight { margin: 0 0 .3rem; font-size: .9rem; opacity: .75; }

/* ===== Page de remerciement ===== */
.thanks { padding: clamp(3rem, 8vw, 6rem) 0; }
.thanks__card { max-width: 720px; margin: 0 auto; background: var(--white); border: 1.5px solid rgba(0,13,117,.15); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.thanks__check { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: var(--navy); color: var(--mint); display: grid; place-items: center; font-size: 2.2rem; }
.thanks__steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; text-align: left; background: var(--mint); border-radius: 12px; padding: 1.2rem 1.5rem; }
.thanks__contact { font-size: .95rem; }
.thanks__actions { justify-content: center; }
