@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   GALDEO — Design System (light & airy, waalaxy/cocohop-inspired)
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f1f5f9;
  --bg-muted:  #e2eaf2;
  --navy:      #193852;
  --navy-mid:  #193852;
  --text:      #193852;
  --muted:     #5a7a96;
  --line:      rgba(25, 56, 82, 0.1);
  --red:       #ff5757;
  --red-soft:  rgba(255, 87, 87, 0.1);
  --radius:    20px;
  --max:       1120px;
  --shadow:    0 4px 24px rgba(25, 56, 82, 0.08);
  --shadow-lg: 0 16px 48px rgba(25, 56, 82, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  padding-top: 66px;
}

body {
  font-family: 'Montserrat', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(160deg, #f0f7ff 0%, #fff8f8 100%) fixed;
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

#app { overflow-x: hidden; }
img,
video,
iframe {
  max-width: 100%;
}

/* ---- CENTERING ---- */
.section {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
}

/* ============================================================
   AUTH MODALS
   ============================================================ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15,25,45,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.auth-modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  animation: modalIn 0.25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.auth-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  background: rgba(25,56,82,0.07);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.auth-modal-close:hover { background: rgba(245,24,24,0.1); color: var(--red); }
.auth-modal-logo {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.auth-modal-logo span { color: var(--red); }
.auth-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.3rem;
}
.auth-modal-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
}
.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.auth-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.auth-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(25,56,82,0.12);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.auth-input:focus {
  border-color: rgba(245,24,24,0.4);
  box-shadow: 0 0 0 3px rgba(245,24,24,0.08);
}
.contact-input {
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(16,43,67,0.1);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.contact-input:focus {
  border-color: rgba(255,87,87,0.5);
  box-shadow: 0 0 0 3px rgba(255,87,87,0.08);
}
.contact-input[aria-invalid="true"] {
  border-color: var(--red);
}
.contact-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230d1f35' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.auth-modal-switch {
  text-align: center;
  font-size: 0.83rem;
  color: var(--muted);
  margin: 1.2rem 0 0;
}
.auth-modal-switch a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

/* ============================================================
   INTEGRATION SCHEMA IMAGE
   ============================================================ */
.integration-schema-wrap {
  margin: 3rem auto 0;
  max-width: 580px;
  position: relative;
  background: transparent;
  animation: floatImage 5s ease-in-out infinite;
}
.integration-schema-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(25,56,82,0.18));
}
@keyframes floatImage {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

/* ============================================================
   PRICING CARD HOVER GROW
   ============================================================ */
.pricing-card {
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease !important;
}
.pricing-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 24px 60px rgba(25,56,82,0.16) !important;
  z-index: 2;
}
.pricing-card.featured:hover {
  transform: translateY(-16px) scale(1.03) !important;
  box-shadow: 0 32px 72px rgba(245,24,24,0.2) !important;
}

/* ---- TOPBAR ---- */
.topbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0.6rem 0.6rem;
}

.brand {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
}
.brand span { color: var(--red); }

/* Square dot — matches official Galdeo brand logo */
.brand-dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  background: var(--red);
  border-radius: 2px;
  margin-left: 0.05em;
  flex-shrink: 0;
}
.brand-dot-footer { background: var(--red); }
.brand-link { text-decoration: none; color: inherit; }
.brand-footer-text { color: #fff; }

nav { display: flex; gap: 1.6rem; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--navy); font-weight: 600; }

.actions { display: flex; gap: 0.5rem; align-items: center; }

/* ──────────────────────────────────────────────────────────────────────────
   HAMBURGER BUTTON
────────────────────────────────────────────────────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1101;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ──────────────────────────────────────────────────────────────────────────
   MOBILE OVERLAY
────────────────────────────────────────────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(25, 56, 82, 0.45);
  z-index: 1099;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.mobile-overlay.open { display: block; }

/* ──────────────────────────────────────────────────────────────────────────
   MOBILE DRAWER
────────────────────────────────────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: #fff;
  z-index: 1100;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  box-shadow: -8px 0 48px rgba(25, 56, 82, 0.18);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-drawer-close:hover { background: var(--bg-soft); color: var(--navy); }

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.mobile-drawer-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-drawer-nav a:first-child { border-top: 1px solid var(--line); }
.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active { color: var(--red); padding-left: 0.5rem; }

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.mobile-drawer-actions .btn { width: 100%; justify-content: center; }

.mobile-drawer-lang {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.mobile-drawer-lang button {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  color: var(--navy);
  transition: background 0.15s;
}
.mobile-drawer-lang button:hover { background: var(--bg-muted); }

/* ──────────────────────────────────────────────────────────────────────────
   RESPONSIVE — show hamburger, hide desktop nav
────────────────────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-desktop { display: none !important; }
  .hamburger-btn { display: flex !important; }
  .topbar-inner { padding: 0.5rem 0.6rem; }
}

/* ---- LANGUAGE DROPDOWN ---- */
.lang-select {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--navy); background: rgba(25,56,82,0.04); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(25,56,82,0.14);
  min-width: 160px;
  overflow: hidden;
  z-index: 200;
  animation: fadeInDown 0.18s ease;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.lang-menu button:hover { background: var(--bg-soft); }

/* ---- HIRING SECTION ---- */
.hiring-section {
  position: relative;
  overflow: hidden;
  background-image: url('/hiring-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: #1a3a2a; /* fallback */
  padding: 0;
}
.hiring-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,18,32,0.72) 0%, rgba(10,18,32,0.60) 100%);
  backdrop-filter: blur(1px);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { box-shadow: 0 10px 28px rgba(13, 31, 53, 0.25); }

.btn-red {
  background: linear-gradient(135deg, #ff5757, #ff7272);
  color: #fff;
}
.btn-red:hover { box-shadow: 0 10px 28px rgba(255, 87, 87, 0.35); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--text);
}
.btn-outline:hover { border-color: rgba(13, 31, 53, 0.25); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  font-weight: 500;
}
.btn-ghost:hover { opacity: 0.7; transform: none; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.84rem; }

.cta-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-family: 'Poppins', 'Montserrat', sans-serif; }

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  font-weight: 700;
}
h3 { font-size: 1.1rem; font-weight: 700; }

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0.8rem auto 0;
}

/* ---- MAIN GRID ---- */
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-wrapper {
  position: relative;
  text-align: center;
  padding: 7rem 1rem 7rem;             /* padding-bottom = place pour le ruban */
  overflow: hidden;
  background: #fff;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 5%, rgba(255, 87, 87, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin: 0.5rem auto 0;
  max-width: 18ch;
}

/* ---- Floating images ---- */
.hero-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.float-img {
  position: absolute;
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0,0,0,0.1);
}

.float-1 {
  top: 12%;
  left: 4%;
  transform: rotate(-13deg);
  animation: floatUp 7s ease-in-out infinite;
}
.float-2 {
  bottom: 8%;
  left: 10%;
  transform: rotate(9deg);
  animation: floatDown 8s ease-in-out infinite;
}
.float-3 {
  top: 10%;
  right: 4%;
  transform: rotate(11deg);
  animation: floatDown 6.5s ease-in-out infinite;
}
.float-4 {
  bottom: 7%;
  right: 9%;
  transform: rotate(-9deg);
  animation: floatUp 9s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% { transform: rotate(-13deg) translateY(0px); }
  50%       { transform: rotate(-13deg) translateY(-14px); }
}
@keyframes floatDown {
  0%, 100% { transform: rotate(9deg) translateY(0px); }
  50%       { transform: rotate(9deg) translateY(-12px); }
}

/* ---- Marquee derrière les floats ---- */
.hero-marquee-behind {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;                          /* derrière les float-mocks */
  padding: 1.1rem 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(25,56,82,0.08);
  border-bottom: 1px solid rgba(25,56,82,0.06);
  overflow: hidden;
  pointer-events: none;
}
.hero-marquee-behind::before,
.hero-marquee-behind::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.hero-marquee-behind::before { left: 0;  background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent); }
.hero-marquee-behind::after  { right: 0; background: linear-gradient(-90deg, rgba(255,255,255,0.9), transparent); }

/* legacy marquee (si encore utilisé ailleurs) */
.hero-marquee {
  margin-top: 4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-marquee::before,
.hero-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero-marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.hero-marquee::after  { right: 0; background: linear-gradient(-90deg, #fff, transparent); }

.marquee-track {
  display: flex;
  gap: 2.8rem;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes typeLine {
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

/* ============================================================
   LIGHT SECTIONS
   ============================================================ */
.page-section {
  padding: 5.5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .lead {
  margin-top: 0.8rem;
}

/* Cards */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 31, 53, 0.14);
}
.card-accent {
  border-color: rgba(255, 87, 87, 0.25);
  background: linear-gradient(145deg, #fff8f8, #fff);
}
.card h3 { margin-bottom: 0.5rem; }
.card p  { margin: 0; color: var(--muted); line-height: 1.65; }

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* Pill row (kept for backwards compat) */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
  justify-content: center;
}
.pill-row span {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.86rem;
  background: #fff;
  font-weight: 500;
  transition: border-color 0.2s;
}
.pill-row span:hover { border-color: rgba(255, 87, 87, 0.35); }

/* ============================================================
   INTEGRATION SPLIT LAYOUT — icons left / schema right
   ============================================================ */
.integ-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .integ-split { grid-template-columns: 1fr; }
  .integ-schema-col { order: -1; }
}

/* --- icons column --- */
.integ-icons-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.integ-icon-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.integ-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
}
.integ-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(25,56,82,0.07);
  box-shadow: 0 4px 14px rgba(25,56,82,0.08);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
}
.integ-icon-box img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}
.integ-icon-wrap:hover .integ-icon-box {
  transform: translateY(-5px) scale(1.07);
  box-shadow: 0 12px 28px rgba(25,56,82,0.15);
}
.integ-icon-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-align: center;
}
/* tooltip — apparaît EN DESSOUS de l'icône */
.integ-icon-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  width: 180px;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.integ-icon-tooltip strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #fff;
}
.integ-icon-tooltip p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.5;
}
.integ-icon-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--navy);
}
.integ-icon-wrap:hover .integ-icon-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- schema column --- */
.integ-schema-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Blob lumineux derrière l'image */
.integ-schema-col::before,
.integ-schema-col::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
/* Blob principal — rouge/corail doux */
.integ-schema-col::before {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,87,87,0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: blobPulse 6s ease-in-out infinite;
}
/* Blob secondaire — bleu navy doux */
.integ-schema-col::after {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(25,56,82,0.12) 0%, transparent 70%);
  top: 30%;
  left: 60%;
  transform: translate(-50%, -50%);
  animation: blobPulse 8s ease-in-out infinite reverse;
}

@keyframes blobPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.18); opacity: 0.7; }
}

/* Anneau décoratif tournant */
.integ-schema-col .integ-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,87,87,0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spinRing 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.integ-schema-col .integ-ring-2 {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(25,56,82,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spinRing 12s linear infinite reverse;
  pointer-events: none;
  z-index: 0;
}

.integ-schema-img {
  width: 100%;
  max-width: 460px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 28px 56px rgba(25,56,82,0.22));
  animation: floatImage 5s ease-in-out infinite;
}

/* Legacy logo-row (kept for fallback) */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.8rem;
  justify-content: center;
  align-items: flex-start;
}
.logo-item-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; cursor: default; }
.logo-box { width: 68px; height: 68px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 18px rgba(0,0,0,0.12); transition: transform 0.22s, box-shadow 0.22s; }
.logo-name { font-size: 0.75rem; font-weight: 600; color: var(--muted); }

/* Comparison pills with hover tooltips */
.cmp-pill-wrap {
  position: relative;
  display: inline-flex;
}
.cmp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
  cursor: default;
  transition: transform 0.18s, box-shadow 0.18s;
}
.cmp-pill-sans { background: #fef2f2; border: 1.5px solid #fecaca; }
.cmp-pill-avec { background: var(--navy); }
.cmp-pill-wrap:hover .cmp-pill { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }

.cmp-pill-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 240px;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 300;
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}
.cmp-pill-tooltip-sans { background: #fff; border: 1.5px solid #fecaca; }
.cmp-pill-tooltip-avec { background: var(--navy); }
.cmp-pill-tooltip ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.cmp-pill-tooltip-sans ul li { font-size: 0.78rem; color: #334155; }
.cmp-pill-tooltip-avec ul li { font-size: 0.78rem; color: rgba(255,255,255,0.88); }
.cmp-pill-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
}
.cmp-pill-tooltip-sans::after { border-top-color: #fecaca; }
.cmp-pill-tooltip-avec::after { border-top-color: var(--navy); }
.cmp-pill-wrap:hover .cmp-pill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
blockquote {
  margin: 0;
  font-style: italic;
  line-height: 1.65;
}
blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.84rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

/* Inspiration */
.inspiration {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.post {
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(145deg, rgba(255,87,87,0.05), rgba(13,31,53,0.03));
}
.post h3 { font-size: 0.78rem; font-weight: 800; color: var(--red); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.post p  { color: var(--muted); font-size: 0.9rem; }

/* Market duo numbers */
.market-card strong {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.market-card small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 700;
}

/* ============================================================
   DARK SECTIONS  (pricing, steps, counter)
   ============================================================ */
.section-dark {
  background: linear-gradient(160deg, #e8f3ff 0%, #eef0ff 100%);
  padding: 5.5rem 0;
  color: var(--navy);
}
.section-dark h2,
.section-dark h3  { color: var(--navy); }
.section-dark .eyebrow { color: var(--red); }
.section-dark .section-header .lead { color: var(--muted); }

/* ============================================================
   STEPS (dark, interactive)
   ============================================================ */
.steps-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.steps-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.step-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  opacity: 0.4;
  transition: opacity 0.25s, background 0.25s;
  width: 100%;
}
.step-btn:hover  { opacity: 0.7; }
.step-btn.active { background: rgba(25,56,82,0.08); border-radius: 12px; opacity: 1; }

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(25,56,82,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}
.step-btn.active .step-num {
  background: linear-gradient(135deg, var(--red), #e01010);
  color: #fff;
}
.step-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* Step panels */
.step-panels { position: relative; }
.step-panel { display: none; animation: fadeSlide 0.35s ease; }
.step-panel.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-panel h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.step-panel > p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
  margin: 0 0 1.8rem;
}

/* Mock UI inside step panel */
.step-mock {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(25,56,82,0.1);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(25,56,82,0.08);
  padding: 1.5rem;
  width: 100%;
  max-width: 800px;
  margin: 0;
  overflow: hidden;
}

/* ============================================================
   STEP 2 — LANGUE & DEVISE SCROLL
   ============================================================ */
.step2-scroll-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.step2-lang-track,
.step2-currency-track {
  display: flex;
  gap: 0.45rem;
  width: max-content;
  animation: step2scroll 18s linear infinite;
}
.step2-currency-track {
  animation-duration: 14s;
  animation-direction: reverse;
}
@keyframes step2scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.step2-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  background: #f1f5f9;
  border: 1.5px solid rgba(25,56,82,0.1);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}
.step2-pill-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* PDF drop zone */
.step2-pdf-zone {
  margin-top: 0.7rem;
  border: 2px dashed rgba(255,87,87,0.35);
  border-radius: 10px;
  padding: 0.9rem 1rem 0.7rem;
  background: rgba(255,87,87,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}
.step2-pdf-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.step2-pdf-anim {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1.5px solid rgba(255,87,87,0.3);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  box-shadow: 0 4px 14px rgba(255,87,87,0.18);
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  animation: pdfDrop 3.5s ease-in-out infinite;
  opacity: 0;
  white-space: nowrap;
}
@keyframes pdfDrop {
  0%   { top: -44px; opacity: 0; }
  15%  { opacity: 1; }
  50%  { top: 12px; opacity: 1; }
  72%  { top: 12px; opacity: 1; }
  88%  { top: 12px; opacity: 0; }
  100% { top: -44px; opacity: 0; }
}

/* Typewriter cursor blink */
.step2-cursor {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  animation: blinkCursor 0.8s step-end infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   DEVIS ANIMATION
   ============================================================ */
.devis-mock {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.8rem;
  font-size: 0.88rem;
  line-height: 1.8;
  overflow: hidden;
}
.devis-mock .devis-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.devis-mock .devis-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5757;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
.devis-mock .devis-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.devis-line {
  color: rgba(255,255,255,0.75);
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typeLine 0.6s ease forwards;
}
.devis-line.day { color: #ff8a8a; font-weight: 700; margin-top: 0.4rem; }
.devis-line.price { color: #7dd3fc; font-weight: 600; margin-top: 0.6rem; text-align: right; }

@keyframes typeLine {
  to { width: 100%; }
}

/* ============================================================
   COUNTER SECTION (dark)
   ============================================================ */
.counter-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.counter-bg {
  position: absolute;
  font-size: clamp(12rem, 28vw, 26rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.counter-value {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #93c5fd, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.counter-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.counter-sub {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ============================================================
   PRICING (dark)
   ============================================================ */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.8rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
}
.billing-toggle span.active { color: #fff; font-weight: 600; }

.toggle-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; position: absolute; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: #1e3a5a;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-track::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform 0.3s;
}
.toggle-switch input:checked ~ .toggle-track { background: var(--red); }
.toggle-switch input:checked ~ .toggle-track::after { transform: translateX(20px); }

.badge-discount {
  background: rgba(255, 87, 87, 0.18);
  color: #ff8a8a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.22s, border-color 0.22s;
}
.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,24,24,0.3);
  box-shadow: 0 20px 50px rgba(25,56,82,0.12);
}
.pricing-card.featured {
  border-color: rgba(245,24,24,0.35);
  background: linear-gradient(160deg, #193852 0%, #0f2540 100%);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.pricing-card.featured .pricing-name { color: #fff; }
.pricing-price {
  font-size: 3.2rem;
  font-weight: 900;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  text-shadow: 0 8px 32px rgba(25,56,82,0.15), 0 2px 8px rgba(25,56,82,0.1);
  color: #193852;
  line-height: 1;
}
.pricing-price sup { font-size: 1.4rem; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.pricing-price sub { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.pricing-card.featured .pricing-price sub { color: rgba(255,255,255,0.5); }
.pricing-annual {
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 1.2em;
}
.pricing-card.featured .pricing-annual { color: rgba(255,255,255,0.45); }
.pricing-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s;
  text-align: center;
}
.pricing-btn:hover { opacity: 0.85; }
.pricing-divider { height: 1px; background: var(--line); }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--navy);
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-features li::before {
  content: '⊙';
  color: var(--red);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER EXTENDED
   ============================================================ */
.footer-extended {
  text-align: center;
  padding: 4rem 0 3rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.footer-extended h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.footer-extended p { color: var(--muted); margin: 0.25rem 0; font-size: 0.9rem; }
.footer-extended strong { color: var(--navy); }

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 480px;
  margin: 1.8rem auto;
  text-align: left;
}
.links-grid .card { background: #fff; }
.links-grid .card p { margin: 0.2rem 0; font-size: 0.88rem; }

.site-footer {
  text-align: center;
  padding: 1rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   PRODUCT MOCKUPS (floating hero)
   ============================================================ */
.float-mock {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.18), 0 4px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  background: #fff;
  user-select: none;
  transition: transform 0.3s ease;
  z-index: 10;                         /* au-dessus du ruban défilant */
}
.float-mock.float-1 {
  top: 8%; left: 2%;
  transform: rotate(-12deg);
  animation: floatUp 7s ease-in-out infinite;
}
.float-mock.float-2 {
  bottom: 5%; left: 7%;
  transform: rotate(9deg);
  animation: floatMock2 8s ease-in-out infinite;
}
.float-mock.float-3 {
  top: 6%; right: 2%;
  transform: rotate(11deg);
  animation: floatMock3 6.5s ease-in-out infinite;
}
.float-mock.float-4 {
  bottom: 5%; right: 7%;
  transform: rotate(-9deg);
  animation: floatMock4 9s ease-in-out infinite;
}

@keyframes floatMock2 {
  0%, 100% { transform: rotate(9deg)  translateY(0px); }
  50%       { transform: rotate(9deg)  translateY(-13px); }
}
@keyframes floatMock3 {
  0%, 100% { transform: rotate(11deg) translateY(0px); }
  50%       { transform: rotate(11deg) translateY(-11px); }
}
@keyframes floatMock4 {
  0%, 100% { transform: rotate(-9deg) translateY(0px); }
  50%       { transform: rotate(-9deg) translateY(-14px); }
}

.mock-chrome {
  background: #f5f5f7;
  padding: 7px 11px;
  display: flex;
  gap: 5px;
  align-items: center;
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
}
.mock-chrome span {
  width: 9px; height: 9px; border-radius: 50%;
}
.mock-chrome span:nth-child(1) { background: #ff5f57; }
.mock-chrome span:nth-child(2) { background: #febc2e; }
.mock-chrome span:nth-child(3) { background: #28c840; }

/* ============================================================
   TARIFS PAGE — billing tabs
   ============================================================ */
.billing-tabs {
  display: inline-flex;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 3rem;
}
.billing-tab {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}
.billing-tab.active {
  background: #fff;
  color: var(--navy);
}
.billing-tab .tab-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 5px;
}

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
  user-select: none;
}
.faq-icon {
  font-size: 1.2rem;
  color: var(--red);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.2rem;
}

/* ============================================================
   EQUIPE PAGE
   ============================================================ */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  max-width: 680px;
  margin: 0 auto 1rem;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  margin-bottom: 1rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 0.9rem;
  transition: transform 0.3s;
}
.team-card-wrap:hover .team-photo { transform: scale(1.02); }
.team-open-card {
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff5757, #ff8080);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s;
}
.team-card-wrap:hover .team-open-card { transform: scale(1.02); }

/* ============================================================
   BLOG — editorial magazine layout
   ============================================================ */

/* Filter pills */
.blog-filter-new {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-filter-new:hover { border-color: var(--red); color: var(--red); }
.active-filter-new {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* --- Featured hero card --- */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 32px rgba(25,56,82,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(25,56,82,0.13);
}
.blog-featured-left {
  padding: 3rem 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.blog-featured-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--feat-bg, #f0f9ff);
  opacity: 0.45;
  z-index: 0;
}
.blog-featured-left > * { position: relative; z-index: 1; }
.blog-featured-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.blog-featured-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-featured-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.blog-featured-excerpt {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.72;
  margin: 0 0 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-featured-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.blog-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.blog-featured:hover .blog-featured-cta {
  background: var(--red);
  transform: translateX(3px);
}
.blog-featured-right {
  background: var(--feat-bg, #f0f9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.blog-featured-right::after {
  content: attr(data-cat);
  position: absolute;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(25,56,82,0.04);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-15deg);
  pointer-events: none;
  line-height: 1;
}
.blog-featured-big-num {
  font-size: 5rem;
  font-weight: 900;
  color: var(--feat-text, #0369a1);
  opacity: 0.15;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* --- Duo row (2 equal cards) --- */
.blog-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* --- Compact grid (3-col) --- */
.blog-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* --- Standard card (used in duo + compact) --- */
.blog-card-new {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.blog-article-trigger {
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.blog-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(25,56,82,0.1);
  border-color: rgba(25,56,82,0.18);
}
.blog-card-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, rgba(245,24,24,0.25) 100%);
  opacity: 0;
  transition: opacity 0.25s;
  flex-shrink: 0;
}
.blog-card-new:hover .blog-card-top-bar { opacity: 1; }
.blog-card-inner {
  padding: 1.4rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0.5rem 0 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-bottom: 1rem;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.blog-status-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,31,53,0.5);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.blog-status-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.blog-status-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - 1.6rem));
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 32px 80px rgba(13,31,53,0.22);
  z-index: 1201;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.blog-status-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.blog-status-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(25,56,82,0.07);
  color: var(--navy);
  cursor: pointer;
}
.blog-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(255,87,87,0.08);
  border: 1px solid rgba(255,87,87,0.16);
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.blog-status-title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  max-width: 22ch;
}
.blog-status-text {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.4rem;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-right { display: none; }
  .blog-compact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-duo { grid-template-columns: 1fr; }
  .blog-compact-grid { grid-template-columns: 1fr; }
  .blog-featured-left { padding: 2rem; }
  .blog-status-modal { padding: 1.4rem; }
  .blog-status-title { font-size: 1.25rem; }
}

/* ============================================================
   EQUIPE — founders, partners, values
   ============================================================ */

/* Photo-overlay card (image-5 style) */
.founder-card-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: 0 8px 40px rgba(25,56,82,0.18);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}
.founder-card-photo:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 60px rgba(25,56,82,0.25);
}

.founder-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.founder-card-photo:hover .founder-photo-img {
  transform: scale(1.05);
}

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top,
    rgba(10,18,30,0.97) 0%,
    rgba(10,18,30,0.82) 45%,
    transparent 100%);
  padding: 2.5rem 1.8rem 1.8rem;
  color: #fff;
}

.founder-overlay-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin: 0 0 0.35rem;
}

.founder-overlay-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.8rem;
}

.founder-overlay-quote {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0 0 1.1rem;
  padding: 0;
  border: none;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.founder-card-photo:hover .founder-overlay-quote {
  -webkit-line-clamp: unset;
}

.founder-li-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: rgba(25,56,82,0.06);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  transition: background 0.2s, color 0.2s;
}
.founder-li-btn:hover {
  background: var(--navy);
  color: #fff;
}
.founder-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1877F2;
  background: rgba(24,119,242,0.06);
  border: 1.5px solid #1877F2;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.founder-fb-btn:hover {
  background: #1877F2;
  color: #fff;
}

.founder-partner-logos {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  width: 100%;
}
.founder-partner-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2a2a2a;
  border: 1.5px solid #bbb;
  border-radius: 5px;
  padding: 0.18rem 0.55rem;
  background: #f5f5f5;
  filter: grayscale(1);
  opacity: 0.72;
  transition: opacity 0.2s;
}
.founder-partner-badge:hover {
  opacity: 1;
}

/* Legacy founder-card (kept for fallback) */
.founder-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-soft);
}

.founder-body {
  padding: 1.6rem 1.8rem 1.8rem;
}

.founder-body h3 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.founder-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin: 0 0 1rem;
}

.founder-quote {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.2rem;
  padding: 0;
  border: none;
  font-style: italic;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}

/* Partners row */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.partner-badge-logo {
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  border-radius: 16px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Value cards */
.value-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.6rem; }
.value-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ============================================================
   COMPARISON — 2 hover-pop boxes + device stage
   ============================================================ */
.cmp-section { padding: 5rem 0 0; }

.cmp-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.cmp-box {
  border-radius: 20px;
  padding: 2rem 2rem 1.8rem;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.35s ease;
  position: relative;
}

/* Grey — Sans Galdeo */
.cmp-sans {
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  color: #334155;
}
.cmp-sans .cmp-box-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #e2e8f0;
  color: #94a3b8;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-weight: 900;
}
.cmp-sans h3 { color: #475569; margin: 0 0 0.7rem; font-size: 1.15rem; }
.cmp-sans p  { color: #64748b; margin: 0 0 1.2rem; line-height: 1.65; font-size: 0.92rem; }

/* Blue — Avec Galdeo */
.cmp-avec {
  background: linear-gradient(135deg, #0f2a5f 0%, #1a4a9a 60%, #0d1f35 100%);
  border: 1.5px solid rgba(96,165,250,0.3);
  color: #fff;
}
.cmp-avec .cmp-box-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(96,165,250,0.15);
  color: #4ade80;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-weight: 900;
  border: 1px solid rgba(96,165,250,0.3);
}
.cmp-avec h3 { color: #fff; margin: 0 0 0.7rem; font-size: 1.15rem; }
.cmp-avec p  { color: rgba(255,255,255,0.65); margin: 0 0 1.2rem; line-height: 1.65; font-size: 0.92rem; }

/* Tags row */
.cmp-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cmp-sans .cmp-tags span {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
}
.cmp-avec .cmp-tags span {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(25,56,82,0.1);
  color: #193852;
  border: 1px solid rgba(25,56,82,0.2);
}

/* Hover pop */
.cmp-box:hover {
  transform: translateY(-10px) scale(1.028);
  box-shadow: 0 28px 70px rgba(13,31,53,0.15);
  z-index: 1;
}
.cmp-avec:hover { box-shadow: 0 28px 70px rgba(15,42,95,0.45); }

/* ---- Device Stage (cocohop style) ---- */
.device-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 400px;
  padding-bottom: 3rem;
  overflow: visible;
}

.device-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(13,31,53,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Laptop */
.dv-laptop {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 580px;
}
.dv-laptop-frame {
  background: #1e293b;
  border-radius: 14px 14px 4px 4px;
  padding: 10px 10px 4px;
  box-shadow: 0 30px 80px rgba(13,31,53,0.25), 0 0 0 1px rgba(255,255,255,0.06);
}
.dv-laptop-cam {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #334155;
  margin: 0 auto 6px;
}
.dv-laptop-screen {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #0d1f35;
}
.dv-laptop-base {
  background: linear-gradient(to bottom, #293548, #1e293b);
  height: 18px;
  border-radius: 0 0 6px 6px;
  margin: 0 -10px;
  display: flex; align-items: center; justify-content: center;
}
.dv-laptop-foot {
  width: 120px; height: 6px;
  background: #1a2535;
  border-radius: 0 0 8px 8px;
}

/* Phones */
.dv-phone {
  position: absolute;
  bottom: 2.5rem;
  z-index: 2;
  width: 130px;
  filter: drop-shadow(0 20px 40px rgba(13,31,53,0.2));
}
.dv-phone-left  { left: 0;   transform: rotate(-12deg) translateY(20px); }
.dv-phone-right { right: 0;  transform: rotate(12deg)  translateY(20px); }

.dv-phone-inner {
  background: #1e293b;
  border-radius: 22px;
  padding: 8px;
  border: 2px solid #293548;
  overflow: hidden;
}
.dv-notch {
  width: 40px; height: 6px;
  background: #0d1f35;
  border-radius: 0 0 6px 6px;
  margin: 0 auto 8px;
}
.dv-screen {
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}

/* ============================================================
   COUNTER HERO — waalaxy style
   ============================================================ */
.counter-hero {
  position: relative;
  background: linear-gradient(160deg, #e0eeff 0%, #eae0ff 100%);
  overflow: hidden;
  text-align: center;
}

.counter-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.counter-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(10rem, 30vw, 22rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(25,56,82,0.07);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.counter-number {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #5eead4 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.counter-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  nav { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .float-mock { display: none; }
  .float-mock.float-1, .float-mock.float-3 { display: block; width: auto !important; }
  .float-mock.float-1 { left: -2%; }
  .float-mock.float-3 { right: -2%; }

  .steps-layout { grid-template-columns: 1fr; }
  .steps-nav { flex-direction: row; flex-wrap: wrap; }

  .feature-grid,
  .quotes,
  .inspiration { grid-template-columns: 1fr; }

  .duo { grid-template-columns: 1fr; }
  .founders-grid { max-width: 100%; gap: 1.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .dv-laptop { width: 420px; }
  .dv-phone  { width: 100px; }
  .cmp-boxes { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .dv-laptop { width: 320px; }
  .dv-phone  { display: none; }
  .device-stage { min-height: 280px; }

  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .contact-form-row {
    grid-template-columns: 1fr !important;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .meetings-iframe-container,
  .meetings-iframe-container iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   DEVICE STAGE ANIMATION
   ============================================================ */
.device-stage-animated .dv-laptop {
  animation: deviceFloat 4s ease-in-out infinite;
}
.device-stage-animated .dv-phone-left {
  animation: phoneFloatL 4.5s ease-in-out infinite;
}
.device-stage-animated .dv-phone-right {
  animation: phoneFloatR 5s ease-in-out infinite;
}
@keyframes deviceFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes phoneFloatL {
  0%, 100% { transform: rotate(-12deg) translateY(0px); }
  50%       { transform: rotate(-12deg) translateY(-8px); }
}
@keyframes phoneFloatR {
  0%, 100% { transform: rotate(12deg) translateY(0px); }
  50%       { transform: rotate(12deg) translateY(-10px); }
}

/* ============================================================
   CALENDAR BOOKING WIDGET
   ============================================================ */
.cal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.cal-left {
  background: #17305a;
  padding: 2.5rem 2rem;
  color: #fff;
}
.cal-right {
  background: #fff;
  padding: 2.5rem 2rem;
}
.cal-team-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}
.cal-avatar-group { display: flex; align-items: center; }
.cal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #17305a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.cal-team-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.cal-nav-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cal-nav-btn:hover { background: rgba(255,255,255,0.25); }
.cal-month-name {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  min-width: 130px;
  text-align: center;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day-header {
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 0.3rem 0;
  letter-spacing: 0.05em;
}
#cal-days {
  display: contents;
}
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-radius: 50%;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  cursor: default;
}
.cal-available {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cal-available:hover { background: rgba(255,255,255,0.15); }
.cal-today {
  background: rgba(255,255,255,0.2);
  font-weight: 700;
}
.cal-selected {
  background: #fff !important;
  color: #17305a !important;
  font-weight: 800;
}
.cal-disabled { opacity: 0.3; cursor: not-allowed; }
.cal-duration-row { border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.cal-dur-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cal-dur-btn.active {
  background: #17305a;
  color: #fff;
  border-color: #17305a;
}
.cal-slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.cal-slot-btn {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.cal-slot-btn:hover {
  border-color: #17305a;
  background: rgba(23,48,90,0.05);
  transform: translateX(3px);
}
.cal-slot-btn.active {
  background: #17305a;
  color: #fff;
  border-color: #17305a;
}
@media (max-width: 768px) {
  .cal-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   INTEGRATION VIDEO
   ============================================================ */
.integration-video-wrap {
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.integration-video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

/* ============================================================
   MARKET SECTION — 22.png background
   ============================================================ */
.market-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.market-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.market-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,20,40,0.72) 0%, rgba(20,40,80,0.65) 100%);
}
.market-card-dark {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.market-card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.market-card-dark strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.market-card-dark p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.market-card-dark small {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   INSTAGRAM GRID
   ============================================================ */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.insta-card {
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: 0 8px 32px rgba(25,56,82,0.12);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
  cursor: pointer;
}
.insta-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 56px rgba(25,56,82,0.18);
}
.insta-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.insta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.insta-card:hover .insta-bg-img { transform: scale(1.06); }
.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.55) 100%);
}
.insta-text-top {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.insta-cursive {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.insta-pill {
  display: inline-block;
  background: rgba(255,255,255,0.92);
  color: #0d1f35;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
  width: fit-content;
}
.insta-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-top: 0.15rem;
}
.insta-brand {
  display: none;
}
.insta-logo-overlay {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.insta-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.insta-hover-bar {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  border-top: 1px solid var(--line);
}
@media (max-width: 768px) {
  .insta-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   AGAB CTA SECTION
   ============================================================ */
.agab-cta-section {
  position: relative;
  overflow: hidden;
}
.agab-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.agab-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,20,40,0.7) 0%, rgba(25,56,82,0.65) 100%);
}

/* ============================================================
   FOUNDER BUBBLE STYLE
   ============================================================ */
.founders-bubble-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.founder-bubble-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-bubble-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(245,24,24,0.2);
  box-shadow: 0 8px 32px rgba(25,56,82,0.15), 0 0 0 6px rgba(245,24,24,0.06);
  margin-bottom: 1.25rem;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
  flex-shrink: 0;
}
.founder-bubble-wrap:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 48px rgba(25,56,82,0.2), 0 0 0 8px rgba(245,24,24,0.1);
}
.founder-bubble-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-bubble-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin: 0 0 0.3rem;
}
.founder-bubble-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.9rem;
}
.founder-bubble-quote {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0;
  max-width: 28ch;
}
@media (max-width: 900px) {
  .founders-bubble-grid { grid-template-columns: 1fr; gap: 3rem; }
  .founder-bubble-wrap { width: 160px; height: 160px; }
}


/* ============================================================
   ECO MOCKUP — interactive 23.png device frame
   ============================================================ */
.eco-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eco-text { max-width: 480px; }

.eco-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.eco-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--navy);
}
.eco-check {
  color: var(--red);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.eco-mockup-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eco-browser-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(25,56,82,0.16), 0 4px 16px rgba(25,56,82,0.08);
  border: 1px solid rgba(25,56,82,0.1);
  background: #fff;
  cursor: zoom-in;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.eco-browser-frame:hover {
  box-shadow: 0 32px 80px rgba(25,56,82,0.22), 0 8px 24px rgba(25,56,82,0.1);
  transform: translateY(-3px);
}

.eco-browser-chrome {
  height: 38px;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(25,56,82,0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.eco-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.eco-url-bar {
  flex: 1;
  background: #fff;
  border-radius: 7px;
  height: 24px;
  font-size: 0.68rem;
  color: #64748b;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin: 0 10px;
  border: 1px solid rgba(25,56,82,0.08);
}

.eco-browser-screen {
  height: 400px;
  overflow: hidden;
  position: relative;
}
.eco-devis-img {
  width: 100%;
  display: block;
  animation: ecoScroll 14s ease-in-out 1s infinite alternate;
  will-change: transform;
}
.eco-browser-frame:hover .eco-devis-img {
  animation-play-state: paused;
}
@keyframes ecoScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(min(calc(380px - 100%), 0px)); }
}

.eco-hover-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(25,56,82,0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.eco-browser-frame:hover .eco-hover-hint {
  opacity: 1;
  transform: translateY(0);
}

.eco-badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.eco-badge {
  background: rgba(25,56,82,0.07);
  color: var(--navy);
  border: 1px solid rgba(25,56,82,0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
}

@media (max-width: 900px) {
  .eco-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .eco-text { max-width: 100%; }
  .eco-browser-screen { height: 300px; }
  .revolution-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .revolution-stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .revolution-screen {
    height: auto;
  }
}

/* ============================================================
   END ECO MOCKUP
   ============================================================ */

@media (max-width: 600px) {
  .hero-wrapper { padding: 5rem 1rem 2.5rem; min-height: auto; }
  .float-mock { display: none !important; }
  .team-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .counter-ghost { font-size: 8rem; }

  .section {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .marquee-logo {
    height: 32px;
    max-width: 110px;
  }

  .newsletter-form-inline {
    flex-direction: column !important;
  }

  .newsletter-form-inline .btn {
    width: 100%;
    justify-content: center;
  }

  .blog-featured-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .merci-page {
    padding: 1.2rem !important;
  }

  .merci-steps {
    grid-template-columns: 1fr !important;
  }

  .legal-card {
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .integ-icons-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .revolution-chrome {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .rev-url-bar {
    order: 3;
    width: 100%;
    margin: 0 !important;
  }

  .rev-toolbar-note {
    margin-left: auto;
  }

  .revolution-screen {
    flex-direction: column;
  }

  .rev-sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .rev-nav-item {
    margin-bottom: 0;
    white-space: normal;
  }

  .rev-main {
    padding: 0.9rem;
  }

  .rev-stat-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .profil-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .profil-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(25,56,82,0.1);
    padding: 0.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profil-content {
    padding: 1rem;
  }

  .step-mock {
    padding: 1rem;
  }

  .step2-pill {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }

  .step2-pdf-anim {
    max-width: calc(100% - 1rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .step-interface-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-interface-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .step-interface-tabs {
    flex-wrap: wrap;
    padding: 0 0.75rem;
  }

  .step-interface-body {
    padding: 0.85rem;
  }

  .step-day-card {
    flex-direction: column;
  }

  .step-day-grid {
    grid-template-columns: 1fr !important;
  }

  .testi-card {
    min-width: min(300px, calc(100vw - 3rem));
    max-width: min(300px, calc(100vw - 3rem));
    padding: 1.4rem;
  }

  .eco-pipeline {
    width: min(100%, 340px);
  }
}

@media (max-width: 600px) {
  .rev-sidebar {
    grid-template-columns: 1fr;
  }

  .rev-stat-grid-inner {
    grid-template-columns: 1fr !important;
  }

  .profil-sidebar {
    grid-template-columns: 1fr;
  }

  .step-interface-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-istat {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .step-interface-stats .step-istat:nth-child(2n) {
    border-right: none;
  }

  .step-interface-stats .step-istat:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .market-card-dark {
    padding: 1.5rem 1.2rem;
  }

  .eco-pipeline {
    width: 100%;
    padding: 1.4rem 1rem;
  }

  .eco-result-card {
    padding: 0.95rem 1rem;
  }

  .eco-source-chip {
    font-size: 0.68rem;
  }

  .counter-hero .section {
    padding: 4.5rem 0 !important;
  }
}

/* ===== URL LANG MOCK ===== */
.url-lang-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 7px;
  background: transparent;
  transition: background 0.18s;
}
.url-lang-row.url-lang-active {
  background: rgba(255,87,87,0.07);
  border: 1px solid rgba(255,87,87,0.18);
}
.url-lang-anim {
  display: inline-block;
  transition: opacity 0.25s;
}

/* ===== MARQUEE LOGOS ===== */
.marquee-logos {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(0.3);
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.marquee-logo:hover { opacity: 1; filter: none; }

/* ===== REVOLUTION STATS ===== */
.revolution-stats {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-soft);
  border-radius: 24px;
}
.revolution-left { }
.revolution-stat-grid {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.revolution-stat {
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  flex: 1;
}
.revolution-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.revolution-stat-label { font-size: 0.75rem; opacity: 0.75; line-height: 1.4; }
.revolution-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.revolution-browser {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.revolution-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.revolution-screen {
  display: flex;
  height: 220px;
  overflow: hidden;
}
.rev-sidebar {
  width: 90px;
  background: #0d1f35;
  padding: 12px 8px;
  flex-shrink: 0;
}
.rev-nav-item {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
  padding: 5px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
  cursor: pointer;
}
.rev-nav-highlighted { background: rgba(255,87,87,0.15); color: rgba(255,255,255,0.9); }
.rev-main { flex: 1; padding: 10px 12px; overflow: hidden; }
.rev-stat-cell { background: #f8fafc; border-radius: 4px; padding: 4px 6px; text-align: center; }
.rev-quote-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #f8fafc;
}
.rev-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ===== STEP 1 — PROFIL MOCKUP ===== */
.profil-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
}
.profil-sidebar {
  border-right: 1px solid rgba(25,56,82,0.1);
  padding: 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.profil-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.profil-nav-item:hover { background: rgba(25,56,82,0.06); color: var(--navy); }
.profil-active {
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 10px;
}
.profil-content { padding: 1.2rem 1.4rem; }
.profil-panel { display: none; }
.profil-panel-active { display: block; }
.profil-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.profil-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.profil-input {
  background: #fff;
  border: 1.5px solid rgba(25,56,82,0.15);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  color: var(--navy);
  width: 100%;
}
.profil-input-placeholder { color: var(--muted) !important; }
.profil-btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: default;
}
.profil-btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(25,56,82,0.2);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  cursor: default;
}
.profil-upload-zone {
  border: 1.5px dashed rgba(25,56,82,0.2);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: rgba(25,56,82,0.02);
}
.profil-textarea {
  background: #fff;
  border: 1.5px solid rgba(25,56,82,0.15);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.75rem;
  color: var(--muted);
  min-height: 90px;
  width: 100%;
}

/* ===== STEP 3 — IMAGE DRAG DROP ===== */
.step3-img-drop-zone {
  margin-top: 0.5rem;
  border: 1.5px dashed rgba(25,56,82,0.2);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  background: rgba(25,56,82,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  min-height: 46px;
}
.step3-img-floating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1.5px solid rgba(25,56,82,0.15);
  border-radius: 7px;
  padding: 0.25rem 0.6rem;
  box-shadow: 0 3px 10px rgba(25,56,82,0.12);
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  animation: imgDrop 3.2s ease-in-out infinite;
  opacity: 0;
  white-space: nowrap;
  z-index: 2;
}
@keyframes imgDrop {
  0%   { top: -36px; opacity: 0; }
  18%  { opacity: 1; }
  50%  { top: 8px; opacity: 1; }
  70%  { top: 8px; opacity: 1; }
  88%  { top: 8px; opacity: 0; }
  100% { top: -36px; opacity: 0; }
}

/* ===== STEP 3 INTERFACE MOCKUP ===== */
.step-mock-interface {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 0 !important;
  font-size: 0.75rem;
}
.step-interface-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  gap: 0.5rem;
}
.step-interface-stats {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.step-istat {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step-istat strong { font-size: 1rem; font-weight: 800; color: var(--navy); }
.step-istat span { font-size: 0.5rem; color: var(--muted); }
.step-interface-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.step-tab {
  font-size: 0.6rem;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.step-tab-active { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.step-interface-body { padding: 10px 14px; }
.step-day-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.step-day-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-day-col { }
.step-day-col-title { font-size: 0.48rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }

/* ===== TESTIMONIALS CAROUSEL ===== */
.testi-carousel-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  margin-top: 2.5rem;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  animation: testiScroll 28s linear infinite;
  width: max-content;
}
.testi-track:hover { animation-play-state: paused; }
.testi-card {
  min-width: 340px;
  max-width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(25,56,82,0.06);
}
.testi-card blockquote { font-size: 0.92rem; color: var(--navy); line-height: 1.7; margin: 0; font-style: italic; }
.testi-card cite { font-size: 0.8rem; font-weight: 700; color: var(--red); font-style: normal; margin-top: auto; }
@keyframes testiScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== ECO PIPELINE DESIGN ===== */
.eco-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 32px rgba(25,56,82,0.07);
  width: 340px;
}
.eco-sources {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}
.eco-source-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.eco-pipe-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(180deg, var(--line), rgba(29,78,216,0.3));
  position: relative;
  margin: 4px 0;
  overflow: hidden;
}
.eco-pipe-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #193852;
  left: -2px;
  top: -6px;
  animation: pipeDot 1.4s linear infinite;
}
@keyframes pipeDot {
  0% { top: -6px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 36px; opacity: 0; }
}
.eco-ai-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}
.eco-ai-ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px dashed rgba(25,56,82,0.25);
  animation: spinRing 12s linear infinite;
}
@keyframes spinRing { to { transform: rotate(360deg); } }
.eco-ai-inner {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 2px solid rgba(25, 56, 82, 0.15);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(29,78,216,0.3);
  z-index: 1;
}
.eco-ai-label { font-size: 1.3rem; font-weight: 900; color: #fff; line-height: 1; }
.eco-result-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  width: 100%;
  margin-top: 4px;
}
.eco-result-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.eco-result-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5757;
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.eco-pill {
  font-size: 0.68rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--navy);
}
.eco-pill-green { background: #dcfce7; border-color: #86efac; color: #16a34a; }

/* ===== UNIFIED FOOTER ===== */
.footer-main {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.footer-brand-col { }
.footer-brand { font-size: 1.4rem; color: #fff; margin-bottom: 0.75rem; }
.footer-brand span { color: var(--red); }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 0.5rem; }
.footer-links-col h4 { font-size: 0.78rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-links-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-shell {
  max-width: 920px;
}
.legal-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.legal-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.legal-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}
.legal-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.legal-card p:last-child {
  margin-bottom: 0;
}
.legal-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.75;
}
.legal-document {
  padding: clamp(1.4rem, 2vw, 2.2rem);
}
.legal-document p {
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.legal-document p:first-child {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.legal-document p:nth-child(2) {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.legal-document p:nth-child(3) {
  color: var(--muted);
  font-size: 0.92rem;
}
.legal-document p b {
  color: var(--text);
}
