:root {
  --bg: #ffffff;
  --bg-alt: #f7f5f5;
  --accent: #c51f2f;
  --accent-soft: #e26b79;
  --text: #111111;
  --muted: #555555;
  --radius: 10px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

/* HEADER (template rouge) */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5vw;
  background: #b51927;
  border-bottom: 1px solid #8e121f;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
}

.logo span {
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffffff;
}

.main-nav .nav-link {
  color: #ffe9ec;
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.25s;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: 100%;
}

/* LAYOUT GLOBAL */
main {
  padding: 2.5rem 5vw 3rem;
}

section + section {
  margin-top: 3rem;
}

/* BOUTON */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

/* ACCUEIL */
.hero {
  display: grid;
  grid-template-columns: 1.3fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
  background: #fff5f6;
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.home-highlights article {
  background: var(--bg-alt);
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid #e5d8d8;
}

.home-highlights h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.home-highlights p {
  color: var(--muted);
}

/* PRODUITS */
.products-page h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.products-page p {
  color: var(--muted);
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 1.6rem;
}

.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid #e3c6c9;
  background: #fff5f6;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.products-intro {
  margin-bottom: 2rem;
}

.products-intro-card {
  background: #fff5f6;
  border-radius: var(--radius);
  border: 1px solid #e3c6c9;
  padding: 1.5rem 1.7rem;
}

.products-intro-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.products-intro-card p {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.products-intro-card ul {
  list-style: disc;
  padding-left: 1.3rem;
  color: var(--muted);
}

.products-intro-card li + li {
  margin-top: 0.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.3rem;
}

.product-card {
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid #e5d8d8;
  background: #faf7f8;
}

.product-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

/* BLOG */
.blog-page h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.blog-page p {
  color: var(--muted);
}

.blog-about {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-about-card {
  background: #faf7f8;
  border-radius: var(--radius);
  border: 1px solid #e5d8d8;
  padding: 1.3rem;
}

.blog-about-card p + p {
  margin-top: 0.6rem;
}

.blog-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.blog-item {
  background: #faf7f8;
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid #e5d8d8;
}

.blog-item .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* CONTACT */
.contact-page h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.contact-page p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #d0c4c4;
  background: #ffffff;
  color: var(--text);
}

/* Rangée avec petite carte sous coordonnées+formulaire */
.contact-map-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: center;
}

.contact-map-label h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-map-label p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Carte mini */
.contact-map-mini {
  max-width: 320px;
  justify-self: end;
}

/* Wrapper carte (iframe Google Maps) */
.map-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid #e3c6c9;
}

.map-wrapper-mini {
  padding-top: 56.25%;
}

/* FOOTER (template rouge) */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 5vw 1rem;
  background: #b51927;
  border-top: 1px solid #8e121f;
  color: #ffe9ec;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
}

.footer-title {
  font-weight: 600;
  color: #ffffff;
}

.footer-subtitle {
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links a {
  color: #ffe9ec;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #fde2e5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-nav .nav-link {
    margin-left: 1rem;
  }

  .contact-map-row {
    grid-template-columns: 1fr;
  }

  .contact-map-mini {
    max-width: 100%;
    justify-self: stretch;
  }
}