/* ===========================
   DAUDY COOKIES — stylesheet
   =========================== */

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

:root {
  --cream:      #fdf6ec;
  --peach:      #f5d9c5;       /* fond pêche de la charte */
  --sand:       #f5e6d0;
  --caramel:    #c8874a;
  --brown:      #7b4a1e;
  --dark-brown: #3d1a0e;       /* couleur "Daudy" sombre du logo */
  --dark:       #2c1a0e;
  --pink:       #e8437a;       /* rose du logo */
  --pink-light: #fde8ef;
  --white:      #ffffff;
  --text:       #4a3728;
  --muted:      #9a7b68;

  --radius:     14px;
  --shadow:     0 4px 24px rgba(0,0,0,0.1);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--dark-brown);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ================
   NAV
   ================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 135, 74, 0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--pink); }

.nav-cta {
  background: var(--pink) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.88; color: var(--white) !important; }

/* ================
   HERO
   ================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 10, 4, 0.72) 0%,
    rgba(20, 10, 4, 0.45) 55%,
    rgba(20, 10, 4, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: max(24px, calc((100vw - 1100px) / 2));
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title em {
  font-style: italic;
  color: #f9c0d4;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-tags span {
  display: inline-block;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  line-height: 1.5;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 67, 122, 0.4);
}

.btn-primary:hover {
  background: #d4306a;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 67, 122, 0.5);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.btn-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(221,42,123,0.3);
}

.btn-instagram:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-facebook {
  background: #1877f2;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(24,119,242,0.3);
}

.btn-facebook:hover { opacity: 0.9; transform: translateY(-2px); }

.social-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ================
   RIBBON
   ================ */
.ribbon {
  background: var(--pink);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
}

.ribbon-track {
  display: inline-flex;
  gap: 20px;
  animation: scroll-ribbon 25s linear infinite;
}

.ribbon-track span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 0 6px;
}

@keyframes scroll-ribbon {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================
   SECTIONS
   ================ */
.section { padding: 88px 0; }

.section-header { text-align: center; margin-bottom: 52px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================
   PRODUCTS GRID
   ================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px 22px 24px;
}

.product-info h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-pink    { background: var(--pink-light); color: var(--pink); }
.badge-yellow  { background: #fff8e1; color: #c87f00; }
.badge-green   { background: #e8f5e9; color: #2e7d32; }
.badge-brown   { background: var(--sand); color: var(--brown); }

/* ================
   HOT COOKIE
   ================ */
.section-hot {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.hot-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.35);
  transform: scale(1.04);
}

.hot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 2, 0.55);
}

.hot-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hot-text {
  flex: 1;
  min-width: 280px;
  color: var(--white);
}

.hot-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 18px;
}

.hot-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.hot-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hot-list li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hot-images {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.hot-img {
  width: 210px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hot-img-1 { transform: rotate(-2deg); }
.hot-img-2 { transform: rotate(2deg) translateY(16px); }

/* ================
   GALLERY
   ================ */
.section-gallery { background: var(--sand); }

.gallery-grid {
  columns: 4;
  column-gap: 14px;
}

.gallery-grid img {
  width: 100%;
  display: block;
  margin-bottom: 14px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ================
   CTA
   ================ */
.section-cta { background: var(--dark); }

.section-cta .section-title { color: var(--white); }

.cta-box {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 14px;
}

.cta-box > p {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-infos {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 18px;
}

.cta-info-icon { font-size: 1.3rem; }

.cta-info-item div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-info-item strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  font-weight: 700;
}

.cta-info-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 0 !important;
}

/* ================
   FOOTER
   ================ */
.footer {
  background: #1a0d05;
  padding: 48px 0 28px;
  color: rgba(253,246,236,0.55);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--cream);
  display: block;
  margin-bottom: 8px;
}

.footer-logo em {
  color: var(--pink);
  font-style: italic;
  font-weight: 400;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 220px;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social a {
  color: rgba(253,246,236,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--pink); }

.footer-copy {
  font-size: 0.78rem;
  text-align: center;
  border-top: 1px solid rgba(253,246,236,0.08);
  padding-top: 22px;
}

/* ================
   LOGO IMAGE
   ================ */
.footer-logo-img {
  height: 72px;
  width: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

/* ================
   MARCHÉS
   ================ */
.section-marches {
  background: var(--peach);
}

.marches-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.marches-text {
  flex: 1;
  min-width: 280px;
}

.marches-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.marches-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.marche-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.marche-day {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pink);
  min-width: 82px;
}

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

.marche-time {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.marche-lieu {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--dark-brown);
}

.marches-logo {
  flex-shrink: 0;
}

.marches-logo img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ================
   RESPONSIVE
   ================ */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-images { display: none; }
  .gallery-grid { columns: 3; }
}

@media (max-width: 600px) {
  .hero-content {
    margin-left: 24px;
    margin-right: 24px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta { flex-direction: column; }
  .nav-links { display: none; }
  .gallery-grid { columns: 2; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .marches-logo { display: none; }
  .marches-inner { gap: 24px; }
}
