/* ═══════════════════════════════════════════════════════════════
   claudie — style.css
   le web, sans chichi.
   Olivia Boumokonia · cafeclaudie.fr
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. Design tokens ─────────────────────────────────────── */
:root {
  /* Couleurs */
  --clr-creme:      #F5EFE6;
  --clr-creme-dark: #EDE5D8;
  --clr-noir:       #1A1A1A;
  --clr-noir-soft:  #2C2C2C;
  --clr-bleu:       #A8CFF0;
  --clr-bleu-pale:  #D4E8F8;
  --clr-gris:       #666666;
  --clr-gris-light: #AAAAAA;
  --clr-white:      #FFFFFF;

  /* Typographie */
  --ff-sans:  'Space Grotesk', system-ui, sans-serif;
  --ff-mono:  'JetBrains Mono', 'Courier New', monospace;

  /* Espacements */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 9rem;

  /* Conteneur */
  --container-width: 1200px;
  --container-pad:   1.5rem;

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Ombres */
  --shadow-sm:  0 2px 8px rgba(26,26,26,0.08);
  --shadow-md:  0 8px 32px rgba(26,26,26,0.12);
  --shadow-lg:  0 20px 60px rgba(26,26,26,0.18);
  --shadow-ticket: 4px 8px 32px rgba(26,26,26,0.14), -2px -2px 0 rgba(26,26,26,0.06);
}


/* ─── 2. Reset + base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* hauteur nav */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Focus visible accessible */
:focus-visible {
  outline: 2px solid var(--clr-bleu);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Réduction des animations si préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ─── 3. Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--sp-3xl);
}

@media (max-width: 768px) {
  .section { padding-block: var(--sp-xl); }
}


/* ─── 4. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1.5em;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) !important; }

.btn-dark {
  background: var(--clr-noir);
  color: var(--clr-creme);
  border: 2px solid var(--clr-noir);
}
.btn-dark:hover {
  background: var(--clr-noir-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--clr-noir);
  border: 2px solid var(--clr-noir);
}
.btn-outline:hover {
  background: var(--clr-noir);
  color: var(--clr-creme);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--clr-creme);
  color: var(--clr-noir);
  border: 2px solid var(--clr-creme);
}
.btn-light:hover {
  background: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ─── 5. Section headers ───────────────────────────────────── */
.section-header {
  margin-bottom: var(--sp-xl);
}

.section-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gris);
  margin-bottom: var(--sp-sm);
}

.section-eyebrow--light { color: var(--clr-bleu); }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title--light { color: var(--clr-creme); }


/* ─── 6. NAV ────────────────────────────────────────────────── */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-creme);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease),
              backdrop-filter var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}

.nav-header.scrolled {
  border-color: rgba(26,26,26,0.08);
  box-shadow: 0 2px 16px rgba(26,26,26,0.06);
  backdrop-filter: blur(8px);
  background: rgba(245, 239, 230, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: var(--sp-md);
}

/* Wordmark HTML/CSS — Space Grotesk comme dans le brand kit */
.wordmark {
  font-family: var(--ff-sans);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--clr-noir);
  line-height: 1;
  display: inline-block;
  position: relative;
  padding-bottom: 7px;
}

/* Trait bleu "fait main" sous le wordmark */
.wordmark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' fill='none'%3E%3Cpath d='M2 5.5 C18 2 38 7 60 4.5 S95 1.5 118 4.5' stroke='%23A8CFF0' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M8 6.5 C28 4 55 7 90 5 S110 6.5 118 5.5' stroke='%23A8CFF0' stroke-width='1.5' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.wordmark--light {
  color: var(--clr-creme);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.nav-link {
  font-family: var(--ff-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--clr-noir);
  padding: 0.25em 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-bleu);
  transition: width var(--dur-base) var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  margin-left: var(--sp-sm);
  font-size: 0.9375rem;
  padding: 0.6em 1.25em;
}

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--clr-noir);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease),
              opacity var(--dur-base) var(--ease);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 72px 0 0;
    background: var(--clr-creme);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-lg) var(--container-pad);
    gap: var(--sp-md);
    border-top: 1px solid rgba(26,26,26,0.08);
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-link { font-size: 1.5rem; font-weight: 600; }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--sp-sm);
    font-size: 1rem;
  }
}


/* ─── 7. HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--clr-creme);
  padding-block: var(--sp-3xl) var(--sp-2xl);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-xl);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  color: var(--clr-gris);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.hero-headline {
  font-size: clamp(2.75rem, 9vw, 6.5rem); /* 2.75rem = 44px sur 375px, raisonnable */
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-lg);
}

/* Accent — sous-lignage "sans chichi" */
.hero-accent {
  display: inline-block;
  position: relative;
}

.hero-accent::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 18' fill='none'%3E%3Cpath d='M4 13 C60 5 140 17 230 10 S370 3 470 11 S560 17 596 11' stroke='%23A8CFF0' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20 15 C90 9 200 15 310 9 S450 5 575 14' stroke='%23A8CFF0' stroke-width='3.5' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.6;
  color: var(--clr-noir-soft);
  max-width: 520px;
  margin-bottom: var(--sp-lg);
}

.hero-ctas {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* Ticket hero */
.hero-ticket {
  position: relative;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 360px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-block: var(--sp-xl) var(--sp-lg);
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-ticket {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  /* Ticket plus compact sur petits écrans */
  .ticket {
    padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  }
  .hero-ticket {
    max-width: 100%;
  }
}


/* ─── 8. TICKET composant ──────────────────────────────────── */
.ticket {
  background: var(--clr-white);
  border: 1px solid rgba(26,26,26,0.08);
  padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ticket);
  font-family: var(--ff-mono);
  position: relative;
}

/* Bord dentelé en haut du ticket */
.ticket::before {
  content: '';
  display: block;
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: radial-gradient(circle at 50% -2px, var(--clr-white) 6px, transparent 6px);
  background-size: 16px 8px;
  background-repeat: repeat-x;
}

/* Bord dentelé en bas */
.ticket::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: radial-gradient(circle at 50% 110%, var(--clr-white) 6px, transparent 6px);
  background-size: 16px 8px;
  background-repeat: repeat-x;
}

.ticket-header {
  text-align: center;
  border-bottom: 1px dashed rgba(26,26,26,0.2);
  padding-bottom: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.ticket-brand {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clr-noir);
}

.ticket-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--clr-gris);
  margin-top: 0.25rem;
}

.ticket-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--sp-md);
}

.ticket-row {
  display: flex;
  align-items: baseline;
  gap: 0.25em;
  font-size: 0.875rem;
}

.ticket-label {
  color: var(--clr-noir);
  font-weight: 500;
  flex-shrink: 0;
}

.ticket-dots {
  flex: 1;
  border-bottom: 1px dashed rgba(26,26,26,0.25);
  margin-inline: 0.4em;
  align-self: center;
  transform: translateY(-3px);
}

.ticket-value {
  color: var(--clr-noir);
  font-weight: 700;
  flex-shrink: 0;
}

.ticket-value--accent { color: var(--clr-bleu); }

.ticket-footer {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--clr-gris-light);
  letter-spacing: 0.08em;
  border-top: 1px dashed rgba(26,26,26,0.2);
  padding-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.ticket-cta {
  width: 100%;
  justify-content: center;
  font-size: 0.875rem;
}


/* ─── 9. POURQUOI ──────────────────────────────────────────── */
.section-why {
  background: var(--clr-bleu); /* fond bleu saturé comme les posts IG */
}

/* Le section-eyebrow sur fond bleu : noir semi-transparent */
.section-why .section-eyebrow { color: rgba(26,26,26,0.55); }
.section-why .section-title   { color: var(--clr-noir); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.why-card {
  background: var(--clr-white);
  padding: var(--sp-lg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26,26,26,0.06);
  border-top: 3px solid var(--clr-noir); /* accent top permanent */
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26,26,26,0.18);
}

.why-num {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--clr-noir);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
  opacity: 0.4;
}

.why-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
}

.why-desc {
  font-size: 0.9375rem;
  color: var(--clr-gris);
  line-height: 1.65;
}

@media (min-width: 580px) and (max-width: 768px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }
}


/* ─── 10. PROJETS ───────────────────────────────────────────── */
.section-dark {
  background: var(--clr-noir);
  color: var(--clr-creme);
}

.section-dark .section-eyebrow { color: var(--clr-bleu); }

.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.projet-card {
  background: var(--clr-noir-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.projet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.projet-card-img {
  background: var(--card-bg, var(--clr-bleu-pale));
  padding: var(--sp-md);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mock browser frame */
.projet-card-mock {
  width: 100%;
  height: 100%;
  background: var(--clr-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.mock-nav {
  height: 8px;
  background: var(--clr-creme-dark);
  border-radius: 2px;
  flex-shrink: 0;
}

.mock-hero {
  flex: 1;
  background: var(--clr-creme);
  border-radius: 2px;
}

.mock-row {
  height: 6px;
  background: var(--clr-creme-dark);
  border-radius: 2px;
  flex-shrink: 0;
}

.mock-row--short { width: 60%; }

.projet-card-body {
  padding: var(--sp-md);
}

.projet-tag {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--clr-bleu);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-xs);
}

.projet-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-creme);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.projet-meta {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--clr-gris-light);
  margin-bottom: var(--sp-sm);
}

.projet-desc {
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.6;
}

.section-footer-cta {
  text-align: center;
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-footnote {
  font-family: var(--ff-mono);
  font-size: 0.875rem;
  color: var(--clr-gris-light);
  margin-bottom: var(--sp-sm);
}

@media (max-width: 900px) {
  .projets-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .projets-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}


/* ─── 11. TARIFS ────────────────────────────────────────────── */
.section-tarifs {
  background: var(--clr-creme);
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: var(--sp-lg);
}

.tarif-ticket {
  background: var(--clr-white);
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.tarif-ticket:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tarif-ticket-header {
  background: var(--clr-noir);
  color: var(--clr-creme);
  text-align: center;
  padding: var(--sp-md) var(--sp-md) var(--sp-sm);
}

.tarif-ticket-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  background: var(--clr-bleu);
  color: var(--clr-noir);
  padding: 0.25em 0.75em;
  border-radius: 2px;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tarif-ticket-tag--outline {
  background: transparent;
  border: 1px solid var(--clr-bleu);
  color: var(--clr-bleu);
}

.tarif-ticket-title {
  font-family: var(--ff-mono);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clr-creme);
  margin-bottom: 0.25rem;
}

.tarif-ticket-sub {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--clr-gris-light);
}

.tarif-ticket-body {
  padding: var(--sp-md);
  flex: 1;
  border-bottom: 1px dashed rgba(26,26,26,0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tarif-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  padding: 0.375em 0;
  border-bottom: 1px dashed rgba(26,26,26,0.08);
  gap: var(--sp-sm);
}

.tarif-row:last-child { border-bottom: none; }

.tarif-check {
  color: var(--clr-gris);
  flex-shrink: 0;
  font-weight: 700;
}

.tarif-check--accent {
  color: var(--clr-bleu);
  font-size: 0.9375rem;
}

.tarif-ticket-footer {
  padding: var(--sp-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  align-items: center;
}

.tarif-price {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
}

.tarif-from {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--clr-gris);
}

.tarif-amount {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tarif-amount--devis {
  font-family: var(--ff-mono);
  font-size: 1.125rem;
  color: var(--clr-gris);
}

.tarif-ticket-footer .btn { width: 100%; justify-content: center; }

.tarifs-note {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  color: var(--clr-gris);
}

@media (max-width: 600px) {
  .tarifs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}


/* ─── 12. TÉMOIGNAGES ──────────────────────────────────────── */
.section-accent {
  background: var(--clr-noir); /* section sombre pour contraster avec le bleu avant */
}

.section-accent .section-eyebrow { color: var(--clr-bleu); }
.section-accent .section-title   { color: var(--clr-creme); }

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.avis-card {
  background: var(--clr-bleu); /* fond bleu vif — comme le post Instagram citation */
  padding: var(--sp-lg);
  border-radius: var(--radius-md);
  border: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.avis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.avis-num {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: rgba(26,26,26,0.5);
  letter-spacing: 0.08em;
}

.avis-quote {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--clr-noir);
  flex: 1;
}

.avis-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  border-top: 2px solid rgba(26,26,26,0.2);
  padding-top: var(--sp-sm);
}

.avis-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--clr-noir);
}

.avis-job {
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: rgba(26,26,26,0.55);
}

@media (min-width: 600px) and (max-width: 900px) {
  .avis-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .avis-grid { grid-template-columns: 1fr; }
}


/* ─── 13. À PROPOS ─────────────────────────────────────────── */
.section-apropos {
  background: var(--clr-creme);
}

.apropos-inner {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr; /* plus flexible */
  gap: var(--sp-xl);
  align-items: center;
}

.apropos-photo {
  position: relative;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--clr-creme-dark);
  border: 2px dashed rgba(26,26,26,0.2);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  color: var(--clr-gris);
}

.photo-placeholder-icon { font-size: 2rem; }
.photo-placeholder-text {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* Quand la photo est disponible, remplacer par : */
.apropos-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.apropos-content .section-title {
  margin-block: var(--sp-sm) var(--sp-md);
}

.apropos-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-noir-soft);
  margin-bottom: var(--sp-sm);
}

.apropos-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-top: var(--sp-md);
}

.badge {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  background: var(--clr-creme-dark);
  border: 1px solid rgba(26,26,26,0.1);
  padding: 0.3em 0.8em;
  border-radius: 2px;
  color: var(--clr-noir-soft);
}

@media (max-width: 768px) {
  .apropos-inner {
    grid-template-columns: 1fr;
  }
  .apropos-photo {
    max-width: 300px;
    margin-inline: auto;
  }
}


/* ─── 14. CONTACT / CAFÉ ───────────────────────────────────── */
.section-cafe {
  background: var(--clr-noir);
}

.cafe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.cafe-intro .section-eyebrow { margin-bottom: var(--sp-sm); }

.cafe-desc {
  font-size: 1.0625rem;
  color: rgba(245,239,230,0.7);
  margin-block: var(--sp-md) var(--sp-lg);
  line-height: 1.65;
}

.cafe-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.cafe-contact-link {
  font-family: var(--ff-mono);
  font-size: 0.875rem;
  color: var(--clr-bleu);
  transition: color var(--dur-fast) var(--ease);
}
.cafe-contact-link:hover { color: var(--clr-creme); }

/* Formulaire */
.cafe-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(245,239,230,0.7);
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
}

.form-label span { color: var(--clr-bleu); }

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.75em 1em;
  color: var(--clr-creme);
  font-size: 0.9375rem;
  font-family: var(--ff-sans);
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(245,239,230,0.3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-bleu);
  background: rgba(168,207,240,0.05);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #E87070;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8CFF0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 12px 8px;
  padding-right: 2.5em;
  cursor: pointer;
}

/* Fix couleur option pour fond sombre */
.form-select option {
  background: var(--clr-noir);
  color: var(--clr-creme);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-sm);
}

.form-error {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: #E87070;
  min-height: 1em;
  flex: 1;
}

.form-counter {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: rgba(245,239,230,0.3);
  flex-shrink: 0;
}

.form-submit {
  align-self: flex-start;
  font-size: 1rem;
  padding: 0.875em 2em;
  transition: all var(--dur-base) var(--ease);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-feedback {
  min-height: 1.5em;
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  transition: all var(--dur-base) var(--ease);
}

.form-feedback.success {
  color: #6BCF7F;
  padding: var(--sp-sm);
  background: rgba(107,207,127,0.08);
  border: 1px solid rgba(107,207,127,0.2);
}

.form-feedback.error {
  color: #E87070;
  padding: var(--sp-sm);
  background: rgba(232,112,112,0.08);
  border: 1px solid rgba(232,112,112,0.2);
}

@media (max-width: 900px) {
  .cafe-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
}


/* ─── 15. FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--clr-noir);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: var(--sp-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--sp-xl);
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: var(--sp-sm);
}

.footer-tagline {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--clr-gris);
  letter-spacing: 0.06em;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(245,239,230,0.6);
  transition: color var(--dur-fast) var(--ease);
}
.footer-nav a:hover { color: var(--clr-creme); }

.footer-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-meta p {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: rgba(245,239,230,0.4);
}

.footer-siret { font-size: 0.6875rem !important; }

.footer-meta a {
  color: var(--clr-bleu);
  transition: color var(--dur-fast) var(--ease);
}
.footer-meta a:hover { color: var(--clr-creme); }

/* Tablet : 2 colonnes (brand + meta) avec nav en dessous */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
  }
  .footer-nav {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: var(--sp-lg);
  }
  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--sp-md);
  }
  .footer-meta { text-align: right; }
}

/* Mobile : tout en colonne */
@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-nav ul { justify-content: center; }
  .footer-meta { text-align: center; }
}


/* ─── 15b. FAQ ─────────────────────────────────────────────── */
.section-faq {
  background: var(--clr-creme-dark);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-xl);
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(26,26,26,0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(26,26,26,0.1);
}

.faq-question { display: block; }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: var(--sp-md) 0;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-noir);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}

.faq-btn:hover { color: var(--clr-gris); }

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease);
  font-family: var(--ff-mono);
  color: var(--clr-bleu);
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--clr-gris);
  padding-bottom: var(--sp-md);
  padding-right: var(--sp-lg);
  overflow: hidden;
}

.faq-answer[hidden] { display: none; }

.faq-answer strong { color: var(--clr-noir); font-weight: 600; }

/* Animation ouverture */
.faq-answer.opening {
  display: block;
  animation: faqOpen var(--dur-base) var(--ease-out) forwards;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .faq-answer { padding-right: 0; }
}


/* ─── 16. Reveal animations ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Décalage en cascade pour les grilles */
.why-grid .reveal:nth-child(2),
.projets-grid .reveal:nth-child(2),
.avis-grid .reveal:nth-child(2),
.tarifs-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}
.why-grid .reveal:nth-child(3),
.projets-grid .reveal:nth-child(3),
.avis-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}


/* ─── 17. Utilitaires ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Section header centré quand section dark */
.section-header--light .section-title { color: var(--clr-creme); }
