/* Color System */
:root {
  --beige: #f8f4e3;
  --brown: #6b4226;
  --gold: #d4a373;
  --text: #3a2a1b;
  --text-muted: #6e5a4b;
  --surface: #fffaf0;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--beige);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.section { padding: 3.5rem 0; }
.section.alt { background: #f4efdf; }
.section-title { margin: 0 0 1.25rem; font-size: 2rem; color: var(--brown); }

.btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--gold); color: #fff; }
.btn-accent:hover { background: #c79660; box-shadow: 0 6px 20px rgba(212,163,115,.35); }

.small { font-size: .925rem; color: var(--text-muted); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,244,227,.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(107,66,38,.15);
}
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; gap: 1rem; }
.logo { font-weight: 800; letter-spacing: .5px; color: var(--brown); font-size: 1.15rem; }

.site-nav { display: flex; gap: 1rem; align-items: center; }
.site-nav a { padding: .55rem .85rem; border-radius: .6rem; color: var(--text); transition: background-color .2s ease, color .2s ease; }
.site-nav a:hover { background: rgba(107,66,38,.08); }
.site-nav a.active { background: var(--brown); color: #fff; }

.nav-toggle { display: none; border: 0; background: var(--gold); color: #fff; padding: .5rem .7rem; border-radius: .5rem; font-size: 1rem; }

/* Hero */
.hero { position: relative; min-height: 68vh; display: grid; place-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.35)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 2rem 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .75rem; }
.hero p { font-size: clamp(1rem, 2.2vw, 1.25rem); margin: 0 0 1.25rem; opacity: .95; }

/* Page hero (small) */
.page-hero.small { background: linear-gradient(180deg, #fffaf0, #f0e6d8); border-bottom: 1px solid rgba(107,66,38,.15); }
.page-hero.small .container { padding: 2.2rem 0; }
.page-hero.small h1 { margin: 0 0 .25rem; color: var(--brown); }

/* Cards (Spécialités) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(107,66,38,.08); transition: transform .18s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(107,66,38,.14); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1rem; }
.card-body h3 { margin: 0 0 .5rem; color: var(--brown); }
.card-body p { margin: 0; color: var(--text-muted); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonials blockquote { margin: 0; padding: 1.25rem; background: #fff; border-radius: .9rem; box-shadow: 0 10px 26px rgba(0,0,0,.05); border-left: 4px solid var(--gold); font-style: italic; }
.testimonials cite { display: block; margin-top: .5rem; font-style: normal; color: var(--text-muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.about-photo { border-radius: 1rem; box-shadow: 0 14px 36px rgba(0,0,0,.12); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.team-card { background: #fff; border-radius: 1rem; overflow: hidden; text-align: center; padding-bottom: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card h3 { margin: .75rem 0 .25rem; color: var(--brown); }
.team-card p { margin: 0; color: var(--text-muted); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.product-card { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); transition: transform .18s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.14); }
.product-card .media { overflow: hidden; }
.product-card img { width: 100%; height: 240px; object-fit: cover; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.05); }
.product-card .info { padding: 1rem; }
.product-card .info h3 { margin: 0 0 .35rem; color: var(--brown); }
.product-card .info p { margin: 0 0 .5rem; color: var(--text-muted); }
.product-card .price { font-weight: 700; color: var(--brown); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; background: #fff; padding: 1rem; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.field { display: grid; gap: .35rem; }
.field.span-2 { grid-column: 1 / -1; }
.contact-form label { font-weight: 600; color: var(--brown); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid rgba(107,66,38,.25);
  border-radius: .6rem;
  background: #fffdf7;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,163,115,.2); }
.actions { display: flex; justify-content: flex-end; }

.contact-details { display: grid; gap: 1rem; }
.map-wrapper { height: 100%; min-height: 320px; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }
.details { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.details a { color: var(--brown); text-decoration: underline; }

/* Footer */
.site-footer { margin-top: 2rem; background: #efe6d8; border-top: 1px solid rgba(107,66,38,.15); padding: 2rem 0 1.25rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.site-footer h4 { margin: 0 0 .5rem; color: var(--brown); }
.socials { display: flex; gap: .6rem; align-items: center; }
.socials a { color: var(--brown); background: rgba(107,66,38,.1); padding: .4rem; border-radius: .5rem; transition: background-color .2s ease, transform .15s ease; }
.socials a:hover { background: var(--gold); color: #fff; transform: translateY(-1px); }
.print { margin-top: 1rem; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .testimonials, .team, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-nav { position: absolute; right: 4%; top: 56px; background: var(--beige); border: 1px solid rgba(107,66,38,.15); border-radius: .75rem; padding: .5rem; display: none; flex-direction: column; box-shadow: 0 16px 40px rgba(0,0,0,.15); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .cards, .testimonials, .team, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
