@import "./tokens.css";

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; border-radius: var(--radius-sm); }

ul { list-style: none; }

/* ===== VISUAL PLACEHOLDER ===== */
.visual-placeholder {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-primary) 10%, var(--color-bg)) 55%,
      color-mix(in srgb, var(--color-secondary) 18%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-aspect="4:3"]  { aspect-ratio: 4 / 3; }
.visual-placeholder[data-aspect="1:1"]  { aspect-ratio: 1 / 1; }
.visual-placeholder[data-aspect="3:4"]  { aspect-ratio: 3 / 4; }
.visual-placeholder[data-aspect="21:9"] { aspect-ratio: 21 / 9; }

.visual-placeholder[data-tone="secondary"] {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-secondary) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-secondary) 10%, var(--color-bg)) 55%,
      color-mix(in srgb, var(--color-primary) 16%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-tone="accent"] {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-accent, var(--color-primary)) 22%, var(--color-bg)) 0%,
      color-mix(in srgb, var(--color-primary) 12%, var(--color-bg)) 60%,
      color-mix(in srgb, var(--color-secondary) 16%, var(--color-bg)) 100%
    );
}
.visual-placeholder[data-tone="muted"] {
  background: color-mix(in srgb, var(--color-text) 8%, var(--color-bg));
}

/* Hero placeholder override */
.hero-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #92400E 0%, #D97706 35%, #1C1917 70%, #3F1728 100%);
  width: 100%;
  display: block;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

@media (min-width: 1200px) {
  .container { padding-inline: 2.5rem; }
}

.section { padding-block: 4rem; }
.section--surface { background: var(--color-surface); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 400; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; max-width: 68ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.lead { font-size: 1.125rem; color: var(--color-muted); }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.btn--primary:hover { background: #be123c; border-color: #be123c; }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn--ghost:hover { background: var(--color-secondary); color: #fff; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-secondary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo span { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--color-secondary); text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }

.nav-menu {
  display: none;
  gap: 2rem;
  align-items: center;
}
.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-secondary);
  transition: width 0.2s;
}
.nav-menu a:hover { color: var(--color-secondary); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a[aria-current="page"] { color: var(--color-secondary); }
.nav-menu a[aria-current="page"]::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 1rem;
  gap: 1rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--color-secondary); }

@media (min-width: 768px) {
  .nav-menu { display: flex; }
  .burger-btn { display: none; }
}

/* ===== HERO ===== */
.hero {
  padding-block: 3rem;
  background: var(--color-surface);
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content { order: 2; }
.hero-visual { order: 1; }

.hero-creole {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  display: block;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero-text {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
}

@media (min-width: 1200px) {
  .hero-inner { grid-template-columns: 55% 45%; }
}

/* ===== SECTION INTRO ===== */
.section-intro {
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-body {
  padding: 1.5rem;
}
.card-body h3 { color: var(--color-primary); }
.card-body p { color: var(--color-muted); margin-bottom: 0; font-size: 0.9rem; }

/* ===== FEATURE LIST ===== */
.feature-list {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .feature-list { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-secondary) 12%, var(--color-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.feature-text h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.feature-text p { font-size: 0.875rem; color: var(--color-muted); margin-bottom: 0; }

/* ===== TWO-COL SPLIT ===== */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-visual { order: -1; }
}

/* ===== BANNER / CTA ===== */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  padding-block: 4rem;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-inline: auto; margin-bottom: 2rem; }
.cta-banner .btn--outline { color: #fff; border-color: #fff; }
.cta-banner .btn--outline:hover { background: #fff; color: var(--color-primary); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding-block: 3rem 2.5rem;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero .lead { color: rgba(255,255,255,0.8); }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===== SOINS PAGE ===== */
.soins-intro { padding-block: 3rem; }

.soin-section { padding-block: 3rem; }
.soin-section + .soin-section { border-top: 1px solid var(--color-border); }

.products-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .products-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .products-list { grid-template-columns: repeat(3, 1fr); }
}

.product-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.product-item::before {
  content: "✦";
  color: var(--color-accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===== HISTOIRE PAGE ===== */
.histoire-content {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .histoire-content { grid-template-columns: 1fr 1fr; }
}

.histoire-text h2 { margin-top: 2rem; }
.histoire-text h2:first-child { margin-top: 0; }

.quote-block {
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-block: 2rem;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.quote-block cite {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.values-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.value-card .value-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--color-muted); margin-bottom: 0; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1fr; }
}

.contact-form-wrap { }
.contact-info { }

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-secondary) 15%, transparent);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.form-rgpd {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-rgpd label { font-weight: 400; margin-bottom: 0; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-secondary) 10%, var(--color-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.detail-text p { margin-bottom: 0; color: var(--color-muted); font-size: 0.9rem; }
.detail-text strong { display: block; color: var(--color-text); margin-bottom: 0.2rem; }

/* ===== COOKIES BANNER ===== */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookies-banner.is-visible { transform: translateY(0); }
.cookies-banner p { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-bottom: 0; max-width: 65ch; }
.cookies-banner a { color: var(--color-accent); text-decoration: underline; }
.cookies-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookies-actions button {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}
#cookies-accept {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
#cookies-accept:hover { background: #be123c; }
#cookies-refuse {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
#cookies-refuse:hover { border-color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  padding-block: 3rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; max-width: 32ch; }
.footer-brand .creole {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== MENTIONS LEGALES ===== */
.legal-content {
  padding-block: 4rem;
  max-width: 800px;
}
.legal-content section { margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--color-secondary); }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--color-muted); }
.legal-content ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}

/* ===== PAGE HERO INNER (about + contact) ===== */
.page-hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.page-hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  max-width: 60ch;
}
.page-hero--contact {
  padding-block: 3rem;
  text-align: center;
}
.page-hero--contact .page-hero-subtitle { margin-inline: auto; }

@media (min-width: 768px) {
  .page-hero-inner {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero-text { order: 1; }
}

/* ===== ABOUT PAGE ===== */
.about-section { padding-block: 4rem; }

.about-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 3fr 2fr; }
}

.about-content p { color: var(--color-muted); max-width: 68ch; }
.about-lead {
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.about-quote {
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin-block: 2rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.about-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.about-quote footer {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.about-values h2 { margin-bottom: 1.5rem; }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.values-list .value-card { list-style: none; }

/* ===== INGREDIENTS SECTION ===== */
.ingredients-section {
  background: var(--color-surface);
  padding-block: 4rem;
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.ingredients-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .ingredients-grid { grid-template-columns: repeat(4, 1fr); }
}

.ingredient-card {
  text-align: center;
}
.ingredient-card .visual-placeholder {
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
}
.ingredient-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.ingredient-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-inline: auto;
  margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--color-primary);
  padding-block: 4rem;
  text-align: center;
}
.cta-inner h2 { color: #fff; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.75); margin-inline: auto; margin-bottom: 2rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.cta-section .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.cta-section .btn--outline:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

/* ===== CONTACT PAGE ===== */
.contact-section { padding-block: 4rem; }

.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info h2 { margin-bottom: 1.5rem; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  font-weight: 700;
}
.contact-list span {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.contact-placeholder-wrap { margin-top: 1.5rem; }

.contact-form-wrap h2 { margin-bottom: 1.5rem; }

.contact-form { }

.btn--full { width: 100%; justify-content: center; }

.form-rgpd {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  display: block;
}
.form-rgpd a { color: var(--color-secondary); text-decoration: underline; }

/* ===== LEGAL PAGE ===== */
.legal-section { padding-block: 4rem; }

.legal-content h1 { margin-bottom: 2.5rem; }
.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--color-muted); font-size: 0.95rem; }
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.legal-content a { color: var(--color-secondary); text-decoration: underline; }
.legal-date { margin-top: 3rem; font-size: 0.875rem; }

/* ================================================================
   ANIMATION PASS — Afrochik cosmétique et bien-être
   Lot 7+, WEB-934. CSS-first, GPU-friendly, zero lib externe.
   Effets : hero entrance · hero placeholder breathing ·
            feature-item stagger scroll-reveal ·
            feature-icon hover glow ·
            visual-placeholder hover lift + shimmer ·
            btn hover scale renforcé
   Tout encapsulé dans prefers-reduced-motion: no-preference.
   ================================================================ */

@media (prefers-reduced-motion: no-preference) {

  /* --- Keyframes --- */

  @keyframes acFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes acFadeLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes acGradientBreath {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
  }

  /* 1. Hero entrance — texte monte, visuel suit avec délai */
  .hero-creole  { animation: acFadeLeft 0.55s 0.05s ease both; }
  .hero-content { animation: acFadeUp   0.65s 0.10s ease both; }
  .hero-visual  { animation: acFadeUp   0.65s 0.28s ease both; }

  /* 2. Hero placeholder breathing — gradient vit doucement */
  .hero-placeholder {
    background-size: 250% 250%;
    animation: acGradientBreath 8s ease-in-out infinite;
  }

  /* 3. Feature-item stagger — délais sur l'IO existant de main.js */
  .feature-item:nth-child(1) { transition-delay:   0ms; }
  .feature-item:nth-child(2) { transition-delay:  80ms; }
  .feature-item:nth-child(3) { transition-delay: 160ms; }
  .feature-item:nth-child(4) { transition-delay: 240ms; }
  .feature-item:nth-child(5) { transition-delay: 320ms; }
  .feature-item:nth-child(6) { transition-delay: 400ms; }

  /* 4. Feature icon hover glow */
  .feature-icon {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .feature-item:hover .feature-icon {
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--color-secondary) 24%, transparent);
  }

  /* 5. Visual placeholder hover lift + gradient shimmer */
  .visual-placeholder {
    background-size: 200% 200%;
    background-position: 0% 0%;
    transition: transform 0.35s ease, box-shadow 0.35s ease,
                background-position 0.55s ease;
  }
  .split:hover .visual-placeholder,
  .ingredient-card:hover .visual-placeholder {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background-position: 100% 100%;
  }

  /* 6. Btn hover scale — complémente la transition existante */
  .btn {
    transition: background 0.2s ease, transform 0.18s ease,
                border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-secondary) 18%, transparent);
  }
  .btn:active { transform: scale(0.97); box-shadow: none; }

}

/* ===== GARDE-FOU prefers-reduced-motion: reduce (obligatoire) ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
