/* ============ Aventec France — site vitrine ============ */
:root {
  --brique: #7c3a2d;
  --brique-fonce: #5e2b21;
  --creme: #f3eee1;
  --creme-card: #f6f1e6;
  --sable: #e8d5ac;
  --encre: #3b2a24;
  --encre-doux: #6b5a52;
  --bleu: #1d5fa8;
  --blanc: #fffdf8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(60, 32, 24, 0.12);
  --font-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --font-texte: "Jost", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texte);
  color: var(--encre);
  background: var(--creme);
  line-height: 1.65;
  font-size: 1.05rem;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: var(--font-titre);
  color: var(--brique-fonce);
  line-height: 1.15;
  font-weight: 600;
}

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.25rem; }

.center { text-align: center; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brique);
  margin-bottom: 0.6rem;
}

.section { padding: 4.5rem 0; }
.section-alt { background: var(--blanc); }

.section-intro {
  max-width: 46rem;
  margin: 0.4rem auto 0;
  color: var(--encre-doux);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 238, 225, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(124, 58, 45, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bleu);
  letter-spacing: 0.03em;
}

.brand-name em {
  font-style: normal;
  color: var(--brique);
  font-size: 0.85em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--encre);
  font-weight: 500;
  font-size: 0.98rem;
}

.main-nav a:hover { color: var(--brique); }

.nav-cta {
  background: var(--brique);
  color: var(--blanc) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--brique-fonce); }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(232, 213, 172, 0.55), transparent 60%),
    var(--creme);
  padding: 4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--brique); font-style: italic; }

.lead {
  font-size: 1.15rem;
  color: var(--encre-doux);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin: 1.6rem 0 1.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--brique); color: var(--blanc); }
.btn-primary:hover { background: var(--brique-fonce); }

.btn-ghost {
  color: var(--brique);
  border: 2px solid var(--brique);
}

.hero-badges {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.flag-fr {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  vertical-align: baseline;
  background: linear-gradient(to right, #1d5fa8 33.3%, #fff 33.3% 66.6%, #d9342b 66.6%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  margin-right: 0.2rem;
}

.hero-badges li {
  background: var(--blanc);
  border: 1px solid rgba(124, 58, 45, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============ Stats ============ */
.stats {
  background: var(--brique);
  color: var(--creme);
  padding: 2.2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 2rem;
  line-height: 1.1;
}

.stat span {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* ============ Split (La marque) ============ */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-text h2 em { color: var(--brique); }

.split-text p { margin-bottom: 1rem; }

/* ============ Vidéo ============ */
.video-section {
  background:
    radial-gradient(50rem 25rem at -10% 110%, rgba(232, 213, 172, 0.5), transparent 60%),
    var(--creme);
  padding-top: 3rem;
}

.video-frame {
  max-width: 900px;
  margin: 2.2rem auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============ Produits ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.product-card {
  background: var(--creme-card);
  border: 1px solid rgba(124, 58, 45, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brique);
  color: var(--creme);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.product-icon svg { width: 30px; height: 30px; }

.product-card h3 { margin-bottom: 0.5rem; }

.product-card p { color: var(--encre-doux); font-size: 0.98rem; }

.product-meta {
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--brique) !important;
  font-size: 0.9rem !important;
}

/* ============ Collection Oschterputz ============ */
.collection { margin-top: 4rem; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.collection-grid figure {
  background: var(--creme-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.collection-grid img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.collection-grid figcaption {
  padding: 0.8rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--brique-fonce);
}

/* ============ Engagements ============ */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.engagement-card {
  background: var(--blanc);
  border-left: 4px solid var(--brique);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 4px 16px rgba(60, 32, 24, 0.07);
}

.engagement-card h3 { margin-bottom: 0.5rem; font-size: 1.12rem; }

.engagement-card p { color: var(--encre-doux); font-size: 0.97rem; }

.values-band {
  margin-top: 3rem;
  background: var(--sable);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.values-band p {
  font-family: var(--font-titre);
  font-weight: 600;
  color: var(--brique-fonce);
}

.values-band ul {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.values-band li {
  background: var(--blanc);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 500;
  font-size: 0.92rem;
}

/* ============ Espace pro ============ */
.link-inline { color: var(--brique); font-weight: 600; }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
  max-width: 60rem;
  margin-inline: auto;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--creme-card);
  border: 1px solid rgba(124, 58, 45, 0.15);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: var(--encre);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.doc-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brique);
  color: var(--creme);
  display: grid;
  place-items: center;
}

.doc-icon svg { width: 26px; height: 26px; }

.doc-info { display: flex; flex-direction: column; gap: 0.15rem; }

.doc-info strong { color: var(--brique-fonce); }

.doc-info span { font-size: 0.88rem; color: var(--encre-doux); }

/* ============ Contact ============ */
.contact { background: var(--brique-fonce); color: var(--creme); }

.contact .kicker { color: var(--sable); }
.contact h2 { color: var(--blanc); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact address { font-style: normal; margin-top: 1.4rem; }

.contact address p { margin-bottom: 1rem; }

.contact a { color: var(--sable); text-decoration: none; font-weight: 500; }
.contact a:hover { text-decoration: underline; }

.map-card {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(232, 213, 172, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-card iframe {
  width: 100%;
  border: 0;
  flex: 1;
  min-height: 340px;
  display: block;
}

.map-links {
  padding: 0.7rem 1.2rem;
  text-align: center;
  font-size: 0.92rem;
}

.contact-card {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(232, 213, 172, 0.3);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.contact-care { margin-top: 2rem; }

.contact-care ul {
  columns: 2;
  column-gap: 2.5rem;
}

.contact-card h3 { color: var(--sable); margin-bottom: 0.9rem; }

.contact-card ul { padding-left: 1.1rem; }

.contact-card li { margin-bottom: 0.6rem; font-size: 0.97rem; }

/* ============ Footer ============ */
.site-footer {
  background: #40201a;
  color: rgba(243, 238, 225, 0.75);
  padding: 1.6rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

/* ============ Animations ============ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-text > * { animation: fade-up 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) backwards; }
.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.15s; }
.hero-text > *:nth-child(3) { animation-delay: 0.25s; }
.hero-text > *:nth-child(4) { animation-delay: 0.35s; }
.hero-text > *:nth-child(5) { animation-delay: 0.45s; }
.hero-media { animation: fade-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s backwards; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-text > *, .hero-media { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .split-media { order: -1; max-width: 480px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .engagement-grid, .doc-grid { grid-template-columns: 1fr; }
  .contact-care ul { columns: 1; }
  .collection-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .site-header { position: static; }
  .header-inner { flex-direction: column; padding-bottom: 0.8rem; }
  .main-nav { justify-content: center; gap: 1rem; }
  .section { padding: 3rem 0; }
}
