/* ============================================================
   ACTIMA TRANSIT - Feuille de style principale
   Design : moderne, professionnel, optimisé conversion
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --blue:       #083F73;
  --blue-mid:   #0B67B1;
  --blue-light: #3B9FE0;
  --blue-pale:  #D7E9F3;
  --accent:     #3B9FE0;
  --accent-dark:#0B67B1;
  --dark:       #0F1723;
  --gray-900:   #1E293B;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-200:   #E5E7EB;
  --gray-50:    #F0F2F7;
  --white:      #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.18);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.22);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font:  'Inter', system-ui, -apple-system, sans-serif;
  --speed: 280ms;

  --nav-h: 76px;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── Utility ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.section   { padding-block: 96px; }
.section-sm{ padding-block: 64px; }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-accent  { color: var(--accent); }
.text-orange  { color: var(--accent); } /* alias rétrocompat */
.text-blue   { color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; transition: all var(--speed) ease;
  white-space: nowrap; letter-spacing: .02em;
}
.btn-primary {
  background: var(--accent); color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,159,224,.40);
}
.btn-secondary {
  background: var(--white); color: var(--blue);
  border: 2px solid var(--white);
}
.btn-secondary:hover {
  background: transparent; color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue); color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px; font-size: .8rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.badge-accent { background: rgba(59,159,224,.12); color: var(--accent); }
.badge-orange { background: rgba(59,159,224,.12); color: var(--accent); } /* alias rétrocompat */
.badge-blue   { background: var(--blue-pale);       color: var(--blue); }
.badge-white  { background: rgba(255,255,255,.15); color: var(--white); }

/* ─── Section labels ─────────────────────────────────────────── */
.section-label {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 12px;
}
h2.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-500); max-width: 600px;
}
.section-subtitle.mx-auto { margin-inline: auto; }

/* ─── Navigation ────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--speed);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex; align-items: center;
  height: var(--nav-h); gap: 40px;
}
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.logo-img { height: 48px; width: auto; display: block; }
.logo-img--footer {
  background: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  height: 52px;
}

.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--gray-700);
  transition: all var(--speed);
}
.nav-links a:hover,
.nav-links a.active { background: var(--gray-50); color: var(--blue); }

.nav-actions {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--blue);
  padding: 8px 16px; border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  transition: all var(--speed);
}
.nav-phone:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.nav-phone svg { width: 16px; height: 16px; }

.nav-cta { padding: 10px 22px; font-size: .88rem; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  width: 40px; height: 40px; gap: 5px; padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--speed);
}
.nav-toggle:hover { background: var(--gray-50); }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all var(--speed);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile nav ─────────────────────────────────────────────── */
.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); padding: 32px 24px; overflow-y: auto;
  z-index: 999; transform: translateX(100%);
  transition: transform var(--speed) ease;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; font-size: 1.1rem; font-weight: 500;
  color: var(--gray-900); border-bottom: 1px solid var(--gray-200);
  transition: color var(--speed);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(8,63,115,.80) 0%, rgba(11,103,177,.72) 60%, rgba(59,159,224,.62) 100%),
    url('/assets/images/8f985f9eceea.jpg') center/cover no-repeat;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(59,159,224,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated grid lines */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding-block: 80px;
  position: relative; z-index: 1;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,159,224,.15); border: 1px solid rgba(59,159,224,.3);
  color: #D7E9F3; padding: 8px 18px; border-radius: 50px;
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 24px;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; color: var(--white); line-height: 1.1;
  margin-bottom: 24px; letter-spacing: -.02em;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
}
.hero-title .highlight::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0; height: 3px;
  background: var(--accent); border-radius: 2px; opacity: .5;
}

.hero-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,.8);
  margin-bottom: 40px; max-width: 500px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stat { }
.hero-stat-value {
  font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1;
}
.hero-stat-value span { color: var(--accent); }
.hero-stat-label {
  font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 4px;
  text-transform: uppercase; letter-spacing: .06em;
}

/* Hero visual */
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--speed);
  position: relative; overflow: hidden;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.10; z-index: 0;
  transition: opacity .3s;
}
.hero-card:hover::before { opacity: 0.18; }
.hero-card > * { position: relative; z-index: 1; }
.hero-card.card-maritime::before { background-image: url('/assets/images/c9251f0b5eb0.jpg'); }
.hero-card.card-aerien::before   { background-image: url('/assets/images/03a6d4260769.jpg'); }
.hero-card.card-vehicules::before { background-image: url('/assets/images/1b0faa19162c.jpg'); }

.hero-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.hero-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon.ship  { background: rgba(59,159,224,.2); }
.hero-card-icon.plane { background: rgba(11,103,177,.35); }
.hero-card-icon.truck { background: rgba(34,197,94,.2); }
.hero-card-icon svg { color: var(--white); width: 22px; height: 22px; }

.hero-card-title {
  font-weight: 700; color: var(--white); font-size: .95rem;
}
.hero-card-desc {
  font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.5;
}
.hero-card-badge {
  display: inline-block; margin-top: 10px;
  background: rgba(59,159,224,.2); border: 1px solid rgba(59,159,224,.3);
  color: #D7E9F3; padding: 3px 10px; border-radius: 50px;
  font-size: .72rem; font-weight: 600;
}

/* ─── Bande trust ────────────────────────────────────────────── */
.trust-bar {
  background: var(--blue);
  padding-block: 20px;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: space-around;
  gap: 24px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500;
}
.trust-item svg { color: var(--accent); width: 20px; height: 20px; flex-shrink: 0; }
.trust-sep { width: 1px; height: 32px; background: rgba(255,255,255,.15); }

/* ─── Services ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; margin-top: 56px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--speed) ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transition: transform var(--speed);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-card-img {
  margin: -32px -32px 24px;
  height: 160px; overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { color: var(--white); width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--blue);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .9rem; color: var(--gray-500); line-height: 1.6;
}

.service-card .service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: .85rem; font-weight: 600;
  color: var(--accent); transition: gap var(--speed);
}
.service-card:hover .service-link { gap: 10px; }

/* ─── Avantages / Why us ─────────────────────────────────────── */
.why-section {
  background:
    linear-gradient(rgba(15,23,35,.88) 0%, rgba(15,23,35,.93) 100%),
    url('/assets/images/9c4af7024d11.jpg') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,103,177,.18) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.why-content .section-subtitle { color: rgba(255,255,255,.6); }

.why-items { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }

.why-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md); padding: 22px 24px;
  transition: all var(--speed);
}
.why-item:hover {
  background: rgba(255,255,255,.07); border-color: rgba(59,159,224,.3);
  transform: translateX(6px);
}
.why-item-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(59,159,224,.15); border: 1px solid rgba(59,159,224,.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-item-icon svg { color: var(--accent); width: 22px; height: 22px; }
.why-item-text h4 { font-weight: 700; color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.why-item-text p  { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.5; }

.why-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.why-stat-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md); padding: 28px 24px; text-align: center;
  transition: all var(--speed);
}
.why-stat-card:hover { background: rgba(59,159,224,.10); border-color: rgba(59,159,224,.3); }
.why-stat-card:first-child { grid-column: span 2; }
.why-stat-value {
  font-size: 2.6rem; font-weight: 900; color: var(--white); line-height: 1;
  margin-bottom: 8px;
}
.why-stat-value span { color: var(--accent); }
.why-stat-label { font-size: .8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* ─── Process ────────────────────────────────────────────────── */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 64px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  z-index: 0;
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 16px; position: relative; z-index: 1;
}
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--blue);
  margin-bottom: 24px; transition: all var(--speed);
  position: relative; z-index: 2;
}
.process-step:hover .step-number {
  background: var(--blue); color: var(--white); border-color: var(--blue);
  transform: scale(1.1);
}
.process-step h4 { font-weight: 700; color: var(--gray-900); margin-bottom: 8px; font-size: .95rem; }
.process-step p  { font-size: .83rem; color: var(--gray-500); line-height: 1.5; }

/* ─── Témoignages ────────────────────────────────────────────── */
.testimonials-section {
  background:
    linear-gradient(rgba(240,242,247,.96) 0%, rgba(240,242,247,.96) 100%),
    url('/assets/images/248efef92000.jpg') center/cover no-repeat;
}

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px; border: 1px solid var(--gray-200);
  transition: all var(--speed);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.testimonial-stars {
  display: flex; gap: 4px; margin-bottom: 16px;
}
.testimonial-stars svg { color: var(--accent); width: 16px; height: 16px; }

.testimonial-text {
  font-size: .9rem; color: var(--gray-700); line-height: 1.7;
  font-style: italic; margin-bottom: 20px;
}
.testimonial-text::before { content: '\201C'; font-size: 2rem; color: var(--blue); line-height: 0; vertical-align: -.5em; margin-right: 4px; }

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: .9rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--gray-900); }
.testimonial-role { font-size: .78rem; color: var(--gray-500); }

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(11,103,177,.94) 0%, rgba(8,63,115,.97) 100%),
    url('/assets/images/34fb5bba1c08.jpg') center/cover no-repeat;
  padding-block: 72px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900;
  color: var(--white); margin-bottom: 16px; line-height: 1.2;
  position: relative; z-index: 1;
}
.cta-banner p {
  font-size: 1.05rem; color: rgba(255,255,255,.85);
  margin-bottom: 40px; position: relative; z-index: 1;
}
.cta-banner .cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.btn-white {
  background: var(--white); color: var(--blue); font-weight: 700;
}
.btn-white:hover {
  background: var(--dark); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15); border-color: var(--white);
  transform: translateY(-2px);
}

/* ─── Contact page ───────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 64px; align-items: start;
}

.contact-info h3 {
  font-size: 1.35rem; font-weight: 800; color: var(--blue);
  margin-bottom: 8px;
}
.contact-info > p {
  color: var(--gray-500); margin-bottom: 32px; font-size: .9rem;
}

.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--gray-200);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { color: var(--white); width: 20px; height: 20px; }
.contact-info-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); margin-bottom: 2px; }
.contact-info-value { font-weight: 600; color: var(--gray-900); }
.contact-info-value a:hover { color: var(--accent); }

.contact-social {
  display: flex; gap: 12px; margin-top: 28px;
}
.social-btn {
  width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700); transition: all var(--speed);
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.social-btn svg { width: 18px; height: 18px; }

/* Form */
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}
.contact-form-card h3 {
  font-size: 1.3rem; font-weight: 800; color: var(--blue);
  margin-bottom: 6px;
}
.contact-form-card > p {
  color: var(--gray-500); font-size: .88rem; margin-bottom: 28px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { grid-column: span 2; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .82rem; font-weight: 600; color: var(--gray-700);
  text-transform: uppercase; letter-spacing: .04em;
}
.form-group label .req { color: var(--accent); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); font-family: var(--font);
  font-size: .92rem; color: var(--gray-900); background: var(--gray-50);
  transition: all var(--speed); outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(11,103,177,.14);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-consent {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .82rem; color: var(--gray-500); line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  accent-color: var(--blue);
}
.form-consent a { color: var(--blue); text-decoration: underline; }

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

.form-notice {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--gray-500); margin-top: 12px;
}
.form-notice svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Alert messages */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: .9rem; margin-bottom: 20px;
}
.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

/* ─── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background:
    linear-gradient(135deg, rgba(8,63,115,.84) 0%, rgba(11,103,177,.80) 100%),
    url('/assets/images/b07665265ac2.jpg') center/cover no-repeat;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  color: var(--white); line-height: 1.1; margin-bottom: 16px;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 560px; margin-inline: auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--speed); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ─── Services page grid ─────────────────────────────────────── */
.services-page-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px; margin-top: 56px;
}
.service-page-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); overflow: hidden;
  transition: all var(--speed);
}
.service-page-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

.service-page-card-top {
  padding: 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  position: relative; overflow: hidden;
}
.service-page-card-top::after {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  z-index: 2;
}
.service-page-card-top-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.22; z-index: 0;
  transition: opacity var(--speed), transform .4s;
}
.service-page-card:hover .service-page-card-top-img { opacity: 0.35; transform: scale(1.05); }
.service-page-icon,
.service-page-card-top h3 { position: relative; z-index: 1; }
.service-page-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-page-icon svg { color: var(--white); width: 24px; height: 24px; }
.service-page-card-top h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); }

.service-page-card-body { padding: 24px 28px; }
.service-page-card-body p { font-size: .88rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; }
.service-page-features { display: flex; flex-direction: column; gap: 8px; }
.service-page-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: .83rem; color: var(--gray-700);
}
.service-page-features li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ─── Mentions légales ───────────────────────────────────────── */
.legal-content {
  max-width: 800px; margin-inline: auto;
}
.legal-content h2 {
  font-size: 1.2rem; font-weight: 700; color: var(--blue);
  margin-top: 40px; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--gray-200);
}
.legal-content p, .legal-content li {
  font-size: .9rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 10px;
}
.legal-content li { margin-left: 20px; list-style: disc; }

/* ─── Map embed ──────────────────────────────────────────────── */
.map-section { padding-block: 0; }
.map-wrapper {
  height: 380px; width: 100%; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md);
  margin-top: 64px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding-top: 72px;
}
.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,.08);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p {
  font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.7;
  margin-bottom: 24px; max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all var(--speed);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-weight: 700; color: var(--white); font-size: .9rem;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .85rem; color: rgba(255,255,255,.5);
  transition: color var(--speed);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-col ul a svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .83rem; color: rgba(255,255,255,.5); margin-bottom: 14px;
}
.footer-contact-item svg { color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,.5); transition: color var(--speed); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 24px; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: .8rem; color: rgba(255,255,255,.35);
  transition: color var(--speed);
}
.footer-bottom-links a:hover { color: var(--white); }

/* ─── Scroll top ─────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: all var(--speed); transform: translateY(10px);
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ─── Animations ─────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding-block: 64px; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-mobile { display: block; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }

  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-bar-inner { gap: 16px; }
  .trust-sep { display: none; }
  .why-visual { grid-template-columns: 1fr 1fr; }
  .why-stat-card:first-child { grid-column: span 2; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-banner .cta-actions { flex-direction: column; align-items: center; }
  .cta-banner .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .contact-form-card { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

.hp-field { position: absolute; left: -9999px; top: -9999px; overflow: hidden; }
.cf-turnstile { margin: 20px 0 8px; }

@keyframes spin { to { transform: rotate(360deg); } }
.btn-spinner-icon { width: 18px; height: 18px; animation: spin .8s linear infinite; }
.mt-12 { margin-top: 48px; }
.map-wrapper iframe { border: 0; }
