/* ═══════════════════════════════════════════
   ATELIER FRAISE — Design System
   Pâtisserie artisanale sur commande · Paris
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ── VARIABLES ── */
:root {
  --creme:       #FAFAF5;
  --blanc:       #FFFFFF;
  --brun:        #000000;
  --rouge:       #C8394A;
  --rouge-hover: #A52D3C;
  --rouge-pale:  #FFF0F2;
  --rouge-light: #F5C4CC;
  --beige:       #EDE0D4;
  --beige-fonce: #D4B99A;
  --gris-chaud:  #8A7060;
  --border:      rgba(28,17,8,0.10);
  --border-med:  rgba(28,17,8,0.18);
  --ombre:       0 4px 32px rgba(28,17,8,0.08);
  --ombre-md:    0 12px 60px rgba(28,17,8,0.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--creme);
  color: var(--brun);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── TYPO ── */
h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--brun);}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { font-size: 0.97rem; line-height: 1.78; color: var(--brun); }
p + p { margin-top: 0.9rem; }
strong { color: var(--brun); font-weight: 600; }
em { font-style: italic; }
a { color: var(--rouge); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.75; }

ul, ol { padding-left: 1.2rem; }
li { font-size: 0.95rem; line-height: 1.75; color: var(--gris-chaud); }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; top: -60px; left: 1rem;
  background: var(--rouge); color: #fff;
  padding: .5rem 1rem; border-radius: 6px;
  font-size: .85rem; font-weight: 600; z-index: 10000;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(250, 250, 245, 0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--brun);
}
.nav-logo-text {
     
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--rouge); }

.nav-links {
  list-style: none;
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 400;
  color: var(--brun); text-decoration: none;
  opacity: 0.65; transition: opacity .2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta {
  background: var(--rouge); color: #fff !important;
  opacity: 1 !important; font-weight: 500;
  padding: 0.5rem 1.3rem; border-radius: 100px;
  transition: background .2s, transform .2s !important;
}
.nav-links .nav-cta:hover { background: var(--rouge-hover); transform: translateY(-1px); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--brun); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 66px; left: 0; right: 0; z-index: 190;
  background: rgba(250,250,245,0.97); backdrop-filter: blur(16px);
  flex-direction: column; padding: 1.2rem 5% 1.8rem;
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .25s, opacity .25s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 1rem; font-weight: 400; color: var(--brun);
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  text-decoration: none; transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; font-weight: 600; color: var(--rouge); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 500;
  padding: 0.85rem 2rem; border-radius: 100px;
  text-decoration: none; transition: all .25s;
  cursor: pointer; border: none; letter-spacing: 0.01em;
}
.btn-rouge {
  background: var(--rouge); color: #fff;
  box-shadow: 0 4px 20px rgba(200,57,74,0.3);
}
.btn-rouge:hover {
  background: var(--rouge-hover); opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,57,74,0.4);
}
.btn-outline {
  background: transparent; color: var(--brun);
  border: 1.5px solid var(--border-med);
}
.btn-outline:hover { border-color: var(--rouge); color: var(--rouge); opacity: 1; }
.btn-brun {
  background: var(--brun); color: #fff;
}
.btn-brun:hover { opacity: .8; transform: translateY(-1px); }

/* ── SECTION LABEL ── */
.label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--rouge);
  margin-bottom: 0.9rem;
}

/* ── SECTIONS ── */
section { padding: 6rem 5%; }
.section-header { max-width: 600px; margin-bottom: 3.5rem; }
.section-header p { margin-top: 0.8rem; font-size: 1.05rem; }

/* ── HERO HOME ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem 5% 6rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.5;
  background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(images/assortment-pieces-cake_11zon.webp);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--rouge); }
.hero-sub {
  font-size: 1.12rem; line-height: 1.7; max-width: 480px;
  margin-bottom: 1.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-detail {
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.hero-detail-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem;
}
.hero-detail-item svg { color: var(--rouge); flex-shrink: 0; }

/* Hero decos */
.hero-deco {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  pointer-events: none; z-index: 1;
}
.hero-deco-card {
  background: #fff; border-radius: 18px; padding: 1.2rem 1.4rem;
  box-shadow: var(--ombre-md); min-width: 150px;
  animation: floatCard 5s ease-in-out infinite;
}
.hero-deco-card:nth-child(2) { animation-delay: -1.5s; margin-top: 1.5rem; }
.hero-deco-card:nth-child(3) { animation-delay: -3s; margin-top: -0.5rem; }
.hero-deco-card:nth-child(4) { animation-delay: -2s; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.deco-emoji { font-size: 1.6rem; margin-bottom: 0.4rem; }
.deco-name {     font-size: 0.88rem; font-weight: 600; color: var(--brun); }
.deco-price { font-size: 0.75rem; color: var(--rouge); font-weight: 500; margin-top: 0.1rem; }

/* ── PRODUITS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--blanc);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-md);
  opacity: 1;
}
.product-thumb {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative; overflow: hidden;
}
.product-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.product-name {
     
  font-size: 1.15rem; font-weight: 600; color: var(--brun);
  margin-bottom: 0.4rem;
}
.product-desc {
  font-size: 0.85rem; color: var(--brun);
  line-height: 1.65; flex: 1; margin-bottom: 1rem;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price {     font-size: 1.3rem; font-weight: 700; color: var(--rouge); }
.product-link { font-size: 0.82rem; font-weight: 500; color: var(--rouge); }
.product-link:hover { opacity: .7; }

/* ── VALEURS ── */
.valeurs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.valeur-card {
  background: var(--blanc); border-radius: 20px;
  padding: 2rem 1.8rem; border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.valeur-card:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.valeur-icon {
  width: 48px; height: 48px;
  background: var(--rouge-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.valeur-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

/* ── PROCESS ── */
.process-section { background: var(--brun); color: var(--blanc); }
.process-section .label { color: var(--rouge-light); }
.process-section h2 { color: var(--blanc); }
.process-section p { color: rgba(255,255,255,0.6); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3.5rem; }
.process-step { position: relative; }
.step-num {
     
  font-size: 3.5rem; font-weight: 700; line-height: 1;
  color: rgba(200,57,74,0.4); margin-bottom: 0.8rem;
}
.process-step h3 { color: var(--blanc); font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ── PRODUIT HERO (page individuelle) ── */
.product-hero {
  padding-top: 8rem; padding-bottom: 4rem;
  padding-left: 5%; padding-right: 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.product-hero-visual {
  border-radius: 28px; overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  position: relative;
}
.product-hero-label { margin-bottom: 0.5rem; }
.product-hero-content h1 { margin-bottom: 0.6rem; }
.product-hero-content .product-hero-price {
     
  font-size: 2rem; font-weight: 700; color: var(--rouge);
  margin-bottom: 0.3rem;
}
.product-hero-content .product-hero-portions {
  font-size: 0.85rem; color: var(--gris-chaud);
  margin-bottom: 1.8rem; margin-top: 0;
}
.product-hero-content p { margin-bottom: 2rem; }

/* ── INGREDIENTS ── */
.ingredients-section { background: var(--beige); }
.ingredients-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 1rem; }
.ing-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.ing-list li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.92rem; color: var(--brun); line-height: 1.4;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(28,17,8,0.07);
}
.ing-list li::before { content: '—'; color: var(--rouge); font-weight: 700; flex-shrink: 0; }
.allergen-note {
  background: var(--blanc); border-radius: 14px; padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--rouge);
  font-size: 0.85rem; color: var(--brun); line-height: 1.65;
  margin-top: 2rem;
}

/* ── COMMANDER PAGE ── */
.commander-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.process-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.process-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--blanc); border-radius: 16px; padding: 1.4rem;
  border: 1px solid var(--border);
}
.process-card-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rouge-pale); color: var(--rouge);
  display: flex; align-items: center; justify-content: center;
      font-weight: 700;
  font-size: 1rem; flex-shrink: 0;
}
.process-card h4 { margin-bottom: 0.25rem; }
.process-card p { font-size: 0.87rem; margin: 0; }

/* ── FORMULAIRE ── */
.form-box {
  background: var(--blanc); border-radius: 24px;
  padding: 2.5rem; border: 1px solid var(--border);
  box-shadow: var(--ombre);
}
.form-box h3 { margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.8rem; font-weight: 600; color: var(--brun); letter-spacing: 0.02em; }
input, textarea, select {
  border: 1.5px solid var(--border-med); border-radius: 10px;
  padding: 0.75rem 1rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; background: var(--creme); color: var(--brun);
  transition: border-color .2s; outline: none; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--rouge); background: var(--blanc); }
textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--gris-chaud); margin-top: 0.3rem; }

/* ── À PROPOS ── */
.about-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 5rem; align-items: start; }
.about-portrait {
  border-radius: 24px; overflow: hidden;
  aspect-ratio: 3/4;
  padding-bottom: 2rem; font-size: 5rem;
  position: sticky; top: 8rem;
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-quote {
  background: var(--rouge-pale); border-left: 3px solid var(--rouge);
  border-radius: 0 12px 12px 0; padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}
.about-quote p { color: var(--brun); font-style: italic; }
.about-quote cite { font-size: 0.78rem; color: var(--gris-chaud); margin-top: 0.5rem; display: block; }
.valeurs-inline { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.valeur-inline { display: flex; align-items: flex-start; gap: 1rem; }
.valeur-inline-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rouge); flex-shrink: 0; margin-top: 0.5rem;
}
.valeur-inline h4 { margin-bottom: 0.25rem; }
.valeur-inline p { font-size: 0.88rem; }

/* ── INFOS PAGE ── */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.info-card {
  background: var(--blanc); border-radius: 20px; padding: 2rem;
  border: 1px solid var(--border);
}
.info-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.info-card h3 { margin-bottom: 1rem; }
.info-row { display: flex; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row-label { font-size: 0.82rem; font-weight: 600; color: var(--brun); min-width: 100px; }
.info-row-val { font-size: 0.88rem; color: var(--gris-chaud); line-height: 1.5; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  padding: 1.2rem 0; border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { margin-bottom: 0.4rem; font-size: 0.95rem; }
.faq-item p { font-size: 0.87rem; }
.paiement-badges { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.paiement-badge {
  background: var(--creme); border: 1px solid var(--border-med);
  border-radius: 100px; padding: 0.4rem 1rem;
  font-size: 0.82rem; font-weight: 500; color: var(--brun);
  display: flex; align-items: center; gap: 0.4rem;
}

/* ── CTA BANDE ── */
.cta-bande {
  background: var(--rouge); padding: 5rem 5%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-bande::before {
  content: '🍓';
  position: absolute; font-size: 12rem; opacity: 0.06;
  top: -2rem; right: -2rem; pointer-events: none;
  filter: grayscale(1);
}
.cta-bande h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-bande p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; }
.btn-blanc { background: #fff; color: var(--rouge); }
.btn-blanc:hover { opacity: .9; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--brun); color: rgba(255,255,255,0.4);
  padding: 2rem 5%; display: flex;
  align-items: center; justify-content: space-between;
  font-size: 0.82rem; gap: 1rem; flex-wrap: wrap;
}
footer a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color .2s; }
footer a:hover { color: #fff; opacity: 1; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-logo {
     
  color: rgba(255,255,255,0.7); font-size: 1rem;
}

/* ── PRODUIT COULEURS ── */
.thumb-fraisier   { background: linear-gradient(145deg, #FFF0F2 0%, #F5B8C4 100%); }
.thumb-framboisier{ background: linear-gradient(145deg, #FDF0F8 0%, #E8A0C8 100%); }
.thumb-poirier    { background: linear-gradient(145deg, #FBF8EF 0%, #D4C48A 100%); }
.thumb-chocolat   { background: linear-gradient(145deg, #2C1A0E 0%, #5C3018 100%); }
.thumb-tarte      { background: linear-gradient(145deg, #FFF8F0 0%, #F5C4A0 100%); }
.thumb-bento      { background: linear-gradient(145deg, #F0F8FF 0%, #C4DCF5 100%); }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--gris-chaud);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gris-chaud); }
.breadcrumb a:hover { color: var(--rouge); opacity: 1; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--brun); }

/* ── NOTE PHOTO ── */
.photo-note {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  border-radius: 8px; padding: 0.4rem 0.8rem;
  font-size: 0.72rem; color: var(--gris-chaud);
}

/* ── PRODUIT SUGGESTION ── */
.autres-produits { background: var(--creme); }
.autres-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 2.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger, .mobile-menu { display: flex; }
  .hero-deco { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .valeurs-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 7rem; }
  .product-hero-visual { max-width: 400px; margin: 0 auto; width: 100%; }
  .commander-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait { position: static; max-width: 300px; margin: 0 auto; }
  .infos-grid { grid-template-columns: 1fr; }
  .ingredients-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .autres-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 4rem 5%; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .autres-grid { grid-template-columns: 1fr; }
  .hero-detail {display: none;}
  .hero-bg {opacity: 0.4;}
  .hero-sub {font-weight: 600;}
}

/* ── FOCUS VISIBLE ── */
:focus-visible {
  outline: 2px solid var(--rouge);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── PREFERS REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
