/* Magda plant-based – SIAL Paris 2026 landing page (look & feel of magdaplantbased.com) */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Poppins-Bold.woff2") format("woff2"); }

:root {
  --pink: #ff005e;
  --pink-dark: #d9004f;
  --pink-soft: #ffe6ef;
  --green: #00b26b;
  --text: #222222;
  --muted: #5f5f5f;
  --grey: #f4f4f4;
  --white: #ffffff;
  --radius: 26px;
  --container: 1200px;
  --header-h: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Poppins", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
html:not(.i18n-ready) [data-i18n] { visibility: hidden; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--pink); border-color: var(--white); }
.btn-light:hover { background: var(--pink-soft); border-color: var(--pink-soft); }
.btn-pink { background: var(--pink); color: var(--white); border-color: var(--pink); }
.btn-pink:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-outline { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn-outline:hover { background: var(--pink); color: var(--white); }
.btn .arrow { width: 16px; height: 10px; position: relative; display: inline-block; }
.btn .arrow::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 2px; background: currentColor; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: 1px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* ---------- header: SIAL | logo | Catalogue + language ---------- */
.site-header { background: var(--pink); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); }
.site-nav a { display: inline-flex; align-items: center; font-weight: 600; font-size: 17px; color: var(--white); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; white-space: nowrap; }
.site-nav a:hover { border-bottom-color: rgba(255,255,255,.85); }
.site-nav--left { justify-self: start; display: flex; gap: 26px; }
.site-nav a.only-mobile { display: none; }
.site-logo { justify-self: center; display: block; margin: 0 32px; }
.site-logo img { height: 54px; width: auto; }
.site-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }

.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 0; color: var(--white); font: inherit; font-weight: 600; cursor: pointer; padding: 8px 6px; }
.lang-btn img { width: 20px; height: 20px; border-radius: 50%; }
.lang-btn svg { width: 10px; height: 6px; }
.lang-menu { display: none; position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; background: var(--white); color: var(--text); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; }
.lang-menu a:hover { background: var(--grey); }
.lang-menu a.active { color: var(--pink); font-weight: 600; }
.lang-menu img { width: 20px; height: 20px; border-radius: 50%; }

/* ---------- hero ---------- */
.hero { position: relative; height: clamp(420px, 60vw, 640px); overflow: hidden; background: #222; color: var(--white); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s ease; display: flex; align-items: flex-end; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide__content { position: relative; z-index: 2; padding-bottom: 80px; max-width: var(--container); }
.hero-slide h1, .hero-slide h2 { font-size: clamp(34px, 5vw, 62px); font-weight: 700; max-width: 14ch; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-slide p { font-size: clamp(15px, 1.5vw, 19px); max-width: 48ch; margin: 16px 0 22px; text-shadow: 0 1px 10px rgba(0,0,0,.45); font-weight: 500; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--pink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-prev { left: 18px; } .hero-next { right: 18px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.75); cursor: pointer; padding: 0; }
.hero-dot.active { background: var(--pink); }

/* ---------- sections ---------- */
.section { padding: 64px 0; scroll-margin-top: 100px; }
.section-title { color: var(--pink); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.section-lead { color: var(--muted); max-width: 70ch; margin: 12px 0 34px; font-size: 17px; }

/* catalogue */
.catalogue { background: var(--grey); }
.catalogue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cat-card { background: var(--white); border-radius: var(--radius); padding: 22px 22px 26px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.cat-card img { width: 100%; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.cat-card h3 { font-size: 22px; margin-top: 20px; color: var(--pink); }
.cat-meta { color: var(--muted); font-size: 14px; margin: 4px 0 16px; }
.cat-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* values / motto */
.values-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.motto { display: grid; grid-template-columns: 1fr 1fr; }
.motto li { display: flex; align-items: center; gap: 16px; padding: 18px 10px; border-bottom: 1px solid #e3e3e3; color: var(--pink); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.motto li:nth-last-child(-n+2) { border-bottom: 0; }
.motto li > span > span { font-weight: 500; }
.motto img { width: 52px; height: 52px; flex: 0 0 52px; }
.cow { position: relative; max-width: 460px; margin: 0 auto; }
.cow img { width: 100%; }
.bubble { position: absolute; left: 0; bottom: 6%; background: var(--green); color: var(--white); font-weight: 700; text-transform: uppercase; font-size: 18px; line-height: 1.15; padding: 16px 22px; border-radius: 18px; max-width: 46%; letter-spacing: .02em; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.bubble::after { content: ""; position: absolute; right: -14px; top: 38%; border: 10px solid transparent; border-left-color: var(--green); }

/* SIAL / contact */
.contact { background: var(--grey); }
.contact__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: stretch; }
.contact h2 { color: var(--pink); font-size: clamp(30px, 3.6vw, 44px); }
.contact__dates { font-weight: 600; font-size: 18px; margin: 10px 0 4px; }
.contact__stand { font-size: 16px; margin: 0 0 10px; }
.contact__lead { color: var(--muted); max-width: 60ch; }
.contact__box { background: var(--pink); color: var(--white); border-radius: var(--radius); padding: 34px 32px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.contact__label { font-weight: 600; margin: 0; font-size: 15px; opacity: .9; }
.contact__email { font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; overflow-wrap: anywhere; }
.contact__www { font-weight: 500; opacity: .95; margin-bottom: 12px; }
.contact__box .btn { align-self: flex-start; }

/* SIAL banner */
.sial-banner { margin-top: 22px; max-width: 595px; }
.sial-banner img { width: 100%; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.12); transition: transform .2s; }
.sial-banner a:hover img { transform: translateY(-2px); }
.sial-banner__link { margin: 14px 0 0; font-weight: 600; color: var(--pink); }
.sial-banner__link a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid transparent; }
.sial-banner__link a:hover { border-bottom-color: var(--pink); }
.sial-banner__link .arrow { width: 16px; height: 10px; position: relative; display: inline-block; }
.sial-banner__link .arrow::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 2px; background: currentColor; }
.sial-banner__link .arrow::after { content: ""; position: absolute; right: 0; top: 1px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.footer-eu a { display: inline-block; }

/* footer */
.site-footer { background: var(--pink); color: var(--white); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 40px; padding-bottom: 28px; flex-wrap: wrap; }
.footer-brand p { line-height: 1.7; margin: 0; }
.footer-brand a:hover { text-decoration: underline; }
.footer-eu img { background: var(--white); padding: 6px 10px; border-radius: 8px; height: 52px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.35); padding: 16px 0 22px; }
.footer-copy { margin: 0 0 6px; font-weight: 600; }
.footer-disclaimer { font-size: 12px; opacity: .85; margin: 0; max-width: 100ch; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  :root { --header-h: auto; }
  .site-header__inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "left logo right"; padding-top: 10px; padding-bottom: 10px; }
  .site-nav--left { grid-area: left; }
  .site-logo { grid-area: logo; margin: 0 12px; }
  .site-logo img { height: 44px; }
  .site-header__right { grid-area: right; gap: 14px; }
  .site-nav a { font-size: 15px; }
  .hero-slide__content { padding-bottom: 64px; }
  .catalogue-grid, .values-grid, .contact__inner { grid-template-columns: 1fr; }
  .cow { margin-top: 10px; }
}
@media (max-width: 600px) {
  .section { padding: 44px 0; scroll-margin-top: 120px; }
  .btn { white-space: normal; text-align: left; }
  .site-header__inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "spacer logo right" "left left left"; row-gap: 2px; }
  .site-logo { justify-self: center; margin: 0; }
  .site-nav--left { justify-self: center; gap: 28px; }
  .site-nav--left a { font-size: 15px; }
  .site-nav a.only-mobile { display: inline-flex; }
  .site-nav--right { display: none; }
  .motto { grid-template-columns: 1fr; }
  .motto li:nth-last-child(-n+2) { border-bottom: 1px solid #e3e3e3; }
  .motto li:last-child { border-bottom: 0; }
  .hero { height: 70vh; min-height: 420px; }
  .hero-arrow { display: none; }
  .bubble { font-size: 15px; padding: 12px 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}
