/* ============================================================
   DELAMARE VASSE — French bakery manufacturing SME template
   ============================================================ */

:root {
  --fr-burgundy: #6b2737;
  --fr-burgundy-dark: #4a1a26;
  --fr-gold: #c9a227;
  --fr-gold-light: #e8d48b;
  --fr-cream: #faf7f2;
  --fr-wheat: #e8dcc8;
  --fr-brown: #5c4033;
  --fr-brown-light: #8b6914;
  --dark: #2c2419;
  --gray: #666666;
  --border: #ddd5c8;
  --white: #ffffff;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 15px; color: var(--dark); background: var(--fr-cream); line-height: 1.65; }

a { color: var(--fr-burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Top bar (typical FR SME) ---------- */
.top-bar {
  background: var(--fr-burgundy-dark);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: var(--fr-gold-light); font-weight: 600; }
.top-bar .phone { font-size: 14px; font-weight: 700; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(92,64,51,0.06);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; flex-wrap: wrap; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-emblem {
  width: 52px; height: 52px; border: 2px solid var(--fr-gold);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--fr-burgundy);
  background: var(--fr-cream);
}
.logo-text { line-height: 1.2; }
.logo-name { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--fr-burgundy); display: block; letter-spacing: 0.04em; }
.logo-tag { font-size: 11px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 10px 16px; color: var(--fr-brown); font-weight: 600; font-size: 14px;
  font-family: var(--font-sans); letter-spacing: 0.02em;
}
.main-nav a:hover { color: var(--fr-burgundy); text-decoration: none; background: var(--fr-wheat); border-radius: 4px; }

.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.btn-primary {
  background: var(--fr-burgundy); color: #fff; padding: 11px 22px; border-radius: 4px;
  font-weight: 700; font-size: 14px; border: none; cursor: pointer; white-space: nowrap;
  display: inline-block; text-decoration: none; letter-spacing: 0.03em;
}
.btn-primary:hover { background: var(--fr-burgundy-dark); color: #fff; text-decoration: none; }

/* Language switch — top-right, prominent */
.lang-switch { position: relative; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--white); border: 2px solid var(--fr-burgundy);
  color: var(--fr-burgundy); font-weight: 800; font-size: 14px;
  padding: 8px 14px; cursor: pointer; border-radius: 4px; min-width: 72px;
}
.lang-switch-btn:hover { background: var(--fr-wheat); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  background: #fff; border: 2px solid var(--fr-burgundy); border-radius: 4px;
  min-width: 190px; box-shadow: 0 8px 28px rgba(0,0,0,0.12); overflow: hidden; z-index: 120;
}
.lang-dropdown.open { display: block; }
.lang-dropdown button {
  display: block; width: 100%; text-align: left; padding: 12px 16px;
  border: none; background: #fff; cursor: pointer; font-size: 13px; font-weight: 700;
  border-bottom: 1px solid var(--border); color: var(--dark);
}
.lang-dropdown button:last-child { border-bottom: none; }
.lang-dropdown button:hover { background: var(--fr-cream); }
.lang-dropdown button.active { background: var(--fr-burgundy); color: #fff; }
.lang-dropdown .lang-sub { display: block; font-size: 11px; font-weight: 400; opacity: 0.75; margin-top: 2px; }
.lang-dropdown button.active .lang-sub { color: rgba(255,255,255,0.85); }

.menu-toggle { display: none; background: var(--fr-burgundy); color: #fff; border: none; padding: 10px 14px; font-size: 18px; cursor: pointer; border-radius: 4px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--fr-wheat) 0%, var(--fr-cream) 50%, #fff 100%);
  padding: 64px 0; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: "🥖"; position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  font-size: 120px; opacity: 0.08; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fr-gold); margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; color: var(--fr-burgundy); line-height: 1.2; margin-bottom: 18px;
}
.hero-lead { font-size: 16px; color: var(--gray); margin-bottom: 28px; max-width: 52ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badge {
  background: var(--white); border: 1px solid var(--border); padding: 8px 16px;
  border-radius: 30px; font-size: 12px; font-weight: 600; color: var(--fr-brown);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline {
  background: transparent; color: var(--fr-burgundy); border: 2px solid var(--fr-burgundy);
  padding: 11px 22px; border-radius: 4px; font-weight: 700; font-size: 14px;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: var(--fr-burgundy); color: #fff; text-decoration: none; }

.hero-visual {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 32px; text-align: center; box-shadow: 0 8px 32px rgba(92,64,51,0.08);
}
.hero-visual .big-ico { font-size: 72px; margin-bottom: 16px; }
.hero-visual h3 { font-family: var(--font-serif); font-size: 20px; color: var(--fr-burgundy); margin-bottom: 8px; }
.hero-visual p { font-size: 14px; color: var(--gray); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--fr-burgundy); color: #fff; padding: 24px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-item .ico { font-size: 28px; margin-bottom: 8px; }
.trust-item h4 { font-family: var(--font-serif); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 12px; opacity: 0.85; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-family: var(--font-serif); font-size: 32px; color: var(--fr-burgundy); font-weight: 700; margin-bottom: 12px; }
.section-head p { color: var(--gray); font-size: 15px; }
.section-head .ornament { color: var(--fr-gold); font-size: 20px; margin: 12px 0; letter-spacing: 8px; }

/* ---------- Products grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(92,64,51,0.1); }
.product-img {
  height: 140px; background: linear-gradient(135deg, var(--fr-wheat), var(--fr-cream));
  display: grid; place-items: center; font-size: 56px; border-bottom: 1px solid var(--border);
}
.product-body { padding: 22px; }
.product-body h3 { font-family: var(--font-serif); font-size: 18px; color: var(--fr-burgundy); margin-bottom: 8px; }
.product-body p { font-size: 13px; color: var(--gray); line-height: 1.55; }
.product-tag {
  display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fr-gold); background: var(--fr-cream);
  padding: 4px 10px; border-radius: 3px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-text p { color: var(--gray); margin-bottom: 16px; font-size: 15px; }
.about-quote {
  background: var(--fr-wheat); border-left: 4px solid var(--fr-gold);
  padding: 20px 24px; font-family: var(--font-serif); font-size: 18px; font-style: italic;
  color: var(--fr-brown); margin-top: 20px; border-radius: 0 6px 6px 0;
}
.about-facts { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.about-facts h3 { background: var(--fr-burgundy); color: #fff; padding: 14px 20px; font-family: var(--font-serif); font-size: 17px; }
.about-facts dl { padding: 0; }
.about-facts dt { font-weight: 700; font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 20px 4px; }
.about-facts dd { padding: 0 20px 14px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--dark); }
.about-facts dd:last-child { border-bottom: none; }

/* ---------- Process / savoir-faire ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-item { text-align: center; padding: 24px 16px; }
.process-item .num { font-family: var(--font-serif); font-size: 36px; color: var(--fr-gold); font-weight: 700; margin-bottom: 8px; }
.process-item h4 { font-family: var(--font-serif); font-size: 16px; color: var(--fr-burgundy); margin-bottom: 6px; }
.process-item p { font-size: 12px; color: var(--gray); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; }
.contact-info {
  background: var(--fr-burgundy); color: #fff; border-radius: 8px; padding: 32px;
}
.contact-info h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--fr-gold); }
.contact-info ul { list-style: none; }
.contact-info li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 14px; }
.contact-info li:last-child { border-bottom: none; }
.contact-info a { color: var(--fr-gold-light); font-weight: 700; }
.contact-info .label { display: block; font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--fr-brown); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px;
  font-family: inherit; font-size: 14px; margin-bottom: 16px; outline: none; background: var(--fr-cream);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--fr-burgundy); }
.contact-form button { width: 100%; background: var(--fr-burgundy); color: #fff; border: none; padding: 14px; font-weight: 700; font-size: 15px; border-radius: 4px; cursor: pointer; letter-spacing: 0.03em; }
.contact-form button:hover { background: var(--fr-burgundy-dark); }
.form-msg { margin-top: 10px; font-size: 13px; font-weight: 600; min-height: 1.2em; }

/* ---------- Footer (FR legal standard) ---------- */
.site-footer { background: var(--dark); color: #aaa; font-size: 13px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0; }
.footer-col h4 { font-family: var(--font-serif); color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 13px; line-height: 1.65; margin-bottom: 10px; }
.footer-col a { display: block; color: #999; padding: 5px 0; font-size: 13px; }
.footer-col a:hover { color: var(--fr-gold-light); }
.footer-bottom {
  border-top: 1px solid #444; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #777; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.mobile-open { display: flex; flex-direction: column; width: 100%; order: 10; background: var(--fr-cream); padding: 10px; border-radius: 6px; }
}
@media (max-width: 560px) {
  .products-grid, .process-grid, .trust-grid, .footer-main { grid-template-columns: 1fr; }
}
