/* ===== La Fontaine Bleue — styles du site ===== */
:root {
  --fb-blue: #2340a8;
  --fb-navy: #12195a;
  --fb-sky: #4f8df5;
  --fb-gold: #c9a34a;
  --fb-pink: #c77fb0;
  --ink: #1b2240;
  --muted: #5b6380;
  --soft: #f3f6fd;
  --grid: #e3e8f4;
  --bs-primary: #2340a8;
  --bs-primary-rgb: 35, 64, 168;
  --bs-link-color: #2340a8;
  --bs-link-color-rgb: 35, 64, 168;
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink);
}
html { scroll-padding-top: 76px; }
body { background: #fff; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.mw-640 { max-width: 640px; }
.bg-soft { background: var(--soft); }
.bg-deep { background: radial-gradient(1200px 500px at 80% 0%, #2a4cc4 0%, transparent 60%), var(--fb-navy); }

/* ----- Boutons ----- */
.btn-primary { --bs-btn-bg: var(--fb-blue); --bs-btn-border-color: var(--fb-blue); --bs-btn-hover-bg: var(--fb-navy); --bs-btn-hover-border-color: var(--fb-navy); --bs-btn-active-bg: var(--fb-navy); }
.btn-gold { background: var(--fb-gold); color: var(--fb-navy); font-weight: 600; border: 0; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-gold:hover, .btn-gold:focus { background: #d9b45a; color: var(--fb-navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,163,74,.35); }
.btn-pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,163,74,.55); } 50% { box-shadow: 0 0 0 14px rgba(201,163,74,0); } }

/* ----- Navigation ----- */
#nav { transition: background .3s, box-shadow .3s, padding .3s; padding: 1rem 0; }
#nav.scrolled, #nav.open { background: rgba(18,25,90,.92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: .5rem 0; }

/* ----- Accueil ----- */
.hero { position: relative; color: #fff; overflow: hidden; padding-top: 96px;
  background: linear-gradient(120deg, #0e1550, #2340a8, #1f6fd1, #12195a); background-size: 300% 300%; animation: sea 18s ease infinite; }
@keyframes sea { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.min-vh-hero { min-height: 70vh; }
.hero .lead { color: rgba(255,255,255,.85); }
.eyebrow { color: var(--fb-gold); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .8rem; margin-bottom: .5rem; }
.section-title { color: var(--fb-navy); font-weight: 700; }
.text-shimmer { background: linear-gradient(90deg, #fff 0%, #9cc3ff 25%, #fff 50%, #9cc3ff 75%, #fff 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

.bottle-stage { position: relative; display: inline-block; }
.duo { margin-top: 1.5rem; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.duo .b-oceanne { max-height: 440px; margin-right: -70px; animation-delay: -3s; }
.duo .b-equa { max-height: 380px; z-index: 1; }
.hero-bottle { position: relative; max-height: 480px; width: auto; height: auto; max-width: 100%;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; transition: transform .2s ease-out; }
.halo { position: absolute; inset: 15% 5% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(120,180,255,.55), transparent 65%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes float { 0%,100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -18px; rotate: 2deg; } }
@keyframes breathe { 0%,100% { opacity: .6; scale: 1; } 50% { opacity: 1; scale: 1.08; } }

.stats { position: relative; z-index: 2; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; padding: 1rem; text-align: center; backdrop-filter: blur(6px); }
.stat .num { font-size: 2rem; font-weight: 800; }
.stat .unit { font-weight: 600; opacity: .85; }
.stat small { display: block; opacity: .8; }

.waves { position: absolute; bottom: -1px; left: 0; width: 200%; height: 90px; }
.waves path { fill: #fff; }
.waves .w1 { opacity: .35; animation: wave 12s linear infinite; }
.waves .w2 { animation: wave 8s linear infinite reverse; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble { position: absolute; bottom: -40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.15) 60%, transparent 70%);
  animation: rise linear forwards; }
@keyframes rise { to { transform: translate(var(--drift), -110vh); opacity: 0; } }

/* ----- Apparition au défilement ----- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.zoom { transform: scale(.85); }
.reveal.in { opacity: 1; transform: none; }

/* ----- Cartes marques ----- */
.brand-card { background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 10px 30px rgba(18,25,90,.08); transition: box-shadow .3s; transform-style: preserve-3d; }
.brand-card:hover { box-shadow: 0 24px 50px rgba(18,25,90,.18); }
.brand-visual { height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bg-oceanne { background: radial-gradient(circle at 50% 40%, #ffffff, #e7ecfb); }
.bg-equa { background: radial-gradient(circle at 50% 40%, #ffffff, #dde6fb); }
.float-slow { animation: float 7s ease-in-out infinite; }
.zoom-slow { transition: transform 6s ease; }
.brand-card:hover .zoom-slow { transform: scale(1.12); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.tilt { transition: transform .25s ease-out; will-change: transform; }

/* ----- Logo Océanne, bandeau, photo réelle ----- */
.brand-wordmark { height: 52px; width: auto; }
.banner-wrap { padding: 0 1rem; }
.banner { max-width: 1200px; margin: 0 auto; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 24px 60px rgba(18,25,90,.25); }
.banner img { width: 100%; height: auto; display: block; transform: scale(1.12); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.banner.in img { transform: scale(1); }
.photo-real { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 18px 40px rgba(18,25,90,.18); position: relative; }
.photo-real img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 35%; display: block; transition: transform .6s; }
.photo-real:hover img { transform: scale(1.04); }
.photo-real figcaption { position: absolute; left: .75rem; bottom: .75rem; background: rgba(18,25,90,.85); color: #fff; font-size: .8rem; padding: .3rem .6rem; border-radius: .4rem; }
.quote { font-size: 1.15rem; color: var(--fb-navy); border-left: 4px solid var(--fb-pink); padding-left: 1rem; margin-bottom: 1.25rem; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: .45rem 0 .45rem 1.75rem; position: relative; border-bottom: 1px solid var(--grid); }
.facts li::before { content: "💧"; position: absolute; left: 0; }

/* ----- Mot du DG ----- */
.dg-card { background: linear-gradient(135deg, #fff 0%, var(--soft) 100%); border: 1px solid var(--grid); border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 18px 44px rgba(18,25,90,.08); }
.dg-photo { width: 100%; height: auto; max-width: 280px; aspect-ratio: 27 / 32; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--fb-gold), 0 20px 40px rgba(18,25,90,.2); }
.dg-text { font-size: 1.05rem; line-height: 1.7; max-width: 62ch; }
.dg-text p { margin-bottom: .9rem; }
.dg-sign { border-top: 1px solid var(--grid); padding-top: 1rem; margin-top: .5rem; color: var(--fb-navy); }
.dg-sign span { color: var(--muted); }

/* ----- Équipe ----- */
.team-card { background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 10px 30px rgba(18,25,90,.08); }
.team-photo { aspect-ratio: 5 / 6; max-width: 100%; overflow: hidden; background: var(--soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo.initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--fb-navy), var(--fb-blue)); }
.team-photo.initials span { font-size: 4rem; font-weight: 700; color: #fff; letter-spacing: .05em; }
.team-role { color: var(--fb-blue); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

/* ----- Offre Océanne ----- */
.promo { padding: 4rem 0; background: radial-gradient(700px 400px at 70% 50%, #ffffff 0%, #bfe3fb 45%, #1e9be0 100%); overflow: hidden; }
.promo-logo { max-width: 240px; width: 100%; height: auto; margin-bottom: 1rem; }
.promo-title { font-weight: 800; color: var(--fb-navy); font-size: clamp(1.8rem, 4vw, 2.8rem); text-wrap: balance; }
.promo-title span { color: var(--fb-blue); white-space: nowrap; }
.promo-text { font-size: 1.1rem; color: var(--ink); max-width: 46ch; }
.promo-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.promo-tags span { background: var(--fb-navy); color: #fff; font-weight: 600; font-size: .85rem; padding: .4rem .9rem; border-radius: 2rem; }
.promo-tags span:first-child { background: #fff; color: var(--fb-navy); }
.promo-stage { position: relative; display: inline-block; padding: 1rem 0 0 3rem; }
.promo-bottle { max-height: 440px; width: auto; max-width: 100%; height: auto; filter: drop-shadow(0 24px 24px rgba(18,25,90,.35)); animation: float 6s ease-in-out infinite; }
.promo-badge { position: absolute; left: -1rem; top: 35%; z-index: 2; width: 164px; height: 164px; border-radius: 50%; background: #ffe23b; text-align: center; padding: 0 .9rem; border: 6px solid var(--fb-navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #111; box-shadow: 0 14px 30px rgba(0,0,0,.25); rotate: -12deg; animation: badge 3.2s ease-in-out infinite; }
.promo-badge strong { font-size: 3.2rem; font-weight: 800; letter-spacing: -.02em; }
.promo-badge span { font-weight: 800; font-size: 1rem; }
.promo-badge small { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--fb-navy); margin: .15rem 0; }
@keyframes badge { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (max-width: 575.98px) { .promo-badge { width: 132px; height: 132px; padding: 0 .6rem; } .promo-badge small { font-size: .5rem; } .promo-badge strong { font-size: 2.5rem; } .promo-bottle { max-height: 320px; } }

/* ----- Fontaines à eau ----- */
.cooler-stage { display: inline-block; padding: 1rem 2rem; border-radius: 1.5rem; background: radial-gradient(circle at 50% 40%, #ffffff, var(--soft)); }
.cooler-svg { width: 200px; max-width: 100%; height: auto; filter: drop-shadow(0 20px 24px rgba(18,25,90,.18)); }
.cooler-variant { --cooler-panel: #1b1f2a; transition: --cooler-panel .4s; }
.cooler-variant[data-variant="rouge"] { --cooler-panel: #a3221f; }
.cooler-svg rect[fill="var(--cooler-panel)"] { transition: fill .4s; }
.led-hot { fill: #e5484d; } .led-mid { fill: #3fb950; } .led-cold { fill: #4f8df5; }
.led { animation: led 2.4s ease-in-out infinite; } .led-mid { animation-delay: .8s; } .led-cold { animation-delay: 1.6s; }
@keyframes led { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.drip { animation: drip 1.8s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { transform: translateY(38px); opacity: 1; } 100% { transform: translateY(42px); opacity: 0; } }
.cooler-switch { display: inline-flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.cooler-switch button { border: 1px solid var(--grid); background: #fff; border-radius: 2rem; padding: .4rem .9rem; font-size: .85rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.cooler-switch button i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.cooler-switch button.active { border-color: var(--fb-blue); box-shadow: 0 0 0 2px rgba(35,64,168,.2); }
.cooler-switch button:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }

.team-group { max-width: 1000px; margin-left: auto; margin-right: auto; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 18px 44px rgba(18,25,90,.15); position: relative; }
.team-group img { width: 100%; height: auto; display: block; }
.team-group figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(18,25,90,.85); color: #fff; font-size: .85rem; padding: .35rem .75rem; border-radius: .5rem; }

.video-card { background: var(--fb-navy); border-radius: 1.25rem; overflow: hidden; box-shadow: 0 18px 40px rgba(18,25,90,.2); }
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; max-width: 100%; background: #000; object-fit: cover; }
.video-card figcaption { color: #fff; font-size: .9rem; padding: .7rem 1rem; }

.bonbonne-photo { max-width: 340px; border-radius: 1.25rem; overflow: hidden; position: relative; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.bonbonne-photo img { width: 100%; height: auto; display: block; }
.bonbonne-photo figcaption { position: absolute; left: .75rem; bottom: .75rem; background: rgba(18,25,90,.85); color: #fff; font-size: .8rem; padding: .3rem .6rem; border-radius: .4rem; }

/* ----- Galerie ----- */
.g-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.g-filters button { border: 1px solid var(--grid); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; padding: .45rem 1rem; border-radius: 2rem; transition: background .2s, color .2s; }
.g-filters button.active { background: var(--fb-navy); color: #fff; border-color: var(--fb-navy); }
.g-filters button:focus-visible, .g-open:focus-visible { outline: 3px solid var(--fb-gold); outline-offset: 3px; }
.g-grid { columns: 3 260px; column-gap: 1rem; }
.g-item { break-inside: avoid; margin: 0 0 1rem; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 24px rgba(18,25,90,.08); }
.g-item[hidden] { display: none !important; }
.g-open { display: block; width: 100%; border: 0; padding: 0; background: #fff; cursor: zoom-in; overflow: hidden; }
.g-open img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.g-open:hover img { transform: scale(1.06); }
.g-item figcaption { padding: .6rem .9rem; font-size: .85rem; color: var(--muted); }
.lb { background: rgba(10,14,48,.96); border: 0; border-radius: 1rem; padding: 2.5rem 3.5rem 1rem; align-items: center; }
.lb img { max-width: 100%; max-height: 75vh; width: auto; height: auto; border-radius: .5rem; }
.lb-cap { color: #fff; margin: .75rem 0 0; text-align: center; }
.lb-close { position: absolute; top: .75rem; right: .75rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; line-height: 1; }
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: .5rem; } .lb-next { right: .5rem; }
@media (max-width: 575.98px) { .lb { padding: 2.5rem .5rem 1rem; } .lb-nav { top: auto; bottom: .5rem; transform: none; } }

/* ----- Graphiques ----- */
.chart-card { background: #fff; border: 1px solid var(--grid); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 10px 30px rgba(18,25,90,.06); }
.chart-card.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); box-shadow: none; }
.hbar { display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: .75rem; padding: .35rem 0; cursor: default; }
.hbar .name { font-size: .9rem; color: var(--muted); text-align: right; }
.dark .hbar .name { color: rgba(255,255,255,.8); }
.hbar .track { position: relative; height: 22px; display: flex; align-items: center; }
.hbar .fill { height: 20px; width: 0; background: var(--fb-blue); border-radius: 0 4px 4px 0; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.dark .hbar .fill { background: var(--fb-sky); }
.hbar .val { margin-left: .5rem; font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .4s 1s; }
.dark .hbar .val { color: #fff; }
.in .hbar .val { opacity: 1; }
.hbar:hover .fill { filter: brightness(1.15); }

.bullet { margin-bottom: 1.6rem; }
.bullet .head { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .4rem; }
.bullet .head strong { color: var(--ink); }
.bullet .bar { position: relative; height: 22px; background: var(--grid); border-radius: 4px; }
.bullet .fill { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; min-width: 0; background: var(--fb-blue); border-radius: 0 4px 4px 0; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.in .bullet .fill { min-width: 6px; }
.bullet .limit { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); }
.bullet .limit span { position: absolute; top: 100%; right: 0; margin-top: 4px; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.bullet .note { font-size: .85rem; color: var(--muted); margin-top: 1.5rem; }
.chart-tip { position: fixed; z-index: 2000; pointer-events: none; background: var(--fb-navy); color: #fff; font-size: .8rem; padding: .4rem .6rem; border-radius: .4rem; opacity: 0; transition: opacity .15s; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.chart-tip.show { opacity: 1; }

.bottle-grid { display: grid; grid-template-columns: repeat(19, 1fr); gap: 4px; max-width: 520px; }
.drop { aspect-ratio: 3 / 4; background: var(--fb-sky); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: 0; transform: translateY(-10px) scale(.4); transition: opacity .35s, transform .35s; }
.drop.half { background: linear-gradient(90deg, var(--fb-sky) 80%, rgba(255,255,255,.15) 80%); }
.in .drop { opacity: 1; transform: none; }

.accessory { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 1.25rem; overflow: hidden; display: flex; align-items: center; }
.accessory img { width: 42%; aspect-ratio: 1; object-fit: contain; background: #fff; }

/* ----- Tableau comparatif ----- */
.compare { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(18,25,90,.06); }
.compare thead th { background: var(--fb-navy); color: #fff; font-weight: 600; }
.compare td.best { color: var(--fb-blue); font-weight: 600; background: rgba(35,64,168,.06); }

/* ----- Divers ----- */
.phones li { padding: .2rem 0; }
.wa-link { color: #128c4b; font-weight: 600; }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: 1rem; }
footer { background: var(--fb-navy); color: rgba(255,255,255,.8); }
footer a { color: #fff; }
.wa-float-wrap { position: fixed; right: 1rem; bottom: 1rem; z-index: 1030; }
.wa-float { border: 0; background: #25d366; color: #fff; font-weight: 600; text-decoration: none;
  padding: .7rem 1.1rem; border-radius: 2rem; box-shadow: 0 10px 24px rgba(0,0,0,.25); animation: bob 3s ease-in-out infinite; }
.wa-float:hover { color: #fff; filter: brightness(1.05); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 575.98px) {
  .py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hbar { grid-template-columns: 7rem 1fr; }
  .stat .num { font-size: 1.6rem; }
  .hero-bottle { max-height: 340px; }
  .duo .b-oceanne { max-height: 300px; margin-right: -50px; }
  .duo .b-equa { max-height: 260px; }
  .bottle-grid { grid-template-columns: repeat(10, 1fr); }
}

/* Respect des préférences « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bubbles { display: none; }
}
.wa-float:hover, .wa-float:focus, .wa-float[aria-expanded="true"] { animation: none; }
