/* =============================================
   Aito Solution — Site Vitrine
   Design SaaS Premium — Polynésie Française
   Thème : Perle de Tahiti
   ============================================= */

/* ===== Variables ===== */
:root {
    --black: #04030a;
    --black-mid: #0a0718;
    --black-light: #14102a;
    --mag: #6A0C0C;
    --shadow: #4A0505;
    --shadowhover: #6A0C0C;
    --gold: #F4C430;
    --rb: #EC4899;
    --rb-light: #fce7f3;
    --paie: #8B5CF6;
    --paie-light: #ede9fe;
    --rapban: #D97706;
    --rapban-light: #fef3c7;
    --text: #1e293b;
    --text-mid: #475569;
    --text-muted: #64748b;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --ease: 0.28s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Utilitaires ===== */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ===== Navbar ===== */
.navbar-vitrine {
  background: rgba(4, 3, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244,196,48,0.12);
  padding: 1rem 0;
  transition: padding var(--ease), box-shadow var(--ease);
  z-index: 1040;
}

.navbar-vitrine.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--mag), var(--gold));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 0.8rem;
}

.navbar-brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mag), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-link-vitrine {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
  transition: color var(--ease), background var(--ease) !important;
  position: relative;
}

.nav-link-vitrine:hover {
  color: var(--gold) !important;
  background: rgba(244,196,48,0.07);
}

.btn-contact-nav {
  /*background: linear-gradient(135deg, var(--mag), var(--gold));*/
  background-color: var(--mag);
  color: white !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: none !important;
  /*box-shadow: 0 4px 14px rgba(233,30,140,0.35);*/
  box-shadow: 0 8px 28px var(--shadow);
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-contact-nav:hover {
  background-color: var(--mag) !important;
  color: white !important;
  box-shadow: 0 8px 28px var(--shadowhover);
}

/* ===== Hero ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(145deg, #020108 0%, #04030a 25%, #080518 50%, #120820 75%, #0a0510 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(233,30,140,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 25%, rgba(244,196,48,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 55% 85%, rgba(139,92,246,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-alt);
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(244,196,48,0.08);
  border: 1px solid rgba(244,196,48,0.2);
  border-radius: 50px;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  width: fit-content;
}

.location-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--mag) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  max-width: 520px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  /*background: linear-gradient(135deg, var(--mag), var(--gold));*/
  background-color: var(--mag);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  /*box-shadow: 0 8px 28px rgba(233,30,140,0.4);*/
  box-shadow: 0 8px 28px var(--shadow);
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-hero-primary:hover {
  box-shadow: 0 8px 28px var(--shadowhover);
  color: white;
  text-decoration: none;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  border: 1px solid rgba(244,196,48,0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-hero-outline:hover {
  background: rgba(244,196,48,0.08);
  border-color: rgba(244,196,48,0.55);
  color: var(--gold);
  text-decoration: none;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(244,196,48,0.12);
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(244,196,48,0.15);
}

/* Hero — App cards */
.hero-app-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244,196,48,0.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  color: white;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

.hero-app-card:hover {
  background: rgba(244,196,48,0.06);
  border-color: rgba(244,196,48,0.22);
  transform: translateX(-5px);
}

.hero-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.rb-icon    { background: rgba(236,72,153,0.2); color: #f9a8d4; }
.paie-icon  { background: rgba(139,92,246,0.2); color: #c4b5fd; }
.rapban-icon{ background: rgba(217,119,6,0.2);  color: #fcd34d; }

.hero-app-name  { font-size: 0.9rem; font-weight: 700; }
.hero-app-desc  { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.hero-app-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.rb-badge     { background: rgba(236,72,153,0.18); color: #f9a8d4; border: 1px solid rgba(236,72,153,0.3); }
.paie-badge   { background: rgba(139,92,246,0.18); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.3); }
.rapban-badge { background: rgba(217,119,6,0.18);  color: #fcd34d; border: 1px solid rgba(217,119,6,0.3); }

.hero-security-strip {
  background: rgba(244,196,48,0.05);
  border: 1px solid rgba(244,196,48,0.14);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}

.hero-sec-tag {
  background: rgba(233,30,140,0.14);
  color: rgba(249,168,212,0.95);
  border: 1px solid rgba(233,30,140,0.25);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== Section badges ===== */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.badge-blue   { background: var(--rb-light); color: var(--rb); }
.badge-cyan   { background: rgba(233,30,140,0.1); color: #9C3333; }
.badge-green  { background: var(--rapban-light); color: var(--rapban); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== Products ===== */
.products-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.product-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: height var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::after { height: 6px; }

.product-rb::after    { background: linear-gradient(90deg, var(--rb), #f472b6); }
.product-paie::after  { background: linear-gradient(90deg, var(--paie), #a78bfa); }
.product-rapban::after{ background: linear-gradient(90deg, var(--rapban), #fbbf24); }

.product-featured {
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 8px 32px rgba(139,92,246,0.14);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--paie), #a78bfa);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.rb-wrap     { background: var(--rb-light); color: var(--rb); }
.paie-wrap   { background: var(--paie-light); color: var(--paie); }
.rapban-wrap { background: var(--rapban-light); color: var(--rapban); }

.product-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.product-label-rb     { color: var(--rb); }
.product-label-paie   { color: var(--paie); }
.product-label-rapban { color: var(--rapban); }

.product-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--bg-alt);
}

.product-features li:last-child { border-bottom: none; }

.feat-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

.feat-rb     { background: var(--rb-light); color: var(--rb); }
.feat-paie   { background: var(--paie-light); color: var(--paie); }
.feat-rapban { background: var(--rapban-light); color: var(--rapban); }

.product-pricing-box {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.pricing-featured {
  background: linear-gradient(135deg, var(--paie-light), #f3e8ff);
  border-color: rgba(139,92,246,0.2);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.price-main {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
}

.price-currency {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.price-no-engage {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--rapban);
  font-weight: 600;
  margin-top: 0.4rem;
}

.btn-product {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  border: 2px solid;
  cursor: pointer;
  transition: all var(--ease);
  background: transparent;
  text-decoration: none;
}

.btn-product-rb     { border-color: var(--rb); color: var(--rb); }
.btn-product-rb:hover { background: var(--rb); color: white; }
.btn-product-paie   { border-color: var(--paie); color: var(--paie); }
.btn-product-paie:hover { background: var(--paie); color: white; }
.btn-product-rapban { border-color: var(--rapban); color: var(--rapban); }
.btn-product-rapban:hover { background: var(--rapban); color: white; }

.combo-strip {
  background: linear-gradient(135deg, var(--black), var(--black-mid));
  border: 1px solid rgba(244,196,48,0.15);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  color: white;
}

.combo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--mag), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.combo-title { font-weight: 700; font-size: 1rem; }
.combo-desc  { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ===== Security ===== */
.security-section {
  padding: 100px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.security-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 5% 50%, rgba(233,30,140,0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 95% 20%, rgba(244,196,48,0.07) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(139,92,246,0.07) 0%, transparent 40%);
  pointer-events: none;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.security-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,196,48,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--ease);
}

.security-card:hover {
  background: rgba(244,196,48,0.05);
  border-color: rgba(233,30,140,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.security-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(233,30,140,0.18), rgba(244,196,48,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  background-clip: padding-box;
}

.security-icon-wrap i {
  background: linear-gradient(135deg, var(--mag), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.security-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
}

.security-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin: 0;
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.5rem 2rem;
  background: rgba(244,196,48,0.04);
  border: 1px solid rgba(244,196,48,0.1);
  border-radius: var(--radius);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(233,30,140,0.18), rgba(244,196,48,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-icon i {
  background: linear-gradient(135deg, var(--mag), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-label    { font-size: 0.9rem; font-weight: 700; color: white; }
.trust-sublabel { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 1px; }

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(244,196,48,0.15);
}

/* ===== Équipe ===== */
.team-section {
  padding: 100px 0;
  background: white;
}

.team-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
  height: 100%;
  transition: all var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233,30,140,0.2);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--black-mid), var(--black-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem;
  color: white;
  box-shadow: 0 4px 20px rgba(233,30,140,0.2);
  border: 4px solid white;
  outline: 3px solid var(--bg-alt);
}

.team-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  color: var(--text-mid);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.skill-tag {
  background: var(--bg-alt);
  color: var(--text-mid);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.mission-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}

.mission-icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; }
.mission-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.mission-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(145deg, #020108, var(--black), #0e0618);
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(233,30,140,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(244,196,48,0.08) 0%, transparent 45%);
  pointer-events: none;
}

.cta-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--mag), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 28px rgba(233,30,140,0.45);
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* ===== Contact Modal ===== */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 10, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.contact-modal {
  background: white;
  border-radius: 20px;
  padding: 2.25rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.contact-modal-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--ease);
}

.modal-close:hover { background: var(--border); color: var(--text); }

.contact-modal-header { margin-bottom: 1.75rem; }

.contact-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--black), var(--black-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(233,30,140,0.2);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.form-label-custom {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-control-custom {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  background: white;
  font-family: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  display: block;
}

.form-control-custom:focus {
  border-color: var(--mag);
  box-shadow: 0 0 0 4px rgba(233,30,140,0.1);
}

.form-control-custom::placeholder { color: #b0bec5; }

.textarea-custom { resize: vertical; min-height: 110px; }

.error-message {
  display: block;
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.3rem;
  font-weight: 500;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #dc2626;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem;
  /*background: linear-gradient(135deg, var(--mag), var(--gold));*/
  background-color: var(--mag);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--ease);
  box-shadow: 0 4px 16px rgba(233,30,140,0.3);
  margin-top: 0.25rem;
}

.btn-submit:hover:not(:disabled) {
  box-shadow: 0 8px 24px rgba(233,30,140,0.45);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success */
.success-block {
  text-align: center;
  padding: 1.5rem 1rem;
}

.success-icon-wrap {
  font-size: 3.5rem;
  color: var(--rapban);
  margin-bottom: 1rem;
}

.success-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.success-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* ===== Footer ===== */
.footer {
  background: #02010a;
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(244,196,48,0.1);
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mag), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.9rem;
}

.footer-link {
  display: block;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color var(--ease);
}

.footer-link:hover { color: var(--gold); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(244,196,48,0.08);
  margin: 2.5rem 0 1.75rem;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

.footer-trust-badge {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
}

/* ===== Floating CTA button ===== */
.btn-contact-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /*background: linear-gradient(135deg, var(--mag), var(--gold));*/
  background-color: var(--mag);
  color: white;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.8rem 1.35rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  /*box-shadow: 0 8px 28px rgba(233,30,140,0.5);*/
  box-shadow: 0 8px 28px var(--shadow);
  transition: all var(--ease);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-contact-float:hover {
  box-shadow: 0 8px 28px var(--shadowhover);
}

/* ===== Carrousel produit ===== */
.card-carousel {
  margin: -2rem -2rem 1.75rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}

.card-carousel-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.4s ease;
}

.card-carousel .carousel-item > a {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.card-carousel .carousel-item > a:hover .card-carousel-img {
  transform: scale(1.03);
}

/* Slide PDF */
.card-carousel-pdf {
  width: 100%;
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.card-carousel-pdf i { font-size: 2.75rem; }

.rb-pdf-slide   { background: var(--rb-light); color: var(--rb); }
.paie-pdf-slide { background: var(--paie-light); color: var(--paie); }

/* Overlay zoom au survol */
.carousel-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4,3,10,0);
  color: white;
  font-size: 1.5rem;
  transition: background var(--ease);
  pointer-events: none;
}

.card-carousel .carousel-item > a:hover .carousel-zoom-hint {
  background: rgba(4,3,10,0.45);
}

/* Flèches précédent / suivant */
.card-carousel-prev,
.card-carousel-next {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--ease), box-shadow var(--ease), background var(--ease);
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  padding: 0;
}

.card-carousel-prev { left: 0.6rem; }
.card-carousel-next { right: 0.6rem; }

.card-carousel:hover .card-carousel-prev,
.card-carousel:hover .card-carousel-next {
  opacity: 1;
}

.card-carousel-prev:hover,
.card-carousel-next:hover {
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}

/* Points indicateurs */
.card-carousel-indicators {
  bottom: 0.55rem;
  margin-bottom: 0;
}

.card-carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.65);
  border: none;
  margin: 0 3px;
  transition: width var(--ease), background var(--ease);
  opacity: 1;
}

.card-carousel-indicators .active {
  width: 18px;
  background: white;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-section { padding: 90px 0 60px; }
  .hero-stats { gap: 1.25rem; }
  .trust-bar { gap: 1.5rem; }
  .trust-divider { display: none; }
  .mission-block { flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
  .hero-section { padding: 80px 0 50px; }
  .security-grid { grid-template-columns: 1fr; }
  .product-card { padding: 1.75rem; }
  .combo-strip { padding: 1.25rem; }
  .combo-strip .btn-contact-nav { width: 100%; margin-top: 1rem; }
  .btn-contact-float { bottom: 1rem; right: 1rem; padding: 0.75rem 1rem; }
  .contact-modal { padding: 1.75rem 1.5rem; }
  .trust-bar { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .stat-divider { display: none; }
}
