/* ==========================================================================
   KALLISTE VENDING — site de test (nouvelle identité)
   Concept : « La plus belle pause de l'île »
   Deux univers : le café (espresso, cuivre) et l'eau (turquoise méditerranéen)
   ========================================================================== */

/* ---------- Polices locales ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
  --espresso: #16110e;
  --roast: #241c17;
  --roast-2: #31261f;
  --cream: #f7f2ec;
  --sand: #ede5da;
  --taupe: #a29f99;          /* couleur historique de la marque */
  --copper: #c27a46;
  --copper-light: #e3a877;
  --sea: #1a8798;
  --sea-deep: #0e5662;
  --sea-light: #dff0f1;
  --ink: #2a2421;
  --muted: #6f6660;
  --line: rgba(42, 36, 33, .12);
  --line-light: rgba(247, 242, 236, .14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(22, 17, 14, .45);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(44px, 7vw, 96px); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-variation-settings: "opsz" 144; }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em.accent, .accent-copper { font-style: italic; color: var(--copper); }
.accent-sea { font-style: italic; color: var(--sea); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Sur-titre */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.sea { color: var(--sea); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 46ch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 16px/1 var(--sans);
  text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--copper);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(194, 122, 70, .7); color: #fff; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-copper { --bg: var(--copper); --fg: #fff; }
.btn-copper::before { background: var(--cream); }
.btn-copper:hover { color: var(--ink); }
.btn-light { --bg: var(--cream); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost::before { background: var(--cream); }
.btn-ghost:hover { color: var(--ink); box-shadow: none; }
.btn-sea::before { background: var(--sea); }
.btn-sea:hover { box-shadow: 0 14px 30px -12px rgba(26, 135, 152, .7); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  color: var(--cream);
  transition: background-color .4s, padding .4s var(--ease), color .4s, box-shadow .4s;
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; max-width: 1400px; }
.site-header.is-solid {
  padding: 10px 0;
  background: rgba(22, 17, 14, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
  width: 84px; height: 84px; object-fit: contain;
  background: #fff; border-radius: 18px; padding: 5px;
  transition: width .4s var(--ease), height .4s var(--ease);
}
.site-header.is-solid .brand img { width: 66px; height: 66px; border-radius: 15px; }
.brand span { font-family: var(--serif); font-size: 21px; letter-spacing: -.01em; line-height: 1; }
.brand small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .65; margin-top: 4px; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block;
  padding: 10px 14px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  opacity: .82; transition: opacity .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--copper-light);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-phone {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--copper); color: #fff;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .25s, transform .25s var(--ease);
}
.header-phone:hover { background: var(--copper-light); transform: translateY(-1px); }
.header-phone svg { width: 16px; height: 16px; }

/* En-tête sur fond clair (pages intérieures si besoin) */
.site-header.on-light:not(.is-solid) { color: var(--ink); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-light); background: transparent; color: inherit;
  cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--espresso); color: var(--cream);
  padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column;
  clip-path: circle(0 at calc(100% - 45px) 45px);
  transition: clip-path .6s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 45px) 45px); visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: block; padding: 12px 0;
  font-family: var(--serif); font-size: 38px; line-height: 1.1; text-decoration: none;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu li a[aria-current="page"] { color: var(--copper-light); font-style: italic; }
.mobile-menu .btn { margin-top: auto; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO ACCUEIL
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: 150px 0 90px;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(26, 135, 152, .22), transparent 60%),
    radial-gradient(60% 60% at 10% 90%, rgba(194, 122, 70, .25), transparent 60%),
    var(--espresso);
  color: var(--cream);
  overflow: hidden;
  display: flex; align-items: center;
}
/* grain photo très léger */
.hero::before, .grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px);
  align-items: center; max-width: 1400px;
}
.hero h1 { font-weight: 350; margin-bottom: 28px; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--copper-light); }
.hero .lead { color: rgba(247, 242, 236, .72); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 56px 0 0; padding: 26px 0 0; list-style: none;
  border-top: 1px solid var(--line-light);
  font-size: 14px; color: rgba(247, 242, 236, .7);
}
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.hero-facts li:nth-child(even)::before { background: var(--sea); }

/* Visuel double : café / eau */
.duo { position: relative; height: min(640px, 72vh); }
.duo-card {
  position: absolute; overflow: hidden;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none; color: #fff;
  transition: transform .8s var(--ease);
}
.duo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-card:hover img { transform: scale(1.06); }
.duo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 8, 6, .75));
}
.duo-card .tag {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.duo-card .tag b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.duo-card .tag small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.duo-card .tag .circle {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .3s, transform .3s var(--ease);
}
.duo-card:hover .circle { background: var(--copper); transform: rotate(-45deg); }
.duo-card.water:hover .circle { background: var(--sea); }
.duo-card.coffee { left: 0; top: 0; width: 58%; height: 82%; }
.duo-card.water { right: 0; bottom: 0; width: 50%; height: 70%; border-radius: var(--radius) var(--radius) 200px 200px; }
.duo-card.water .tag { bottom: auto; top: 26px; align-items: flex-start; }
.duo-card.water::after { background: linear-gradient(0deg, transparent 50%, rgba(8, 40, 46, .7)); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; border: 1px solid var(--line-light);
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--copper-light); animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   BANDEAU DÉFILANT
   ========================================================================== */
.marquee {
  background: var(--copper); color: #fff;
  overflow: hidden; white-space: nowrap;
  padding: 18px 0;
  border-block: 1px solid rgba(0, 0, 0, .08);
}
.marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: 34px; padding-right: 34px;
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); font-style: italic;
}
.marquee span::after { content: "✦"; font-style: normal; font-size: .6em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   EN-TÊTES DE SECTION
   ========================================================================== */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .lead { margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ==========================================================================
   SOLUTIONS (cartes)
   ========================================================================== */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.solution:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.solution-media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.solution:hover .solution-media img { transform: scale(1.07); }
.solution-num {
  position: absolute; top: 18px; left: 18px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(247, 242, 236, .92); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
}
.solution-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.solution-body h3 { margin-bottom: 12px; }
.solution-body p { color: var(--muted); font-size: 16px; flex: 1; }
.solution-body .link-arrow { color: var(--copper); margin-top: 8px; align-self: flex-start; }
.solution.is-water .link-arrow { color: var(--sea); }

/* ==========================================================================
   HISTOIRE
   ========================================================================== */
.story { background: var(--sand); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.story-media .year {
  position: absolute; right: -28px; bottom: 40px;
  background: var(--espresso); color: var(--cream);
  padding: 26px 30px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.story-media .year b { display: block; font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: .9; color: var(--copper-light); }
.story-media .year span { font-size: 13px; letter-spacing: .08em; opacity: .75; }
.story h2 { margin-bottom: 30px; }
.story blockquote {
  margin: 34px 0 0; padding: 26px 0 0 30px;
  border-left: 1px solid var(--copper);
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-style: italic; line-height: 1.35;
  color: var(--ink);
}
.story blockquote small { display: block; margin-top: 14px; font: 500 14px var(--sans); font-style: normal; color: var(--muted); }
.big-word {
  position: absolute; right: -2vw; top: 40px; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(120px, 20vw, 300px); line-height: 1; letter-spacing: -.04em;
  color: rgba(42, 36, 33, .045);
}

/* ==========================================================================
   CHIFFRES
   ========================================================================== */
.stats { background: var(--espresso); color: var(--cream); position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stat { padding: 10px 34px; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 6vw, 86px); line-height: 1; letter-spacing: -.03em;
  margin-bottom: 14px;
}
.stat b sup { font-size: .4em; vertical-align: top; position: relative; top: .4em; color: var(--copper-light); }
.stat:nth-child(even) b sup { color: #6cc4cf; }
.stat p { margin: 0; color: rgba(247, 242, 236, .68); font-size: 15px; max-width: 24ch; }

/* ==========================================================================
   PROCESSUS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  position: relative; padding: 34px 28px 30px;
  border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.step:hover { background: var(--espresso); color: var(--cream); transform: translateY(-6px); }
.step:hover p { color: rgba(247, 242, 236, .7); }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 26px;
  background: var(--sand); color: var(--copper);
  transition: background .4s;
}
.step:hover .step-icon { background: var(--roast-2); }
.step-icon svg { width: 26px; height: 26px; }
.step::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 26px; right: 28px;
  font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--taupe); opacity: .6;
}
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); transition: color .4s; }

/* ==========================================================================
   BANDEAU ÉCOLOGIE
   ========================================================================== */
.eco {
  position: relative; color: #fff; overflow: hidden;
  min-height: 640px; display: flex; align-items: center;
}
.eco-bg { position: absolute; inset: -10% 0; }
.eco-bg img { width: 100%; height: 100%; object-fit: cover; }
.eco::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 34, 38, .88) 0%, rgba(6, 34, 38, .55) 45%, rgba(6, 34, 38, 0) 75%);
}
.eco .wrap { position: relative; z-index: 1; width: 100%; }
.eco-content { max-width: 560px; }
.eco .eyebrow { color: #8fd8e0; }
.eco h2 { margin-bottom: 24px; }
.eco h2 em { color: #8fd8e0; }
.eco p { color: rgba(255, 255, 255, .82); font-size: 18px; }
.eco-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.eco-list li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.eco-list svg { flex: 0 0 auto; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(143, 216, 224, .2); color: #8fd8e0; }

/* ==========================================================================
   PARTENAIRES
   ========================================================================== */
.partners { padding: 70px 0; border-bottom: 1px solid var(--line); }
.partners .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.partners p { margin: 0; font-family: var(--serif); font-size: 24px; max-width: 22ch; line-height: 1.25; }
.partner-logos { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.partner-logos img { height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner-logos img:hover { filter: none; opacity: 1; }
.partner-logos .logo-nescafe { height: 42px; }
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: .06em;
  color: var(--ink); opacity: .7; text-transform: uppercase;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--espresso); color: var(--cream); position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); position: relative; z-index: 1; }
.contact h2 { margin-bottom: 24px; }
.contact h2 em { color: var(--copper-light); }
.contact .lead { color: rgba(247, 242, 236, .7); }
.contact-cards { display: grid; gap: 14px; margin-top: 40px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-light); text-decoration: none;
  transition: background .3s, border-color .3s;
}
a.contact-card:hover { background: var(--roast); border-color: var(--copper); }
.contact-card .ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--roast-2); color: var(--copper-light);
}
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 242, 236, .55); }
.contact-card b { font-weight: 500; font-size: 18px; }

.form {
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 48px);
}
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.chips legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.chip span::before { content: "+"; font-weight: 400; transition: transform .25s; }
.chip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip input:checked + span::before { content: "✓"; }
.chip input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label {
  position: absolute; left: 17px; top: 17px;
  font-size: 15px; color: var(--muted); pointer-events: none;
  transition: transform .2s var(--ease), font-size .2s, color .2s;
  transform-origin: left top;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(194, 122, 70, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px); font-size: 12px; color: var(--copper);
}
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 24px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--copper); width: 16px; height: 16px; flex: 0 0 auto; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 14.5px; font-weight: 500; }
.form-status.ok { color: #2e7d4f; }
.form-status.err { color: #b3402a; }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { background: var(--espresso); color: rgba(247, 242, 236, .7); border-top: 1px solid var(--line-light); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 80px 0 60px; }
.footer-top h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-top a { text-decoration: none; transition: color .2s; }
.footer-top a:hover { color: var(--copper-light); }
.footer-brand p { max-width: 32ch; font-size: 15px; margin-top: 20px; }
.footer-brand address { font-style: normal; font-size: 15px; line-height: 1.6; margin-top: 20px; }
.footer-brand .brand { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 30px; font-size: 13.5px;
  background: linear-gradient(var(--line-light), var(--line-light)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Bouton d'appel flottant (mobile) */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--copper); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(194, 122, 70, .8);
}
.call-fab svg { width: 24px; height: 24px; }
.call-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--copper); animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */
.page-hero {
  position: relative; min-height: 78vh; padding: 170px 0 80px;
  color: #fff; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--espresso);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 17, 14, .35) 0%, rgba(22, 17, 14, .2) 40%, rgba(22, 17, 14, .88) 100%);
}
.page-hero.water::after { background: linear-gradient(180deg, rgba(5, 36, 42, .3) 0%, rgba(5, 36, 42, .15) 40%, rgba(5, 36, 42, .9) 100%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; }
.breadcrumb { display: flex; gap: 10px; font-size: 14px; opacity: .75; margin-bottom: 24px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { max-width: 14ch; margin-bottom: 24px; }
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--copper-light); }
.page-hero.water h1 em { color: #8fd8e0; }
.page-hero .lead { color: rgba(255, 255, 255, .8); }
.page-hero .eyebrow { color: var(--copper-light); }
.page-hero.water .eyebrow { color: #8fd8e0; }

/* Blocs alternés */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(80px, 10vw, 140px); }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.feature-media .pill {
  position: absolute; left: 24px; bottom: 24px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(247, 242, 236, .94); color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 8px;
}
.feature-media .pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.is-water .feature-media .pill::before { background: var(--sea); }
.feature-media.logo-box {
  aspect-ratio: 5 / 4; border-radius: var(--radius);
  background: #fff; display: grid; place-items: center; padding: 12%;
  box-shadow: 0 1px 0 var(--line);
}
.feature-media.logo-box img { aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.feature-text h2 { margin-bottom: 24px; }
.feature-text .num { font-family: var(--serif); font-style: italic; color: var(--taupe); font-size: 22px; margin-bottom: 14px; display: block; }
.feature-text p { color: var(--muted); font-size: 18px; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.is-water .check-list li::before { background-color: var(--sea); }

/* Bandeau d'offre */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer {
  padding: 34px 30px; border-radius: var(--radius);
  background: var(--roast); border: 1px solid var(--line-light);
  transition: border-color .3s, transform .4s var(--ease);
}
.offer:hover { border-color: var(--copper); transform: translateY(-6px); }
.offer .step-icon { background: var(--roast-2); }
.offer { position: relative; }
.offer-size { position: absolute; top: 32px; right: 30px; text-align: right; line-height: 1; }
.offer-size b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.01em; color: var(--copper); }
.offer-size small { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 242, 236, .6); }
.offer h3 { margin-bottom: 10px; color: var(--cream); }
.offer p { margin: 0; color: rgba(247, 242, 236, .68); font-size: 15.5px; }
.dark { background: var(--espresso); color: var(--cream); }
.dark .lead { color: rgba(247, 242, 236, .7); }

/* Comparatif */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 40px 36px; }
.compare-col.old { background: #fff; box-shadow: 0 1px 0 var(--line); }
.compare-col.new { background: var(--sea-deep); color: #fff; position: relative; overflow: hidden; }
.compare-col.new::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 216, 224, .35), transparent 70%);
}
.compare-col h3 { margin-bottom: 6px; }
.compare-col .sub { font-size: 14px; opacity: .7; margin-bottom: 26px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid currentColor; border-color: rgba(127, 127, 127, .18); }
.compare-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.compare-col.old li::before { content: "—"; color: var(--taupe); }
.compare-col.new li::before { content: "✓"; color: #8fd8e0; font-weight: 700; }

/* Appel à l'action */
.cta-band {
  margin: 0 auto;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--copper); color: #fff;
  padding: clamp(48px, 7vw, 90px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band.water { background: var(--sea); }
.cta-band::after {
  content: ""; position: absolute; right: -10%; bottom: -60%; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 60px rgba(255, 255, 255, .05), 0 0 0 120px rgba(255, 255, 255, .04);
}
.cta-band h2 { position: relative; z-index: 1; }
.cta-band .actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 130px); }

/* Pages légales */
.notfound { min-height: 78vh; display: grid; align-items: center; padding: 150px 0 90px; text-align: center; }
.notfound .wrap { max-width: 760px; }
.notfound-code { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(110px, 18vw, 200px); line-height: .9; color: var(--copper); opacity: .9; }
.notfound h1 { font-size: clamp(36px, 5vw, 60px); margin: 18px 0 16px; }
.notfound .lead { margin: 0 auto 34px; max-width: 46ch; }
.notfound-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.legal-page { padding: 160px 0 100px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 30px; }
.legal-page h2 { font-size: 26px; margin: 40px 0 14px; }
.legal-page .notice {
  padding: 18px 22px; border-radius: var(--radius-sm);
  background: #fff4e8; border: 1px solid #f0d2b4; color: #7a4a22; font-size: 15px; margin-bottom: 30px;
}

/* ==========================================================================
   ANIMATIONS D'APPARITION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

.hero-in > * { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: .12s; }
.hero-in > *:nth-child(3) { animation-delay: .24s; }
.hero-in > *:nth-child(4) { animation-delay: .36s; }
.hero-in > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.duo { animation: rise 1.4s .3s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .duo { height: 520px; max-width: 620px; width: 100%; margin: 0 auto; }
  .solutions { grid-template-columns: 1fr 1fr; }
  .solutions .solution:last-child { grid-column: 1 / -1; flex-direction: row; }
  .solutions .solution:last-child .solution-media { flex: 0 0 50%; aspect-ratio: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  body { font-size: 16px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .story-grid, .contact-grid, .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .story-media .year { right: 16px; bottom: 16px; padding: 18px 22px; }
  .story-media .year b { font-size: 46px; }
  .solutions { grid-template-columns: 1fr; }
  .solutions .solution:last-child { flex-direction: column; }
  .solutions .solution:last-child .solution-media { aspect-ratio: 4 / 3.2; }
  .steps { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .eco::after { background: linear-gradient(180deg, rgba(6, 34, 38, .5), rgba(6, 34, 38, .9)); }
  .partners .wrap { flex-direction: column; align-items: flex-start; }
  .call-fab { display: grid; }
  .footer-top { grid-template-columns: 1fr; padding: 60px 0 40px; }
  .page-hero { min-height: 70vh; padding-top: 140px; }
  .hero { padding-top: 130px; }
  .brand span { font-size: 18px; }
  .brand img { width: 68px; height: 68px; border-radius: 15px; padding: 4px; }
  .site-header.is-solid .brand img { width: 56px; height: 56px; border-radius: 13px; }

  /* bandeaux photo des pages intérieures : voile plus dense pour la lisibilité */
  .page-hero::after { background: linear-gradient(180deg, rgba(22, 17, 14, .55) 0%, rgba(22, 17, 14, .6) 45%, rgba(22, 17, 14, .92) 100%); }
  .page-hero.water::after { background: linear-gradient(180deg, rgba(5, 36, 42, .5) 0%, rgba(5, 36, 42, .55) 45%, rgba(5, 36, 42, .92) 100%); }
  .partner-logos { gap: 32px; }
  .partner-logos img { height: 46px; }
  .partner-logos .logo-nescafe { height: 30px; }
  .wordmark { font-size: 26px; }
}

@media (max-width: 520px) {
  .duo { height: 430px; }
  .duo-card .tag b { font-size: 22px; }
  .duo-card .tag .circle { width: 38px; height: 38px; }
  .duo-card .tag { left: 18px; right: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 0 0 30px; border-bottom: 1px solid var(--line-light); }
  .stat:last-child { border-bottom: 0; }
  .hero-facts { gap: 10px 20px; }
  .btn { padding: 15px 22px; }
}
