/* ============================================================
   RADDUSO — Styles principaux
   Palette : Terracotta · Blé · Ivoire · Encre
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --c-terra:    #C4622D;
  --c-terre:    #8B4513;
  --c-ble:      #D4A853;
  --c-ble-pale: #EDD9A3;
  --c-ivoire:   #F7F0E6;
  --c-creme:    #FBF7F0;
  --c-encre:    #1C1611;
  --c-gris:     #6B6157;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans:  'Jost', sans-serif;
  --nav-h: 72px;
  --radius: 2px;
  --ease:   cubic-bezier(.25,.46,.45,.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--c-creme);
  color: var(--c-encre);
  font-family: var(--f-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { font-family: var(--f-serif); font-weight: 300; line-height: 1.15; }
.display-xl {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-style: italic;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.display-lg {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -.01em;
}
.label {
  font-family: var(--f-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-terra);
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 7rem 0; }
.section--dark  { background: var(--c-encre); color: var(--c-ivoire); }
.section--terra { background: var(--c-terra); color: var(--c-creme); }
.section--ble   { background: var(--c-ble-pale); }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-sans); font-weight: 400; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .9rem 2.2rem;
  border: 1px solid currentColor;
  transition: background .25s var(--ease), color .25s var(--ease), transform .15s;
  cursor: pointer; background: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark  { background: var(--c-encre); color: var(--c-ivoire); border-color: var(--c-encre); }
.btn--dark:hover { background: var(--c-terra); border-color: var(--c-terra); }
.btn--outline { color: var(--c-encre); }
.btn--outline:hover { background: var(--c-encre); color: var(--c-ivoire); }
.btn--light { background: var(--c-ivoire); color: var(--c-encre); border-color: var(--c-ivoire); }
.btn--light:hover { background: var(--c-ble-pale); border-color: var(--c-ble-pale); }

body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .35;
  mix-blend-mode: multiply;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2.5rem;
  transition: background .4s var(--ease), backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(247,240,230,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,98,45,.15);
}
.nav__logo {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: var(--c-encre);
  flex: 1;
}
.nav__logo span { color: var(--c-terra); }
.nav__links { display: flex; gap: 2.5rem; }
.nav__links a {
  font-size: .8rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-encre); opacity: .7;
  transition: opacity .2s, color .2s;
}
.nav__links a:hover { opacity: 1; color: var(--c-terra); }
.nav__cta { margin-left: 2.5rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.nav__burger span { display: block; width: 24px; height: 1px; background: var(--c-encre); transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

/* Colonne gauche : fond plein ivoire, texte lisible */
.hero__left {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 4rem) 4rem 5rem;
  position: relative; z-index: 2;
  background: var(--c-creme);
}

.hero__tag {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 2rem;
}
.hero__tag::before {
  content: '';
  display: block; width: 32px; height: 1px; background: var(--c-terra);
}
.hero__title { margin-bottom: 1.8rem; }
.hero__title em { display: block; color: var(--c-terra); }
.hero__sub {
  font-size: 1.05rem; color: var(--c-gris);
  max-width: 38ch; margin-bottom: 2.8rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Colonne droite : photo pleine, sans voile */
.hero__right {
  position: relative; overflow: hidden;
}
.hero__slider {
  position: absolute; inset: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero__slide.active { opacity: 1; }

/* Fondu très subtil sur le bord gauche de la photo (raccord colonne) */
.hero__right::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(to right, var(--c-creme), transparent);
  z-index: 2; pointer-events: none;
}

.hero__scroll {
  position: absolute; bottom: 2.5rem; right: 2.5rem;
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.hero__scroll span {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gris);
}
.hero__scroll-line {
  width: 1px; height: 40px; background: var(--c-terra);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--c-terra);
  color: var(--c-ivoire);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 3rem;
  animation: marquee 28s linear infinite;
}
.marquee-track span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.marquee-track .dot { color: var(--c-ble); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PRODUITS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}
.product-card {
  background: var(--c-ivoire);
  border: 1px solid rgba(196,98,45,.1);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28,22,17,.1);
}
.product-card__img {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--c-ble-pale);
  position: relative;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--c-terra); color: #fff;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .25rem .7rem;
}
.product-card__body { padding: 1.6rem; }
.product-card__name {
  font-family: var(--f-serif);
  font-size: 1.4rem; font-weight: 400;
  margin-bottom: .5rem;
}
.product-card__desc { font-size: .88rem; color: var(--c-gris); line-height: 1.6; }
.product-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.6rem;
  border-top: 1px solid rgba(196,98,45,.1);
}
.product-card__price { font-family: var(--f-serif); font-size: 1.2rem; }
.product-card__order {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-terra); font-weight: 400; border: 1px solid var(--c-terra);
  padding: .35rem .9rem; transition: .2s;
}
.product-card__order:hover { background: var(--c-terra); color: #fff; }
.product-card__order.hidden { display: none; }

/* ── SAVOIR-FAIRE ── */
.savoir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 4rem;
}
.savoir-item {
  padding: 3rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.savoir-item:hover { background: rgba(255,255,255,.04); }
.savoir-item__icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.savoir-item__title {
  font-family: var(--f-serif); font-size: 1.5rem;
  margin-bottom: .6rem; color: var(--c-ble-pale);
}
.savoir-item__text { font-size: .9rem; color: rgba(247,240,230,.6); }

/* ── HORAIRES ── */
.infos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}
.schedule-list { list-style: none; }
.schedule-list li {
  display: flex; justify-content: space-between;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(196,98,45,.12);
  font-size: .92rem;
}
.schedule-list li .day { font-weight: 400; }
.schedule-list li .hours { color: var(--c-gris); }
.schedule-list li.today { color: var(--c-terra); font-weight: 400; }
.schedule-list li.today .hours { color: var(--c-terra); }
.schedule-list li.closed { opacity: .4; }

.map-frame {
  width: 100%; aspect-ratio: 4/3;
  border: none;
  filter: sepia(.2) contrast(1.05);
}

/* ── COMMANDE ── */
.section--order { display: none; }
body.feat-reservations .section--order { display: block; }

.order-form {
  max-width: 700px; margin: 4rem auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.order-form .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--c-gris);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-ivoire);
  border: 1px solid rgba(196,98,45,.2);
  padding: .85rem 1rem;
  font-family: var(--f-sans); font-size: .9rem; color: var(--c-encre);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--c-terra); }
.form-group textarea { resize: vertical; min-height: 100px; }

.cart-panel {
  background: var(--c-ivoire);
  border: 1px solid rgba(196,98,45,.15);
  padding: 2rem;
  margin-bottom: 2rem;
}
.cart-panel h3 { font-family: var(--f-serif); font-size: 1.3rem; margin-bottom: 1.2rem; }
.cart-items { list-style: none; margin-bottom: 1rem; }
.cart-items li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; border-bottom: 1px solid rgba(196,98,45,.1);
  font-size: .9rem;
}
.cart-total { display: flex; justify-content: flex-end; }
.cart-total strong { font-family: var(--f-serif); font-size: 1.3rem; }

/* ── FOOTER ── */
.footer {
  background: var(--c-encre); color: rgba(247,240,230,.6);
  padding: 5rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand .footer__logo {
  font-family: var(--f-serif); font-size: 1.4rem; color: var(--c-ivoire);
  margin-bottom: 1rem;
}
.footer__brand .footer__logo span { color: var(--c-terra); }
.footer__brand p { font-size: .88rem; max-width: 30ch; line-height: 1.7; }
.footer h4 {
  font-family: var(--f-sans); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-ivoire); margin-bottom: 1.4rem; font-weight: 500;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer ul a { font-size: .88rem; transition: color .2s; }
.footer ul a:hover { color: var(--c-ble-pale); }
.footer__bottom {
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem;
}
.footer__socials { display: flex; gap: 1.2rem; }
.footer__socials a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
  font-size: .9rem;
}
.footer__socials a:hover { border-color: var(--c-terra); color: var(--c-terra); }

/* ── Animations ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.toast-container {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 9999; display: flex; flex-direction: column; gap: .8rem;
}
.toast {
  background: var(--c-encre); color: var(--c-ivoire);
  padding: 1rem 1.5rem; min-width: 280px; max-width: 380px;
  font-size: .88rem; line-height: 1.5;
  border-left: 3px solid var(--c-terra);
  animation: toastIn .3s var(--ease);
}
.toast.success { border-color: #4CAF50; }
.toast.error   { border-color: #f44336; }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:none; } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__left {
    background: transparent;
    justify-content: center; min-height: 100svh;
    position: relative; z-index: 2;
  }
  .hero__right { position: absolute; inset: 0; z-index: 0; }
  .hero__right::after { display: none; }
  .hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to right, rgba(251,247,240,.92) 0%, rgba(251,247,240,.6) 55%, rgba(251,247,240,.2) 100%);
  }
  .savoir-grid { grid-template-columns: 1fr; }
  .infos-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.menu-open .nav__links {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--nav-h) 0 0;
    background: var(--c-creme);
    align-items: center; justify-content: center;
    gap: 2.5rem; z-index: 99;
  }
  .nav.menu-open .nav__links a { font-size: 1.2rem; }
  .order-form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__left { padding: calc(var(--nav-h) + 2rem) 1.8rem 3rem; }
}

/* ── FORMULAIRE CONTACT ──────────────────────────────────── */
.contact-input {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: .8rem 1rem;
  font-family: var(--f-sans); font-size: .88rem;
  color: var(--c-ivoire); outline: none; transition: border-color .2s;
  width: 100%;
}
.contact-input:focus { border-color: rgba(255,255,255,.5); }
.contact-input::placeholder { color: rgba(247,240,230,.3); }

@media (max-width: 768px) {
  #contact .reveal[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  #contact form div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE COMPLET — v2.0
   ════════════════════════════════════════════════════════════ */

/* ── Tablette (max 1024px) ── */
@media (max-width: 1024px) {
  .container { padding-inline: 2rem; }

  /* Produits */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Savoir-faire */
  .savoir-faire__img { height: 320px; }

  /* Contact section */
  #contact .reveal { grid-template-columns: 1fr !important; gap: 3rem !important; }
}

/* ── Mobile (max 768px) ── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .container { padding-inline: 1.2rem; }

  /* ── Section générique ── */
  .section { padding: 4rem 0; }
  .display-xl { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .display-lg { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  /* ── Hero ── */
  .hero__left { padding: calc(var(--nav-h) + 1.5rem) 1.2rem 2.5rem; }
  .hero__left .display-xl { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__actions { flex-direction: column; gap: .8rem; }
  .hero__actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* ── Marquee ── */
  .marquee { padding: 1.2rem 0; }

  /* ── Produits ── */
  .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .products-filter { gap: .5rem; flex-wrap: wrap; }
  .products-filter button { font-size: .7rem; padding: .5rem .9rem; }

  /* ── Savoir-faire ── */
  .savoir-faire__img { height: 240px; }
  .savoir-faire__content { padding: 2rem 0 0; }

  /* ── Infos / Horaires ── */
  .schedule-list li { padding: .7rem 0; font-size: .85rem; }
  .map-container { height: 220px; }
  .contact-btns { flex-direction: column; gap: .8rem; }
  .contact-btns .btn { width: 100%; justify-content: center; }

  /* ── Section commande ── */
  .cart-summary { margin-top: 2rem; }
  #cart-items li { font-size: .82rem; }

  /* ── Contact form ── */
  #contact .reveal { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  #contact form div[style*="grid-template-columns"] { 
    grid-template-columns: 1fr !important; 
  }

  /* ── Footer ── */
  .footer { padding: 3rem 0 2rem; }
  .footer__brand p { font-size: .82rem; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; font-size: .72rem; }

  /* ── Badges ── */
  .product-card__img { height: 200px; }
  .product-card__body { padding: 1rem 1rem .5rem; }
  .product-card__footer { padding: .5rem 1rem 1rem; }
}

/* ── Très petit mobile (max 480px) ── */
@media (max-width: 480px) {
  .container { padding-inline: 1rem; }
  .hero__left { padding: calc(var(--nav-h) + 1rem) 1rem 2rem; }
  .section { padding: 3rem 0; }
  .display-xl { font-size: clamp(1.8rem, 10vw, 2.5rem); }
  .display-lg { font-size: clamp(1.5rem, 8vw, 2rem); }
  .products-grid { grid-template-columns: 1fr; }
  .btn { padding: .85rem 1.4rem; font-size: .72rem; }
}
