/* ==========================================================================
   Aurélien Reynaud — Custom CSS
   Design System tokens + composants
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --ar-bg-primary: #0f172a;
  --ar-bg-secondary: #1e293b;
  --ar-bg-tertiary: #0b1120;
  --ar-bg-card: #1e293b;
  --ar-bg-card-hover: #334155;
  --ar-text-primary: #f8fafc;
  --ar-text-secondary: #94a3b8;
  --ar-text-muted: #64748b;
  --ar-accent: #d4a037;
  --ar-accent-hover: #e6b84d;
  --ar-accent-light: #f5d78e;
  --ar-accent-subtle: rgba(212, 160, 55, 0.08);
  --ar-accent-border: rgba(212, 160, 55, 0.25);
  --ar-teal: #0d9488;
  --ar-teal-light: #14b8a6;
  --ar-teal-subtle: rgba(13, 148, 136, 0.08);
  --ar-teal-border: rgba(13, 148, 136, 0.25);
  --ar-success: #22c55e;
  --ar-border: #334155;
  --ar-border-subtle: #1e293b;
  --ar-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --ar-glow: 0 0 40px rgba(212, 160, 55, 0.15);
}

/* ---------- Global ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: var(--ar-bg-primary);
  color: var(--ar-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Section container ---------- */
.ar-section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .ar-section {
    padding: 3.5rem 1rem;
  }
}

/* ---------- Section backgrounds ---------- */
.ar-bg-primary {
  background: var(--ar-bg-primary);
}

.ar-bg-secondary {
  background: var(--ar-bg-secondary);
}

.ar-bg-tertiary {
  background: var(--ar-bg-tertiary);
}

/* ---------- Section title ---------- */
.ar-section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--ar-text-primary);
}

.ar-section-subtitle {
  color: var(--ar-text-secondary);
  text-align: center;
  max-width: 700px;
  margin: -1rem auto 2.5rem;
}

/* ---------- Grid ---------- */
.ar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- CTA Button Primary ---------- */
.ar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #e6b84d 0%, #d4a037 40%, #b8892e 100%);
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(212, 160, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.ar-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ar-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212, 160, 55, 0.45), 0 0 20px rgba(212, 160, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #f0c95c 0%, #e6b84d 40%, #d4a037 100%);
  color: #0f172a;
  text-decoration: none;
}

.ar-cta-btn:hover::before {
  opacity: 1;
}

.ar-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 160, 55, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* ---------- CTA Button Secondary ---------- */
.ar-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(212, 160, 55, 0.08) 0%, rgba(13, 148, 136, 0.06) 100%);
  color: var(--ar-accent);
  border: 1px solid var(--ar-accent-border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.ar-cta-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(212, 160, 55, 0.15) 0%, rgba(13, 148, 136, 0.1) 100%);
  border-color: var(--ar-accent);
  color: var(--ar-accent-hover);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 160, 55, 0.12);
}

/* ---------- Card ---------- */
.ar-card {
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.ar-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, var(--ar-teal-border), var(--ar-accent-border));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.ar-card:hover {
  background: var(--ar-bg-card-hover);
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 160, 55, 0.08);
}

.ar-card:hover::before {
  opacity: 1;
}

.ar-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ar-accent-subtle);
  border: 1px solid var(--ar-accent-border);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--ar-accent);
}

.ar-card-icon svg {
  width: 24px;
  height: 24px;
}

.ar-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.ar-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.ar-card p {
  margin: 0;
  color: var(--ar-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Hero ---------- */
.ar-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(212, 160, 55, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    linear-gradient(170deg, #0b1120 0%, #111d35 40%, #0f172a 70%, #0b1120 100%);
}

.ar-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(13, 148, 136, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(212, 160, 55, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

/* Split layout */
.ar-hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  width: 100%;
}

@media (min-width: 900px) {
  .ar-hero-split {
    grid-template-columns: 55% 45%;
    gap: 3rem;
    padding: 7rem 3rem 4rem;
  }
}

/* Left column — text */
.ar-hero-left {
  text-align: left;
}

.ar-hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--ar-accent-subtle);
  border: 1px solid var(--ar-accent-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ar-accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.ar-hero h1 {
  margin: 0 0 1.25rem;
  color: var(--ar-text-primary);
  line-height: 1.1;
}

.ar-hero h1 em,
.ar-section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ar-accent) 0%, var(--ar-accent-light) 50%, #fff5d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ar-hero .ar-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ar-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.ar-hero .ar-sub-secondary {
  font-size: 1rem;
  color: var(--ar-accent);
  font-weight: 500;
  margin-bottom: 2rem;
}

.ar-hero .ar-cta-hint {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ar-text-muted);
}

.ar-hero-asterisk {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--ar-text-muted);
  max-width: 400px;
  line-height: 1.5;
  opacity: 0.6;
}

/* Right column — image */
.ar-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-hero-visual {
  width: 100%;
  max-width: 520px;
  max-height: 550px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(212, 160, 55, 0.06);
  border: 1px solid var(--ar-border);
}

/* Decorative glow behind image */
.ar-hero-right::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(212, 160, 55, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 900px) {
  .ar-hero-right {
    justify-content: flex-end;
    margin-right: -2rem;
  }
}

/* Mobile: center text, image below */
@media (max-width: 899px) {
  .ar-hero-left {
    text-align: center;
  }

  .ar-hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .ar-hero-asterisk {
    margin-left: auto;
    margin-right: auto;
  }

  .ar-hero-visual {
    max-width: 400px;
  }
}

/* ---------- Problem section ---------- */
.ar-problem-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 16px;
  transition: background 0.3s ease;
}

.ar-problem-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ar-problem-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ar-accent-subtle);
  border: 1px solid var(--ar-accent-border);
  border-radius: 10px;
  color: var(--ar-accent);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.ar-problem-item p {
  margin: 0;
  color: var(--ar-text-secondary);
  line-height: 1.7;
}

.ar-problem-item strong {
  color: var(--ar-text-primary);
}

/* ---------- Steps (Solution section) ---------- */
.ar-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .ar-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ar-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.ar-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--ar-accent), #b8892e);
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.ar-step:hover .ar-step-number {
  box-shadow: 0 0 24px rgba(212, 160, 55, 0.35);
}

.ar-step h3 {
  margin: 0 0 1rem;
}

.ar-step p {
  color: var(--ar-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.ar-step-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ar-text-muted);
  font-style: italic;
}

/* ---------- Highlight box ---------- */
.ar-highlight {
  background: var(--ar-accent-subtle);
  border: 1px solid var(--ar-accent-border);
  border-left: 4px solid var(--ar-accent);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  color: var(--ar-text-primary);
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- Proof / Results section ---------- */
.ar-proof-card {
  background: var(--ar-bg-card);
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.ar-proof-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, var(--ar-teal-border), var(--ar-accent-border));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.ar-proof-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 160, 55, 0.08);
}

.ar-proof-card:hover::before {
  opacity: 1;
}

/* Grille preuves : pleine largeur */
.ar-grid-preuves {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ar-grid-preuves {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Section preuves : casser la contrainte WP */
#preuves .ar-section {
  max-width: 1600px;
  padding-left: 3rem;
  padding-right: 3rem;
}

.ar-proof-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ar-proof-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ar-proof-card .ar-proof-number {
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-proof-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ar-accent);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.ar-proof-card h3 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: var(--ar-text-primary);
}

.ar-proof-card p {
  color: var(--ar-text-secondary);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.ar-proof-link {
  color: var(--ar-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.ar-proof-link:hover {
  color: var(--ar-accent-hover);
}

/* ---------- Comparison table ---------- */
.ar-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ar-border);
  max-width: 900px;
  margin: 0 auto;
}

.ar-comparison-table th,
.ar-comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--ar-border-subtle);
  transition: background 0.25s ease;
}

.ar-comparison-table thead th {
  background: var(--ar-bg-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ar-text-primary);
}

.ar-comparison-table thead th:first-child {
  color: var(--ar-text-muted);
}

.ar-comparison-table thead th:last-child {
  color: var(--ar-accent);
  position: relative;
}

.ar-comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.ar-comparison-table tbody tr:hover td.ar-mine {
  background: rgba(212, 160, 55, 0.12);
}

.ar-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.ar-comparison-table td:first-child {
  font-weight: 600;
  color: var(--ar-text-primary);
  background: var(--ar-bg-secondary);
}

.ar-comparison-table td.ar-traditional {
  color: var(--ar-text-muted);
  background: var(--ar-bg-primary);
}

.ar-comparison-table td.ar-mine {
  color: var(--ar-accent-light);
  background: var(--ar-accent-subtle);
  font-weight: 600;
}

.ar-comparison-table .ar-check {
  color: var(--ar-success);
  margin-right: 0.5rem;
}

@media (max-width: 640px) {
  .ar-comparison-table th,
  .ar-comparison-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

/* ---------- About section ---------- */
.ar-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .ar-about {
    grid-template-columns: 300px 1fr;
    gap: 4rem;
  }
}

.ar-about > div:first-child {
  position: relative;
}

.ar-about > div:first-child::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 1px solid var(--ar-accent-border);
  border-radius: 20px;
  pointer-events: none;
  max-width: 280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ar-about > div:first-child::after {
    margin: 0;
  }
}

.ar-about-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  border: 1px solid var(--ar-border);
  margin: 0 auto;
  display: block;
  box-shadow: var(--ar-shadow);
  position: relative;
  z-index: 1;
}

.ar-about-text p {
  color: var(--ar-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ar-about-text strong {
  color: var(--ar-text-primary);
}

.ar-about-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.ar-about-links a {
  color: var(--ar-accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ar-accent-border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ar-about-links a:hover {
  background: var(--ar-accent-subtle);
  border-color: var(--ar-accent);
}

/* ---------- CTA Final ---------- */
.ar-cta-final {
  text-align: center;
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, var(--ar-bg-secondary) 0%, var(--ar-bg-primary) 100%);
  position: relative;
}

.ar-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 160, 55, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.ar-cta-final h2 {
  position: relative;
  z-index: 1;
}

.ar-cta-final p {
  position: relative;
  z-index: 1;
  color: var(--ar-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.ar-cta-final .ar-cta-btn {
  position: relative;
  z-index: 1;
}

.ar-cta-final .ar-cta-hint {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ar-text-muted);
}

/* ---------- Footer ---------- */
.ar-footer {
  background: var(--ar-bg-tertiary);
  border-top: 1px solid var(--ar-border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.ar-footer p {
  color: var(--ar-text-muted);
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

.ar-footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.ar-footer-links a {
  color: var(--ar-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.ar-footer-links a:hover {
  color: var(--ar-accent);
}

.ar-footer-tva {
  font-size: 0.75rem;
  color: var(--ar-text-muted);
  margin-top: 0.5rem;
  opacity: 0.7;
}

.ar-footer-calendly {
  font-size: 0.7rem;
  color: var(--ar-text-muted);
  margin-top: 1.25rem;
  opacity: 0.5;
}

.ar-footer-calendly a {
  color: var(--ar-text-secondary);
  text-decoration: underline;
}

/* ---------- Header / Nav ---------- */
.ar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ar-border-subtle);
  padding: 1rem 1.5rem;
}

.ar-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ar-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ar-text-primary);
  text-decoration: none;
}

.ar-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.ar-logo span {
  color: var(--ar-accent);
}

.ar-logo em {
  font-style: normal;
  font-weight: 400;
  color: var(--ar-text-secondary);
  letter-spacing: 0.02em;
}

.ar-header-cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 40%, #0a7c72 100%);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ar-header-cta:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 40%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.4), 0 0 16px rgba(13, 148, 136, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ---------- Scroll Animations ---------- */

/* Fade up (default) */
.ar-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ar-animate.ar-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.ar-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ar-animate-left.ar-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.ar-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ar-animate-right.ar-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Blur-in effect */
.ar-blur-in {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ar-blur-in.ar-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Stagger items (hidden until parent triggers) */
.ar-stagger-item {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ar-stagger-item.ar-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Table row slide-in */
.ar-comparison-table tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ar-comparison-table tbody tr.ar-slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* CTA glow pulse */
@keyframes ar-glow-breathe {
  0%, 100% { box-shadow: 0 4px 16px rgba(212, 160, 55, 0.3); }
  50% { box-shadow: 0 4px 32px rgba(212, 160, 55, 0.55), 0 0 60px rgba(212, 160, 55, 0.15); }
}

.ar-cta-btn.ar-glow-pulse {
  animation: ar-glow-breathe 2.5s ease-in-out 1;
}

/* Reduced motion — disabled for testing, re-enable for production
@media (prefers-reduced-motion: reduce) {
  .ar-animate,
  .ar-animate-left,
  .ar-animate-right,
  .ar-blur-in,
  .ar-stagger-item,
  .ar-comparison-table tbody tr {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}
*/

/* ---------- Utilities ---------- */
/* Gradient text — reusable */
.ar-gradient-text {
  font-style: normal;
  background: linear-gradient(135deg, var(--ar-accent) 0%, var(--ar-accent-light) 50%, #fff5d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ar-text-accent {
  color: var(--ar-accent);
}

.ar-text-secondary {
  color: var(--ar-text-secondary);
}

.ar-text-muted {
  color: var(--ar-text-muted);
}

.ar-text-center {
  text-align: center;
}

/* ---------- Mentions Légales ---------- */
.ar-legal {
  max-width: 800px;
}

.ar-legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ar-border);
  color: var(--ar-text-primary);
}

.ar-legal-content h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--ar-accent);
}

.ar-legal-content p {
  color: var(--ar-text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.ar-legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ar-legal-content ul li {
  color: var(--ar-text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.ar-legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  background: var(--ar-accent);
  border-radius: 50%;
}

.ar-legal-content ul li strong {
  color: var(--ar-text-primary);
}

.ar-legal-content a {
  color: var(--ar-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ar-legal-content a:hover {
  color: var(--ar-accent-hover);
  text-decoration: underline;
}

.ar-legal-placeholder {
  color: var(--ar-accent);
  font-style: italic;
  background: var(--ar-accent-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px dashed var(--ar-accent-border);
}

.ar-legal-note {
  font-size: 0.85rem;
  color: var(--ar-text-muted);
  font-style: italic;
  margin-top: -0.25rem;
}

.ar-legal-update {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ar-border);
  font-size: 0.8rem;
  color: var(--ar-text-muted);
  text-align: center;
}

.ar-mt-0 { margin-top: 0; }
.ar-mb-0 { margin-bottom: 0; }
.ar-mb-1 { margin-bottom: 0.5rem; }
.ar-mb-2 { margin-bottom: 1rem; }
.ar-mb-3 { margin-bottom: 1.5rem; }
.ar-mb-4 { margin-bottom: 2rem; }
