/* ============================================================
   ARIS TECHNOLOGIES — Feuille de style globale
   Charte graphique officielle
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --corporate-dark:    #0B2545;
  --corporate-blue:    #3A7CA5;
  --corporate-light:   #8FB8DE;
  --corporate-accent:  #FF7D4C;
  --corporate-success: #4CAF7D;
  --ivoire-orange:     #FF7F27;
  --ivoire-green:      #009E60;
  --corporate-bg:      #F5F7FA;
  --corporate-text:    #2C3E50;
  --corporate-gray:    #6C7A89;
  --white:             #FFFFFF;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius:   8px;
  --radius-lg: 16px;
  --shadow:   0 4px 20px rgba(11,37,69,.10);
  --shadow-lg: 0 8px 40px rgba(11,37,69,.16);
  --transition: all .28s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--corporate-text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--corporate-dark);
}
h1 { font-size: clamp(2.2rem,5vw,3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem,2.5vw,1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ── */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}
.section { padding: 90px 0; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

.bg-dark   { background: var(--corporate-dark); }

.bg-light  { background: var(--corporate-bg); }

/* ── Section label ── */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ivoire-orange);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--ivoire-orange);
  vertical-align: middle;
  margin-right: 8px;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--corporate-gray);
  max-width: 560px;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .75em 1.9em;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--ivoire-orange);
  color: var(--white);
  border-color: var(--ivoire-orange);
}
.btn-primary:hover {
  background: #e66e1a;
  border-color: #e66e1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,127,39,.30);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,37,69,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}
.nav-logo-text span { color: var(--ivoire-orange); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */

.nav-cta {
  margin-left: 12px;
  padding: .55em 1.4em;
  background: var(--ivoire-orange);
  color: var(--white);
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  transition: var(--transition);
}
.nav-cta:hover {
  background: #e66e1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,127,39,.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--corporate-dark);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  padding: 12px 4px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--ivoire-orange); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--corporate-dark);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,37,69,.92) 45%, rgba(11,37,69,.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 98px 0 56px;
  max-width: 680px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2rem,4.4vw,3.4rem);
  font-weight: 700;
}
.hero h1 .accent { color: var(--ivoire-orange); }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ivoire-orange);
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Hero grid (texte + image) ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,127,39,.15) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero-suite-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: floatSuite 6s ease-in-out infinite;
}
@keyframes floatSuite {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ivoire-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255,127,39,.35);
  animation: bounce 2.5s infinite;
}
.scroll-indicator svg { width: 22px; }
/* affiché seulement quand l'écran a la place de le montrer sans défiler */
@media (max-width: 1024px), (max-height: 760px) {
  .scroll-indicator { display: none; }
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  transition: var(--transition);
  border: 1px solid rgba(11,37,69,.06);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, #FF7F27, #CC5500);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(255,127,39,.28);
}
.card:hover .card-icon {
  background: linear-gradient(135deg, var(--corporate-dark), #0e3a6e);
  box-shadow: 0 8px 28px rgba(11,37,69,.3);
  transform: translateY(-3px);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--corporate-gray); font-size: .925rem; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

/* ── Process steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 24px;
  background: var(--corporate-bg);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.process-step::before {
  content: counter(step,decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--corporate-light);
  opacity: .35;
  position: absolute;
  top: 16px; right: 20px;
  line-height: 1;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: .875rem; color: var(--corporate-gray); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--corporate-dark) 0%, var(--corporate-blue) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,127,39,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(0,158,96,.06);
}
.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 540px; margin: 0 auto 36px; }

/* ── Footer ── */
footer {
  background: #040d1f;
  padding: 72px 0 0;
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p { font-size: .9rem; margin: 16px 0 24px; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
}
.footer-logo-text span { color: var(--ivoire-orange); }
.footer-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  transition: var(--transition);
}
.footer-social-link:hover {
  background: var(--ivoire-orange);
  border-color: var(--ivoire-orange);
  color: var(--white);
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--ivoire-orange); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.footer-contact li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--ivoire-orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: var(--transition); }
.footer-bottom a:hover { color: var(--ivoire-orange); }
.footer-bottom-links { display: flex; gap: 24px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--corporate-dark) 0%, #0e3a6e 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,127,39,.05);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.page-hero-breadcrumb a:hover { color: var(--ivoire-orange); }
.page-hero-breadcrumb span { color: rgba(255,255,255,.25); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 560px; }

/* ── Feature list ── */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-check {
  width: 22px; height: 22px;
  background: rgba(0,158,96,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check svg { width: 13px; color: var(--ivoire-green); }
.feature-item-text h4 { font-size: .95rem; margin-bottom: 3px; }
.feature-item-text p { font-size: .875rem; color: var(--corporate-gray); margin: 0; }

/* ── Animations ── */
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   GEREM — Styles spécifiques
   ============================================================ */

/* ── Module rows (alternance gauche/droite) ── */
.module-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(11,37,69,.06);
}
.module-row:last-child { border-bottom: none; }
.module-row--reverse { grid-template-columns: 1fr 320px; }
.module-row--reverse .module-visual { order: 2; }
.module-row--reverse .module-content { order: 1; }

.module-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-logo {
  width: 220px;
  height: 220px;
  border-radius: 48px;
  box-shadow: 0 20px 60px rgba(11,37,69,.18);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.module-row:hover .module-logo {
  transform: translateY(-8px) scale(1.03);
}

.module-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ivoire-orange);
  background: rgba(255,127,39,.1);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.module-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 16px;
  color: var(--corporate-dark);
}
.module-content > p {
  color: var(--corporate-gray);
  font-size: 1rem;
  margin-bottom: 28px;
}
.module-punchline {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ivoire-orange);
  margin-top: 28px;
  padding-left: 20px;
  border-left: 4px solid var(--ivoire-orange);
  font-style: italic;
}

/* ── Badge fiscal section ── */
.badge-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.badge-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 1rem;
}
.badge-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .9rem;
}
.badge-col ul li { list-style: none; }

.badge-mockup {
  max-width: 340px;
  margin: 0 auto;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.badge-mockup:hover {
  transform: translateY(-8px) scale(1.02);
}
.badge-mockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid  { grid-template-columns: repeat(2,1fr); }
  
  
  

  .module-row,
  .module-row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .module-row--reverse .module-visual,
  .module-row--reverse .module-content { order: unset; }
  .module-visual { justify-content: center; }
  .module-logo { width: 160px; height: 160px; border-radius: 36px; }
  .module-punchline { text-align: left; }

  .badge-grid { grid-template-columns: 1fr; gap: 40px; }
  .badge-comparison { grid-template-columns: 1fr; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { max-width: 100%; margin: 0 auto; padding: 98px 0 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-suite-img { max-width: 480px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { flex-wrap: nowrap; gap: 12px; justify-content: space-between; margin-top: 36px; padding-top: 24px; }
  .hero-stat-value { font-size: 1.6rem; }
  .hero-stat-label { font-size: .66rem; letter-spacing: .02em; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  
  
  .nav-inner { padding: 0 20px; }

  .module-row { padding: 48px 0; }
  .module-logo { width: 120px; height: 120px; border-radius: 28px; }
  .badge-mockup { max-width: 260px; }

  .hero-suite-img { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { width: 94%; }
  
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}