/* ============================================================
   JEVEUX1SITE — style.css
   Ultra Premium Light Theme · International Agency 2026
   ============================================================ */

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

/* ============================================================
   === VARIABLES ===
   ============================================================ */
:root {
  /* Brand Colors */
  --orange: #f97316;
  --orange-light: #fb923c;
  --amber: #f59e0b;
  --orange-gradient: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
  --orange-glow: rgba(249, 115, 22, 0.15);

  /* Dark Tones */
  --dark: #0f0f0f;
  --dark-2: #1a1a1a;

  /* Text */
  --text: #374151;
  --text-muted: #6b7280;
  --text-subtle: #9ca3af;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-grey: #f4f4f6;
  --bg-grey-2: #eeeef2;

  /* Borders */
  --border: #e5e7eb;
  --border-light: #f0f0f2;

  /* Border Radius */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-orange: 0 8px 30px rgba(249, 115, 22, 0.28);
  --shadow-orange-lg: 0 16px 48px rgba(249, 115, 22, 0.22);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --section-pad: 100px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration-sm: 0.2s;
  --duration-md: 0.35s;
  --duration-lg: 0.65s;
}

/* ============================================================
   === RESET ===
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ============================================================
   === TYPOGRAPHY ===
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Colored italic em in headings */
h1 em,
h2 em {
  font-style: italic;
  color: var(--orange);
  font-weight: 700;
}

/* Hero title gradient em */
.hero-title em {
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

p {
  font-family: var(--font-body);
  color: var(--text-muted);
  line-height: 1.72;
  font-weight: 400;
}

/* Section overline */
.overline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0.85rem auto 0;
  line-height: 1.75;
}

/* ============================================================
   === LAYOUT ===
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

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

/* ============================================================
   === BUTTONS ===
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition:
    transform var(--duration-sm) var(--ease),
    box-shadow var(--duration-sm) var(--ease),
    background var(--duration-sm),
    color var(--duration-sm);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn svg {
  flex-shrink: 0;
  transition: transform var(--duration-sm) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Primary — orange gradient */
.btn-primary {
  background: var(--orange-gradient);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-orange);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

/* Sizes */
.btn-large {
  padding: 16px 44px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   === NAVBAR ===
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition:
    background var(--duration-md) var(--ease),
    box-shadow var(--duration-md) var(--ease),
    padding var(--duration-md) var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
}

/* Quand le menu mobile est ouvert : fond solide + suppression du blur
   pour éviter l'effet de double-filtre avec l'overlay du menu */
.nav.menu-open {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 var(--border) !important;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.025em;
  flex-shrink: 0;
  transition: opacity var(--duration-sm);
}

.nav-logo:hover {
  opacity: 0.75;
}

.logo-accent {
  color: var(--orange);
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--duration-sm);
  padding-bottom: 2px;
}

/* Underline animation */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-gradient);
  border-radius: 2px;
  transition: width var(--duration-md) var(--ease);
}

.nav-link:hover {
  color: var(--dark);
}

.nav-link:hover::after {
  width: 100%;
}

/* CTA in nav */
.nav-cta {
  font-size: 0.84rem;
  padding: 10px 22px;
  flex-shrink: 0;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
  position: relative;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   === HERO ===
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding-top: 80px;
  overflow: hidden;
}

/* Dot-grid background pattern */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c8cdd6 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

/* Decorative oversized character */
.hero-decoration {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-52%);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero-deco-char {
  font-family: var(--font-heading);
  font-size: clamp(18rem, 32vw, 28rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(249, 115, 22, 0.07);
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
}

/* Hero inner */
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
}

.hero-content {
  max-width: 760px;
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249, 115, 22, 0.07);
  border: 1px solid rgba(249, 115, 22, 0.18);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0);
  }
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-subtle);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  white-space: nowrap;
}

/* ============================================================
   === DIGITAL EXPERIENCES ===
   ============================================================ */
.experiences {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
}

.exp-item {
  padding: 2.75rem 2.5rem;
  transition: background var(--duration-md);
}

.exp-item:hover {
  background: rgba(249, 115, 22, 0.025);
}

/* Vertical dividers */
.exp-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0.5rem 0;
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(249, 115, 22, 0.5);
  line-height: 1;
  margin-bottom: 1.1rem;
  letter-spacing: -0.045em;
}

.exp-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.65rem;
}

.exp-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ============================================================
   === EXPERTISES ===
   ============================================================ */
.expertises {
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 4th and 5th card: offset to center bottom row */
.cards-grid .card:nth-child(4) {
  grid-column: 1;
}

.cards-grid .card:nth-child(5) {
  grid-column: 2;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  transition:
    transform var(--duration-md) var(--ease),
    box-shadow var(--duration-md),
    border-color var(--duration-md);
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 44px rgba(249, 115, 22, 0.1), var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.18);
}

/* Card icon */
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 1.3rem;
  transition:
    background var(--duration-md),
    color var(--duration-md),
    transform var(--duration-md) var(--ease);
}

.card:hover .card-icon {
  background: var(--orange);
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}

.card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  transition: letter-spacing var(--duration-sm) var(--ease);
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.02em;
}

/* ============================================================
   === PROCESS ===
   ============================================================ */
.process {
  background: var(--bg-grey);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

/* Connecting line between steps */
.process-connector {
  align-self: flex-start;
  margin-top: 27px;
  height: 2px;
  width: 100%;
  min-width: 30px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.3), rgba(245, 158, 11, 0.3));
  border-radius: 2px;
}

.process-step {
  padding: 0 0.75rem;
  text-align: center;
  transition: transform var(--duration-md) var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
}

/* Numbered circle */
.step-number-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  margin: 0 auto 1.25rem;
  transition:
    background var(--duration-md),
    border-color var(--duration-md),
    box-shadow var(--duration-md);
}

.process-step:hover .step-number-wrap {
  background: var(--orange-gradient);
  border-color: transparent;
  box-shadow: var(--shadow-orange);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange);
  transition: color var(--duration-md);
}

.process-step:hover .step-number {
  color: #fff;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   === PORTFOLIO ===
   ============================================================ */
.portfolio {
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition:
    transform var(--duration-md) var(--ease),
    box-shadow var(--duration-md);
}

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

/* Image wrapper */
.portfolio-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.06);
}

/* Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.9) 0%, rgba(245, 158, 11, 0.88) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-md) var(--ease);
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card.touch-active .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-btn {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  transition:
    background var(--duration-sm),
    color var(--duration-sm),
    border-color var(--duration-sm),
    transform var(--duration-sm) var(--ease);
}

.portfolio-overlay-btn:hover {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
  transform: scale(1.04);
}

/* Card info */
.portfolio-info {
  padding: 1.5rem;
}

.portfolio-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.16);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.portfolio-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.portfolio-category {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 0.7rem;
}

.portfolio-result {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}

/* ============================================================
   === STATS ===
   ============================================================ */
.stats {
  background: var(--bg-grey);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Dividers between stats */
.stats-grid .stat-item+.stat-item {
  border-left: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.65rem;
  letter-spacing: -0.045em;
}

.stat-number .counter {
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

/* ============================================================
   === TESTIMONIALS ===
   ============================================================ */
.testimonials {
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.testimonial-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition:
    transform var(--duration-md) var(--ease),
    box-shadow var(--duration-md);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Featured center card */
.testimonial-card.featured {
  background: var(--bg);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(249, 115, 22, 0.08);
  transform: translateY(-10px);
}

.testimonial-card.featured:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(249, 115, 22, 0.1);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 1.1rem;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.78;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.author-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1px;
}

.author-role {
  font-size: 0.74rem;
  color: var(--text-subtle);
  font-family: var(--font-body);
}

/* ============================================================
   === CTA ===
   ============================================================ */
.cta-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Subtle orange glows */
.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -5%;
  width: 55%;
  height: 220%;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 55%;
  height: 220%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.cta-subtitle {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.cta-trust span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

/* ============================================================
   === CONTACT ===
   ============================================================ */
.contact {
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 5rem;
  align-items: start;
}

/* Left info panel */
.contact-info {
  padding-top: 0.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-top: 0.5rem;
}

.availability-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: blink 2.2s ease-in-out infinite;
}

/* Form */
.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark);
  outline: none;
  transition:
    border-color var(--duration-sm),
    box-shadow var(--duration-sm);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* Select custom arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option {
  background: #fff;
  color: var(--dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Success message */
.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.22);
  color: #15803d;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 1rem;
}

[hidden] {
  display: none !important;
}

/* ============================================================
   === FOOTER ===
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  max-width: 200px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--duration-sm);
}

.footer-col a:hover {
  color: var(--orange-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal-links span {
  opacity: 0.3;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--duration-sm);
}

.footer-legal-links a:hover {
  color: var(--orange-light);
}

/* ============================================================
   === ANIMATIONS ===
   ============================================================ */

/* Base reveal state — elements start hidden */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--duration-lg) var(--ease),
    transform var(--duration-lg) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   === RESPONSIVE ===
   ============================================================ */

/* ---- TABLET (≤1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
    --container: 960px;
  }

  .nav-links {
    gap: 1.75rem;
  }

  /* Experiences: stack vertically */
  .exp-grid {
    grid-template-columns: 1fr;
  }

  .exp-divider {
    display: none;
  }

  .exp-item {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .exp-item:last-child {
    border-bottom: none;
  }

  /* Cards: 2 columns */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid .card:nth-child(4),
  .cards-grid .card:nth-child(5) {
    grid-column: auto;
  }

  /* Process: 2×2 */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-connector {
    display: none;
  }

  /* Stats: 2×2 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid .stat-item+.stat-item {
    border-left: none;
  }

  .stats-grid .stat-item:nth-child(2n) {
    border-left: 1px solid var(--border);
  }

  /* Testimonials: 2 cols */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card.featured {
    transform: none;
  }

  /* Contact: single column */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }
}

/* ---- MOBILE (≤768px) ---- */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    z-index: 999;
    padding-top: 72px;
    /* Compense la hauteur de la barre nav fixe */
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
    position: relative;
    z-index: 1001;
    /* Au-dessus de l'overlay du menu (z-index: 999) */
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .hero-decoration {
    opacity: 0.25;
    right: -8%;
  }

  /* Plus d'air dans le hero sur mobile */
  .hero-inner {
    padding: 0 28px 72px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stats-grid .stat-item+.stat-item {
    border-left: none;
  }

  .stats-grid .stat-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .stats-grid .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-trust {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.75rem;
  }

  /* Footer */
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ---- SMALL MOBILE (≤480px) ---- */
@media (max-width: 480px) {
  :root {
    --section-pad: 56px;
  }

  .container {
    padding: 0 24px;
  }

  /* Espace supplémentaire dans le hero sur très petit écran */
  .hero-inner {
    padding: 0 24px 60px;
  }

  .hero-eyebrow {
    font-size: 0.78rem;
  }

  .hero-deco-char {
    -webkit-text-stroke-width: 1px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col h4 {
    margin-bottom: 0.75rem;
  }
}