/* =========================================
   Laitière de la Motte — Feuille de styles
   Auteur : WSF
   ========================================= */

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  --bleu-roi: #1E4B9C;
  --bleu-profond: #153872;
  --bleu-clair: #E8EFF9;
  --vert-prairie: #3E8B3E;
  --vert-fonce: #2E6A2E;
  --vert-tendre: #E8F2E5;
  --creme: #FAF5EB;
  --creme-fonce: #F3EBD8;
  --or: #E8B923;
  --or-clair: #F5D87A;
  --noir: #1A1611;
  --gris: #6B6558;
  --blanc: #FFFFFF;

  --ff-display: 'Fraunces', Georgia, serif;
  --ff-script: 'Caveat', cursive;
  --ff-body: 'Manrope', -apple-system, sans-serif;

  --shadow-soft: 0 10px 40px rgba(21, 56, 114, 0.08);
  --shadow-medium: 0 20px 60px rgba(21, 56, 114, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--noir);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Léger effet grain de papier sur le fond */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 245, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(30, 75, 156, 0.1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 48px; width: auto; }
.brand-text {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--bleu-roi);
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-text span {
  display: block;
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--gris);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-main ul {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--noir);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-main a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bleu-roi);
  transition: width 0.3s ease;
}
.nav-main a:hover { color: var(--bleu-roi); }
.nav-main a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--noir);
  margin: 5px 0;
  transition: all 0.3s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-script);
  font-size: 24px;
  color: var(--vert-prairie);
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--vert-prairie);
}

.hero h1 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: var(--bleu-profond);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--bleu-roi);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: var(--or-clair);
  opacity: 0.45;
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gris);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.2,.9,.3,1);
  text-decoration: none;
}
.btn-primary {
  background: var(--bleu-roi);
  color: var(--blanc);
  box-shadow: 0 8px 24px rgba(30, 75, 156, 0.25);
}
.btn-primary:hover {
  background: var(--bleu-profond);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 75, 156, 0.32);
}
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--bleu-roi);
  border: 1.5px solid var(--bleu-roi);
}
.btn-ghost:hover { background: var(--bleu-roi); color: var(--blanc); }

/* Hero image et tampon */
.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-medium);
}

.hero-stamp {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: var(--or);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(232, 185, 35, 0.4);
  animation: stampRotate 20s linear infinite;
}
.hero-stamp-inner {
  font-family: var(--ff-display);
  color: var(--bleu-profond);
  font-weight: 600;
  animation: stampCounter 20s linear infinite;
}
.hero-stamp-inner .big {
  display: block;
  font-size: 42px;
  line-height: 0.9;
}
.hero-stamp-inner .small {
  display: block;
  font-size: 12px;
  font-family: var(--ff-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}
@keyframes stampRotate {
  to { transform: rotate(360deg); }
}
@keyframes stampCounter {
  to { transform: rotate(-360deg); }
}

.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}
.hero-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--vert-tendre);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--noir);
}
.hero-badge-text strong {
  color: var(--vert-fonce);
  display: block;
  font-weight: 700;
}

/* Ticker */
.ticker {
  margin-top: 80px;
  padding: 18px 0;
  background: var(--bleu-profond);
  color: var(--creme);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 60px;
  animation: tickerScroll 40s linear infinite;
  padding-right: 60px;
}
.ticker-item {
  font-family: var(--ff-display);
  font-size: 20px;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.ticker-item::after {
  content: '✦';
  color: var(--or);
  font-style: normal;
}
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* =========================================
   SECTIONS — style commun
   ========================================= */
section { position: relative; z-index: 2; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-script);
  font-size: 28px;
  color: var(--vert-prairie);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--bleu-profond);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--bleu-roi);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gris);
  max-width: 640px;
  line-height: 1.7;
}

/* =========================================
   HISTOIRE
   ========================================= */
.histoire {
  padding: 120px 0;
}

.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.histoire-visual {
  position: relative;
}
.histoire-visual img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-medium);
}
.histoire-date {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: var(--creme);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--bleu-roi);
  box-shadow: var(--shadow-soft);
  transform: rotate(-3deg);
}
.histoire-date .year {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--bleu-roi);
  line-height: 1;
}
.histoire-date .label {
  font-family: var(--ff-script);
  font-size: 22px;
  color: var(--vert-prairie);
  display: block;
}

.histoire-content p {
  font-size: 1.05rem;
  color: var(--noir);
  margin-bottom: 20px;
  line-height: 1.75;
}
.histoire-content p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 4.5rem;
  float: left;
  line-height: 0.9;
  margin: 8px 12px 0 0;
  color: var(--bleu-roi);
  font-weight: 500;
}

.histoire-signature {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(30, 75, 156, 0.15);
}
.histoire-signature-name {
  font-family: var(--ff-script);
  font-size: 32px;
  color: var(--bleu-roi);
  line-height: 1;
}
.histoire-signature-role {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: 6px;
}

/* =========================================
   SAVOIR-FAIRE
   ========================================= */
.savoir {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--creme) 0%, var(--creme-fonce) 100%);
  position: relative;
}

.savoir-header {
  text-align: center;
  margin-bottom: 80px;
}
.savoir-lead { margin: 0 auto; }

.piliers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pilier {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 75, 156, 0.06);
}
.pilier:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}
.pilier::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--bleu-roi), var(--vert-prairie));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.pilier:hover::before { transform: scaleX(1); }

.pilier-num {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--or);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  display: block;
}
.pilier-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--bleu-clair);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bleu-roi);
  transition: background 0.3s;
}
.pilier:hover .pilier-icon {
  background: var(--bleu-roi);
  color: var(--blanc);
}
.pilier h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--bleu-profond);
  margin-bottom: 16px;
}
.pilier p {
  color: var(--gris);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* =========================================
   PRODUITS
   ========================================= */
.produits {
  padding: 120px 0;
}

.produits-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

.cat-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--bleu-profond);
  margin: 60px 0 28px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.cat-title span {
  font-family: var(--ff-script);
  color: var(--vert-prairie);
  font-size: 1.5rem;
  font-weight: 500;
}
.cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--bleu-roi) 0%, transparent 100%);
  opacity: 0.2;
  margin-left: 20px;
}

.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.produit-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid rgba(30, 75, 156, 0.06);
  display: flex;
  flex-direction: column;
}
.produit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.produit-visual {
  aspect-ratio: 1;
  background: var(--creme-fonce);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.produit-visual img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: transform 0.6s;
}
.produit-card:hover .produit-visual img {
  transform: scale(1.05);
}

.produit-visual-placeholder {
  text-align: center;
  padding: 40px;
}
.produit-visual-placeholder-title {
  font-family: var(--ff-script);
  font-size: 28px;
  line-height: 1.2;
}
.produit-visual-placeholder-sub {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gris);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.produit-gourmandie {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--or);
  color: var(--bleu-profond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(232, 185, 35, 0.3);
}

.produit-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.produit-mg {
  display: inline-block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  color: var(--or);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.produit-card h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--bleu-profond);
  margin-bottom: 12px;
}
.produit-card p {
  color: var(--gris);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}
.produit-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(30, 75, 156, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gris);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Placeholders produits (variantes couleur) */
.produit-visual.bg-creme-bleu {
  background: linear-gradient(135deg, var(--creme-fonce), var(--bleu-clair));
}
.produit-visual.bg-creme-vert {
  background: linear-gradient(135deg, var(--creme-fonce), var(--vert-tendre));
}
.produit-visual.bg-bleu-or {
  background: linear-gradient(135deg, var(--bleu-clair), var(--or-clair));
}
.produit-visual.bg-creme-bleu .produit-visual-placeholder-title,
.produit-visual.bg-bleu-or .produit-visual-placeholder-title {
  color: var(--bleu-roi);
}
.produit-visual.bg-creme-vert .produit-visual-placeholder-title {
  color: var(--vert-fonce);
}

/* =========================================
   AVIS
   ========================================= */
.avis {
  padding: 120px 0;
  background: var(--bleu-profond);
  color: var(--creme);
  position: relative;
  overflow: hidden;
}
.avis::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--or) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}
.avis::after {
  content: '❝';
  position: absolute;
  top: 60px;
  left: 40px;
  font-family: var(--ff-display);
  font-size: 220px;
  color: var(--or);
  opacity: 0.12;
  line-height: 0.8;
  pointer-events: none;
}

.avis-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}
.avis .section-eyebrow { color: var(--or-clair); }
.avis .section-title { color: var(--creme); }

.avis-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.avis-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 245, 235, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s, border-color 0.4s;
}
.avis-card:hover {
  transform: translateY(-6px);
  border-color: var(--or);
}

.avis-stars {
  display: flex;
  gap: 4px;
  color: var(--or);
  margin-bottom: 20px;
  font-size: 18px;
}

.avis-text {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--creme);
  margin-bottom: 28px;
  flex: 1;
}

.avis-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 245, 235, 0.15);
}
.avis-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--or);
  color: var(--bleu-profond);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 16px;
}
.avis-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--creme);
}
.avis-source {
  font-size: 12px;
  color: rgba(250, 245, 235, 0.6);
  margin-top: 2px;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--bleu-profond);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-info h2 em {
  font-style: italic;
  color: var(--bleu-roi);
}
.contact-info > p {
  font-size: 1.05rem;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--bleu-clair);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bleu-roi);
  flex-shrink: 0;
}
.contact-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-value {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--bleu-profond);
  font-weight: 500;
}
.contact-value a:hover { color: var(--bleu-roi); text-decoration: underline; }

.contact-map {
  margin-top: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/10;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(10%);
}

/* Formulaire */
.contact-form {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 75, 156, 0.06);
}
.contact-form h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--bleu-profond);
  margin-bottom: 10px;
}
.contact-form > p {
  font-size: 0.95rem;
  color: var(--gris);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bleu-profond);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--noir);
  background: var(--creme);
  border: 1.5px solid transparent;
  border-radius: 12px;
  transition: all 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bleu-roi);
  background: var(--blanc);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--ff-body);
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.btn-form-submit {
  width: 100%;
  justify-content: center;
}
.form-note {
  font-size: 12px;
  color: var(--gris);
  margin-top: 12px;
  line-height: 1.5;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--bleu-profond);
  color: var(--creme);
  padding: 80px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(250, 245, 235, 0.1);
}

.footer-brand {
  max-width: 320px;
}
.footer-brand img {
  height: 60px;
  width: auto;
  background: var(--creme);
  padding: 8px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.footer-tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--creme);
  opacity: 0.85;
}

.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--or);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: var(--creme);
  opacity: 0.8;
  transition: opacity 0.2s, padding 0.2s;
}
.footer-col a:hover {
  opacity: 1;
  padding-left: 4px;
}
.footer-col address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--creme);
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  opacity: 0.6;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-bottom-links a {
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 0.2s;
  cursor: pointer;
}
.footer-bottom-links a:hover { opacity: 1; color: var(--or); }

/* =========================================
   MODALE MENTIONS LÉGALES
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 56, 114, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--creme);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  padding: 50px 50px 40px;
  position: relative;
  box-shadow: var(--shadow-medium);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bleu-clair);
  border-radius: 50%;
  cursor: pointer;
  color: var(--bleu-roi);
  font-size: 20px;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--bleu-roi); color: var(--creme); }

.modal h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--bleu-profond);
  margin-bottom: 8px;
}
.modal-subtitle {
  color: var(--gris);
  margin-bottom: 30px;
  font-size: 14px;
}
.modal h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--bleu-roi);
  margin: 28px 0 12px;
}
.modal p, .modal li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--noir);
  margin-bottom: 10px;
}
.modal ul { padding-left: 20px; margin-bottom: 12px; }

.modal .placeholder {
  background: var(--or-clair);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--bleu-profond);
  font-weight: 600;
  font-size: 0.9em;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid, .histoire-grid, .produits-header, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .piliers, .produits-grid, .avis-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stamp { width: 120px; height: 120px; top: -10px; right: -10px; }
  .hero-stamp-inner .big { font-size: 34px; }
}

@media (max-width: 680px) {
  .nav-main { display: none; }
  .nav-toggle { display: block; }
  .nav-main.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--creme);
    border-top: 1px solid rgba(30, 75, 156, 0.1);
    padding: 20px 24px;
  }
  .nav-main.open ul {
    flex-direction: column;
    gap: 18px;
  }

  .hero { padding: 120px 0 60px; }
  .histoire, .savoir, .produits, .avis, .contact { padding: 80px 0; }
  .piliers, .produits-grid, .avis-carousel {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .form-group-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .modal { padding: 40px 24px 30px; }
  .hero-badge { left: 20px; right: 20px; bottom: 20px; max-width: none; }
  .histoire-date { right: 20px; bottom: -20px; }
  .histoire-date .year { font-size: 36px; }
}
