:root
{
  --text:#ffffff;
  --backdrop: rgba(6,27,79,.45);
  /* Ajustez facilement la taille et la position des bulles si besoin */
  --bubbles-width: 30%;
  --bubbles-left: 40%;
  --bubbles-top: -25%;
}

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

html, body
{
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color:var(--text);
  text-rendering: optimizelegibility;
  overflow-x: hidden;
}

/* Background packshot */
body::before
{
  content: "";
  position: fixed;
  inset:0;
  background: url('packshot.jpg') center / cover no-repeat fixed, #0B5ED7;
  z-index: -2;
  filter: saturate(1.05) contrast(1.05);
}

/* Overlay pour lisibilité */
body::after
{
  content: "";
  position: fixed;
  inset:0;
  background: radial-gradient(60% 60% at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.35) 100%);
  z-index: -1;
}

.wrap
{
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

/* Conteneur commun pour aligner le logo et la section */
.container
{
  width:min(1100px,100%);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 24px);
}

header
{
  padding-top: clamp(12px, 1.6vw, 22px);
}

/* Logo simple, sans fond */
.brand
{
  display: block;
  width:fit-content;
}

.brand img
{
  width: 200px;
  height: 200px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  /* coin doux, pas obligatoire */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.025);
}

main
{
  padding: 0 0 24px;
}

.hero
{
  display: grid;
  grid-template-columns: minmax(0, 580px);
  align-items: center;
  column-gap: clamp(20px, 5vw, 40px);
  row-gap: clamp(16px, 3vw, 28px);
  width: 100%;
}

@media (min-width: 920px)
{
  .hero
  {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.panel
{
  background: var(--backdrop);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

h1
{
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.1;
  margin: 0.2em 0 0.3em;
  text-shadow: 0 4px 18px rgba(12, 99, 255, 0.45);
}

p.lead
{
  font-size: clamp(16px, 2.6vw, 19px);
  opacity: 0.95;
  margin: 0 0 12px;
}

.cta
{
  display: inline-block;
  margin-top: 10px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #2DA1FF, #0C63FF);
  color: #FFF;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(12, 99, 255, 0.55);
}

.product
{
  position: relative;
  width: min(420px, 80vw);
  margin-inline:auto;
  pointer-events: none;
}

.product img.bottle
{
  width: 80%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

/* Bulles réduites et positionnées au-dessus du bouchon */
.product .bubbles
{
  position: absolute;
  width:var(--bubbles-width);
  left:var(--bubbles-left);
  top:var(--bubbles-top);
  transform: translateX(-50%);
  animation: floatUp 6.5s ease-in-out infinite;
  opacity: 0.95;
  filter: drop-shadow(0 10px 18px rgba(0, 130, 255, 0.35));
  will-change: transform, opacity;
}

@keyframes floatUp
{
  0%
  {
    transform: translate(-50%, 6%) scale(0.5);
    opacity: 0.0;
  }
  
  12%
  {
    opacity: 0.9;
  }
  
  50%
  {
    transform: translate(-50%, -6%) scale(0.6);
  }
  
  100%
  {
    transform: translate(-50%, -18%) scale(0.8);
    opacity: 0;
  }
}

footer
{
  text-align: center;
  padding: 16px 20px 28px;
  font-size: 13px;
  opacity: 0.9;
}

.sr-only
{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
