/* =========================================================
   CCIRS — Chambre de Commerce et d'Industrie Roumanie–Suisse
   Design system : premium, institutionnel, futuriste
   ========================================================= */

:root {
  /* Brand palette */
  --blue-900: #0A2A4E;   /* bleu institutionnel profond */
  --blue-800: #12386A;
  --blue-600: #1F4E8C;
  --blue-300: #6E92BD;
  --red:      #D4202A;   /* rouge élégant (Roumanie/Suisse) */
  --red-dark: #A8121B;
  --yellow:   #FCD116;   /* jaune Roumanie */
  --gold:     #C9A24B;   /* doré subtil */
  --silver:   #D9DEE6;

  /* Neutrals */
  --ivory:    #FBFAF6;   /* fond perle/ivoire */
  --cream:    #F4F1EA;
  --white:    #ffffff;
  --ink:      #182A3D;
  --muted:    #5C6B7A;
  --line:     #E7E4DC;

  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 14px rgba(10, 42, 78, 0.06);
  --shadow:    0 18px 50px rgba(10, 42, 78, 0.12);
  --ease: cubic-bezier(.22,.61,.36,1);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  overflow-wrap: break-word; /* safeguard for long DE compounds */
}
h1, h2, h3, h4 { overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.narrow { max-width: 880px; }
.center { text-align: center; }
.section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--cream), var(--ivory)); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--blue-900); letter-spacing: .2px; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p  { color: var(--muted); }

.kicker {
  display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.kicker.light { color: var(--yellow); }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 12px; }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-intro { font-size: 1.15rem; margin-top: 18px; }
.section-intro.light, .light p, p.light { color: rgba(255,255,255,.82); }
h2.light, .light h2 { color: var(--white); }

.lead p, p.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink); margin-bottom: 1.1em; font-weight: 400; }
.lead p:last-child { margin-bottom: 0; }

.accent-ro { color: var(--red); font-style: italic; }
.accent-ch { color: var(--blue-600); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .35s var(--ease); white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(212,32,42,.28); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(212,32,42,.36); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--blue-900); border-color: var(--silver); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: var(--blue-600); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251, 250, 246, .72); backdrop-filter: blur(14px); 
  border-bottom: 1px solid transparent; transition: all .4s var(--ease);
}
.site-header.scrolled { background: rgba(251,250,246,.92); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 8px; min-height: 76px; }
.brand-logo { height: 120px; width: auto; max-width: 220px; display: block; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo { height: 80px; }

.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { font-size: .92rem; font-weight: 500; color: var(--blue-900); position: relative; padding-bottom: 3px; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.lang { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: none; border: none; cursor: pointer; padding: 5px 9px; border-radius: 100px; transition: all .25s; }
.lang.active { background: var(--blue-900); color: #fff; }
.lang:not(.active):hover { color: var(--blue-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #ffffff 0%, var(--ivory) 55%, var(--cream) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.bridge-art { width: 100%; height: 100%; opacity: .9; }
.arcs path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3s var(--ease) forwards; }
.arcs path:nth-child(2) { animation-delay: .25s; }
.arcs path:nth-child(3) { animation-delay: .5s; }
.arcs path:nth-child(4) { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark { filter: drop-shadow(0 0 6px rgba(252,209,22,.9)); }

.hero-inner { position: relative; z-index: 3; max-width: 940px; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero h1 { margin-bottom: 26px; }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--ink); max-width: 760px; margin-bottom: 38px; font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-cta.center { justify-content: center; }
.hero-impact { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--blue-900); padding-left: 22px; border-left: 3px solid var(--red); }

/* Indicateur de défilement : purement décoratif, placé dans le coin bas-droit,
   derrière le texte (z-index inférieur) et masqué sur écrans courts / mobile,
   afin de ne jamais empiéter sur la phrase d'impact. */
.scroll-cue { position: absolute; bottom: 28px; right: 32px; left: auto; transform: none; width: 26px; height: 42px; border: 2px solid var(--blue-300); border-radius: 100px; z-index: 1; opacity: .5; pointer-events: none; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--red); border-radius: 4px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- Founding (histoire) ---------- */
.founding-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 54px; }
.founding-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.founding-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fc-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.founding-card p { font-size: .98rem; color: var(--ink); }

/* ---------- Vision Mission Stratégie ---------- */
.vms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.vms-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.vms-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--yellow), var(--red), var(--blue-600)); }
.vms-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vms-step { font-family: var(--serif); font-size: 3.2rem; color: var(--silver); font-weight: 600; line-height: 1; }
.vms-card h3 { margin: 6px 0 4px; }
.vms-q { display: block; font-size: .9rem; font-weight: 600; color: var(--red); margin-bottom: 18px; }
.vms-quote { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--blue-900); margin-bottom: 16px; line-height: 1.45; }
.vms-card p { font-size: .96rem; }
.vms-list { display: grid; gap: 10px; }
.vms-list li { position: relative; padding-left: 24px; font-size: .96rem; color: var(--ink); }
.vms-list li::before { content: "▸"; position: absolute; left: 0; color: var(--red); font-size: .85rem; top: 2px; }

/* ---------- Domaines ---------- */
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.domain-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: all .4s var(--ease); position: relative; overflow: hidden; }
.domain-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.domain-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); color: var(--yellow); font-size: 1.25rem; margin-bottom: 18px; }
.domain-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.domain-card p { font-size: .92rem; }

/* ---------- Section dark (membres) ---------- */
.section-dark { background: linear-gradient(160deg, var(--blue-900) 0%, #07203c 60%, #061a30 100%); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(31,78,140,.5), transparent 45%), radial-gradient(circle at 10% 90%, rgba(212,32,42,.18), transparent 45%); pointer-events: none; }
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2 { color: #fff; }
.section-dark .section-intro { color: rgba(255,255,255,.8); }
.section-dark .section-intro strong { color: var(--yellow); }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.price-card { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px 28px; backdrop-filter: blur(6px); display: flex; flex-direction: column; transition: all .4s var(--ease); }
.price-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(252,209,22,.4); }
.price-card.featured { background: rgba(255,255,255,.1); border-color: var(--yellow); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--blue-900); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; white-space: nowrap; }
.price-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.price { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; color: var(--yellow); margin-bottom: 16px; }
.price span { font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.6); }
.price-desc { color: rgba(255,255,255,.74); font-size: .92rem; flex-grow: 1; margin-bottom: 24px; }

.benefits { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 56px; }
.benefits li { font-size: .88rem; color: rgba(255,255,255,.85); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 9px 18px; border-radius: 100px; }
.benefits li::before { content: "✓ "; color: var(--yellow); font-weight: 700; }

/* ---------- Équipe ---------- */
.group-title { font-size: 1.2rem; color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-family: var(--sans); font-weight: 700; margin: 48px 0 22px; }
.group-title:first-of-type { margin-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 26px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); transition: all .4s var(--ease); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.avatar { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); border: 2px solid var(--yellow); }
.team-card h4 { font-size: 1.45rem; color: var(--blue-900); }
.role { font-size: .9rem; font-weight: 600; color: var(--red); }
.team-bio { font-size: .96rem; color: var(--muted); margin-bottom: 16px; }
.team-domain { font-size: .85rem; font-weight: 600; color: var(--blue-800); padding: 8px 14px; background: var(--cream); border-radius: 100px; display: inline-block; }
.team-contact { font-size: .85rem; margin-top: 14px; color: var(--muted); }
.team-contact a { color: var(--blue-600); font-weight: 500; }
.team-contact a:hover { color: var(--red); }

/* ---------- Événements ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 50px; }
.tag-cloud span { font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.5rem); color: var(--blue-900); padding: 10px 22px; border: 1px solid var(--line); border-radius: 100px; background: #fff; transition: all .35s var(--ease); }
.tag-cloud span:hover { background: var(--blue-900); color: var(--yellow); transform: translateY(-3px); border-color: var(--blue-900); }

/* ---------- Partenariats (bridge band) ---------- */
.section-bridge { background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); position: relative; overflow: hidden; }
.section-bridge::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 20% 30%, rgba(252,209,22,.14), transparent 40%),
  radial-gradient(circle at 85% 75%, rgba(212,32,42,.22), transparent 45%); pointer-events: none; }
.section-bridge .container { position: relative; z-index: 1; }
.partner-targets { color: rgba(255,255,255,.78); font-size: 1rem; margin: 26px 0 34px; line-height: 2; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info h2 { margin: 14px 0 28px; }
.contact-block { margin-bottom: 22px; }
.ci-org { font-weight: 600; color: var(--blue-900); margin-bottom: 4px; }
.ci-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.contact-block a { color: var(--blue-600); }
.contact-block a:hover { color: var(--red); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--blue-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--ivory); transition: all .25s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 3px rgba(31,78,140,.1); }
.form-status { text-align: center; font-size: .9rem; font-weight: 500; margin-top: 14px; min-height: 1.2em; }
.form-status.ok { color: #1a7a3a; }
.form-status.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding-top: 70px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--yellow), var(--red), var(--white)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo-badge { display: inline-block; background: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; box-shadow: var(--shadow); }
.footer-logo-badge img { height: 46px; width: auto; }
.footer-mission { font-size: .88rem; color: rgba(255,255,255,.6); max-width: 320px; }
.footer-specialties { font-size: .78rem; color: rgba(255,255,255,.45); max-width: 340px; margin-top: 14px; letter-spacing: .01em; }
.footer-follow-text { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 16px; max-width: 260px; }
.footer-col h5 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 9px; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; transition: all .3s var(--ease); }
.social a svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(212,32,42,.32); }

/* Inline social (on light contact background) */
.contact-social { margin-top: 4px; }
.contact-follow-text { font-size: .9rem; color: var(--muted); margin: 6px 0 14px; max-width: 420px; }
.social-inline a { width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); color: var(--blue-900); box-shadow: var(--shadow-sm); }
.social-inline a:hover { background: var(--blue-900); border-color: var(--blue-900); color: var(--yellow); transform: translateY(-3px); box-shadow: var(--shadow); }

/* Honeypot (anti-spam) — visually hidden */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.footer-langs { font-size: .82rem; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }
.footer-tag { letter-spacing: .06em; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Content is visible by default; only hidden when JS is active (.js), then revealed on scroll. */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column; gap: 6px;
    background: var(--ivory); padding: 100px 32px 40px; box-shadow: -20px 0 60px rgba(10,42,78,.18);
    transform: translateX(100%); transition: transform .4s var(--ease); margin-left: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .lang-switch { padding: 2px; }
  .lang { padding: 5px 7px; font-size: .7rem; }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .brand-logo { height: 54px; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Petits téléphones (Android / iPhone, 360–480px) ---------- */
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  /* Une seule colonne propre sur téléphone → aucun débordement horizontal */
  .founding-grid, .vms-grid, .domain-grid, .price-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: clamp(1.95rem, 8.5vw, 2.6rem); line-height: 1.16; }
  .hero-sub { font-size: 1.05rem; }
  .hero-impact { font-size: 1.15rem; padding-left: 16px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; }               /* boutons pleine largeur, faciles à toucher */
  .btn { padding: 14px 22px; }                   /* zone tactile confortable */
  .lang { padding: 7px 9px; font-size: .72rem; } /* cibles tactiles plus grandes */
  .section-head h2, h2 { font-size: clamp(1.7rem, 7.2vw, 2.3rem); }
  .vms-card, .team-card, .price-card, .founding-card, .domain-card { padding-left: 22px; padding-right: 22px; }
  .team-top { gap: 14px; }
  .benefits { gap: 9px; }
  .tag-cloud { gap: 10px; }
  .tag-cloud span { font-size: 1rem; padding: 8px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Masque l'indicateur de défilement là où la hauteur est limitée (jamais de chevauchement) */
@media (max-height: 820px) { .scroll-cue { display: none; } }
@media (max-width: 600px) { .scroll-cue { display: none; } }

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