/* ============================================================
   LINOVATECH-GB, SARL — Main Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --color-primary:      #0A2472;
  --color-accent:       #1565C0;
  --color-light-blue:   #E3F2FD;
  --color-white:        #FFFFFF;
  --color-grey:         #F5F7FA;
  --color-dark:         #1A1A2E;
  --color-mid-grey:     #6B7280;
  --color-border:       #D1D5DB;
  --color-success:      #10B981;
  --color-warning:      #F59E0B;
  --color-danger:       #EF4444;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Roboto', sans-serif;

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

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

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --header-h:   80px;
}

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

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-grey); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center   { text-align: center; }
.text-white    { color: var(--color-white) !important; }
.text-primary  { color: var(--color-primary) !important; }
.text-accent   { color: var(--color-accent) !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.section { padding: 80px 0; }
.section--grey { background: var(--color-grey); }
.section--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.section--dark h2,
.section--dark h3,
.section--dark p { color: var(--color-white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: .75rem;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--color-mid-grey);
  max-width: 640px;
  margin: 0 auto;
}
.section-header--light p { color: rgba(255,255,255,.75); }
.section-header--light h2 { color: var(--color-white); }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #42A5F5);
  border-radius: var(--radius-full);
  margin: .75rem auto 0;
}
.divider--left { margin-left: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(21,101,192,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,192,.45);
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-blue {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}
.btn-outline-blue:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--color-light-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: rgba(10,36,114,.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.header.scrolled {
  background: rgba(10,36,114,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.header.header--solid {
  background: var(--color-primary);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .08em;
  opacity: .8;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  color: rgba(255,255,255,.88);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: #42A5F5;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { left: .85rem; right: .85rem; }
.nav-links a:hover,
.nav-links a.active { color: var(--color-white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.btn-devis {
  background: linear-gradient(135deg, #42A5F5, var(--color-accent));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(66,165,245,.4);
  white-space: nowrap;
}
.btn-devis:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66,165,245,.55);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-switcher button {
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .25rem .4rem;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: .04em;
}
.lang-switcher button.active,
.lang-switcher button:hover {
  color: var(--color-white);
  background: rgba(255,255,255,.15);
}
.lang-sep {
  color: rgba(255,255,255,.3);
  font-size: .7rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--color-primary);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: .5rem;
  box-shadow: var(--shadow-xl);
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.88);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(255,255,255,.12);
  color: var(--color-white);
}
.mobile-menu .mobile-devis {
  margin-top: .5rem;
  text-align: center;
  background: linear-gradient(135deg, #42A5F5, var(--color-accent));
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-full);
}
.mobile-menu .mobile-lang {
  display: flex;
  gap: .5rem;
  padding: .5rem 1rem 0;
}
.mobile-menu .mobile-lang button {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.mobile-menu .mobile-lang button.active { color: var(--color-white); background: rgba(255,255,255,.15); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.30) 50%, rgba(0,0,0,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #42A5F5;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: .04em;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat-item { color: var(--color-white); }
.hero-stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #42A5F5;
  display: block;
}
.hero-stat-item .stat-label {
  font-size: .8rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-family: var(--font-heading);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
  animation: bounce-arrow 1.8s infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 70px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 580px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb-sep { opacity: .5; }

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.card:hover .card-icon-wrap {
  background: var(--color-primary);
}
.card:hover .card-icon-wrap svg { stroke: var(--color-white); fill: none; }

.card-body { padding: 2rem; }
.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.card-body p {
  color: var(--color-mid-grey);
  font-size: .9rem;
  line-height: 1.65;
}

/* Highlight cards */
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.highlight-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-bottom-color: var(--color-accent);
}
.highlight-card .icon-box {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-card .icon-box svg { color: white; }
.highlight-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.highlight-card p  { font-size: .875rem; color: var(--color-mid-grey); margin: 0; }

/* Service cards */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}
.service-card .svc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.service-card p  { font-size: .875rem; color: var(--color-mid-grey); flex: 1; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--color-accent);
  font-size: .875rem;
  font-weight: 600;
  margin-top: 1.25rem;
  transition: gap var(--transition);
}
.service-card .card-link:hover { gap: .6rem; }

/* Project cards */
.project-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.project-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,36,114,.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-overlay a {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  border: 2px solid rgba(255,255,255,.7);
  padding: .45rem 1.1rem;
  border-radius: var(--radius-full);
  transition: background var(--transition);
}
.project-card-overlay a:hover { background: rgba(255,255,255,.2); }
.project-card-body { padding: 1.5rem; }
.project-card-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tag {
  display: inline-block;
  background: var(--color-light-blue);
  color: var(--color-accent);
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  letter-spacing: .03em;
}
.tag--dark {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Team cards */
.team-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  border: 4px solid var(--color-light-blue);
  transition: border-color var(--transition);
}
.team-card:hover .team-avatar { border-color: var(--color-accent); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.team-card .role {
  color: var(--color-accent);
  font-size: .875rem;
  font-weight: 500;
  font-family: var(--font-heading);
  margin-bottom: .75rem;
}
.team-card .bio { font-size: .83rem; color: var(--color-mid-grey); }
.team-socials {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}
.team-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.team-socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.team-socials a:hover svg { stroke: white; }

/* ============================================================
   ABOUT SPLIT SECTION
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-img-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.badge-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}
.badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
}
.badge-text span { font-size: .75rem; color: var(--color-mid-grey); }

.about-text h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.about-text .lead {
  font-size: 1.05rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.about-features { margin: 1.75rem 0; display: flex; flex-direction: column; gap: .85rem; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.feature-icon svg { color: var(--color-accent); }
.about-feature h4 { font-size: .95rem; margin-bottom: .2rem; }
.about-feature p  { font-size: .875rem; color: var(--color-mid-grey); margin: 0; }

/* ============================================================
   STATISTICS COUNTER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0D3691 50%, var(--color-accent) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::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.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}
.stat-card .counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.stat-card .counter-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #42A5F5;
}
.stat-card .stat-label {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-top: .25rem;
  display: block;
}
.stat-card .stat-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  display: block;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(21,101,192,.3) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--color-white); font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2.5rem; }
.cta-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.cta-info-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}
.cta-info-item svg { color: #42A5F5; flex-shrink: 0; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--color-white);
}
.contact-info-card h3 { color: white; font-size: 1.4rem; margin-bottom: .75rem; }
.contact-info-card > p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: .9rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { color: #42A5F5; }
.contact-item-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .6;
  margin-bottom: .2rem;
}
.contact-item-text span, .contact-item-text a {
  font-size: .925rem;
  color: rgba(255,255,255,.9);
  word-break: break-all;
}
.contact-item-text a:hover { color: #42A5F5; }

.contact-socials {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.contact-socials a:hover { background: rgba(255,255,255,.25); }
.contact-socials a svg { color: white; }

/* Forms */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.form-card > p { color: var(--color-mid-grey); font-size: .9rem; margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--color-dark);
  background: var(--color-grey);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(21,101,192,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-error { color: var(--color-danger); font-size: .78rem; margin-top: .3rem; display: none; }
.form-group.error input,
.form-group.error textarea,
.form-group.error select { border-color: var(--color-danger); }
.form-group.error .form-error { display: block; }
.form-success-msg {
  display: none;
  background: #D1FAE5;
  border: 1px solid #10B981;
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: #065F46;
  font-weight: 500;
  margin-top: 1rem;
  align-items: center;
  gap: .5rem;
}

.maps-placeholder {
  margin-top: 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  background: var(--color-grey);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-mid-grey);
}
.maps-placeholder svg { color: var(--color-mid-grey); }
.maps-placeholder p { font-size: .9rem; }

/* ============================================================
   SUPPORT PAGE
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  background: var(--color-white);
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: var(--color-grey); }
.faq-question.open { background: var(--color-light-blue); color: var(--color-primary); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-question.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
}
.faq-question.open .faq-icon svg { stroke: white; }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem;
  color: var(--color-mid-grey);
}
.faq-answer.open {
  max-height: 400px;
  padding: 1rem 1.5rem 1.5rem;
}

.support-info-box {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: white;
}
.support-info-box h3 { color: white; margin-bottom: 1rem; }
.support-info-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.support-info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.support-info-item svg { color: #42A5F5; flex-shrink: 0; margin-top: 2px; }
.support-info-item div strong { display: block; font-size: .85rem; margin-bottom: .2rem; }
.support-info-item div span { font-size: .8rem; opacity: .75; }

/* Priority badges */
.priority-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.priority-low    { background: #D1FAE5; color: #065F46; }
.priority-medium { background: #FEF3C7; color: #92400E; }
.priority-high   { background: #FEE2E2; color: #991B1B; }
.priority-urgent { background: #EDE9FE; color: #4C1D95; }

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.service-detail-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail-section:last-child { border-bottom: none; }
.service-detail-section:nth-child(even) {
  background: var(--color-grey);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.service-detail-content .service-icon-lg {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.service-detail-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: .75rem;
}
.service-detail-content .lead {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.service-detail-content p { color: var(--color-mid-grey); font-size: .95rem; }

.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.tech-tag {
  background: var(--color-primary);
  color: white;
  font-size: .72rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  letter-spacing: .04em;
}

/* ============================================================
   PROJETS / FILTER
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .55rem 1.4rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  background: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  color: var(--color-mid-grey);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo img {
  height: 50px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  max-width: 280px;
  margin-bottom: 1.25rem;
}
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,.6);
}
.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: .9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a::before {
  content: '';
  display: block;
  width: 0;
  height: 1.5px;
  background: #42A5F5;
  transition: width var(--transition);
}
.footer-links a:hover { color: var(--color-white); padding-left: .4rem; }
.footer-links a:hover::before { width: 12px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item svg { color: #42A5F5; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: white; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }
.footer-lang {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-lang button {
  font-size: .75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255,255,255,.4);
  padding: .2rem .45rem;
  border-radius: 3px;
  transition: var(--transition);
}
.footer-lang button.active,
.footer-lang button:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.whatsapp-float svg { color: white; }
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--color-dark);
  color: white;
  font-size: .78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* ============================================================
   VALUES SECTION
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--color-accent);
}
.value-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}
.value-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.value-card p  { font-size: .875rem; color: var(--color-mid-grey); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-light-blue));
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: .3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px rgba(21,101,192,.3);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .35rem;
}
.timeline-item h4 { font-size: 1rem; margin-bottom: .4rem; }
.timeline-item p  { font-size: .875rem; color: var(--color-mid-grey); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-grid.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split.reverse { direction: ltr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-img-badge { right: 1rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .nav-links,
  .nav-actions { display: none; }

  .hamburger { display: flex; }

  .hero-content h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }

  .highlight-cards { grid-template-columns: 1fr; margin-top: 0; }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

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

  .values-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: 1.25rem; }
  .hero-stat-item .stat-num { font-size: 1.4rem; }

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

  .about-img-wrap img { height: 300px; }
  .about-img-badge { position: static; margin-top: 1rem; border-radius: var(--radius-md); }

  .cta-info { flex-direction: column; align-items: center; }

  .filter-bar { gap: .5rem; }
  .filter-btn { font-size: .8rem; padding: .45rem 1rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .cta-buttons  { flex-direction: column; align-items: center; }
  .stats-grid   { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; justify-content: center; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   SKIP LINK ACCESSIBILITE
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: white;
  padding: .75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ============================================================
   FOCUS OUTLINE AMELIORE
   ============================================================ */
:focus-visible {
  outline: 3px solid #42A5F5;
  outline-offset: 3px;
  border-radius: 3px;
}
button:focus-visible, a:focus-visible { outline: 3px solid #42A5F5; outline-offset: 3px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,36,114,.97);
  backdrop-filter: blur(12px);
  color: white;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  border-top: 2px solid rgba(255,255,255,.1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .9rem; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-banner p a { color: #90CAF9; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-accept {
  background: white;
  color: var(--color-primary);
  border: none;
  padding: .6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: .875rem;
  transition: background .2s, transform .15s;
}
.cookie-accept:hover { background: #E3F2FD; transform: scale(1.03); }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.3);
  padding: .6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  cursor: pointer;
  font-size: .875rem;
  transition: all .2s;
}
.cookie-decline:hover { border-color: white; color: white; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section { background: var(--color-grey); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  opacity: .15;
}
.testimonial-stars { display: flex; gap: .2rem; color: #F59E0B; font-size: 1rem; }
.testimonial-text { font-size: .95rem; line-height: 1.7; color: var(--color-mid-grey); font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .875rem; padding-top: 1rem; border-top: 1px solid var(--color-light-grey); }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--color-dark); font-family: var(--font-heading); }
.testimonial-role { font-size: .8rem; color: var(--color-mid-grey); }

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-section { background: white; padding: 4rem 0; }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-mid-grey);
  letter-spacing: .03em;
  transition: all .3s;
  min-width: 130px;
  text-align: center;
}
.partner-logo:hover { border-color: var(--color-accent); color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1565C0 100%);
  padding: 4rem 0;
  text-align: center;
}
.newsletter-section h2 { color: white; margin-bottom: .75rem; }
.newsletter-section p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: .875rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.newsletter-form button {
  background: white;
  color: var(--color-primary);
  border: none;
  padding: .875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.newsletter-form button:hover { background: #E3F2FD; transform: scale(1.03); }
@media (max-width: 520px) { .newsletter-form { flex-direction: column; } .newsletter-form button { width: 100%; } }

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  z-index: 99999;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.page-transition-overlay.exit { transform: translateY(0); }

/* ============================================================
   STYLES 404
   ============================================================ */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; }
.error-code {
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: float404 3s ease-in-out infinite;
}
@keyframes float404 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.error-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* ============================================================
   SECTION TAG
   ============================================================ */
.section-tag {
  display: inline-block;
  background: var(--color-light-blue);
  color: var(--color-accent);
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: .75rem;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { padding: 80px 0; }
.legal-page .legal-toc {
  background: var(--color-grey);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  border-left: 4px solid var(--color-accent);
}
.legal-page .legal-toc h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--color-primary); }
.legal-page .legal-toc ol { padding-left: 1.25rem; }
.legal-page .legal-toc li { margin-bottom: .4rem; font-size: .9rem; }
.legal-page .legal-toc a { color: var(--color-accent); text-decoration: underline; }
.legal-page .legal-toc a:hover { color: var(--color-primary); }
.legal-section { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--color-border); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 1.4rem; color: var(--color-primary); margin-bottom: 1.25rem; padding-top: 1rem; }
.legal-section h3 { font-size: 1.1rem; margin: 1.25rem 0 .75rem; }
.legal-section p, .legal-section li { font-size: .95rem; color: var(--color-mid-grey); line-height: 1.8; }
.legal-section ul, .legal-section ol { padding-left: 1.5rem; margin: .75rem 0; }
.legal-section li { margin-bottom: .4rem; }
.legal-update { background: var(--color-light-blue); border-radius: var(--radius-sm); padding: .75rem 1.25rem; font-size: .85rem; color: var(--color-accent); font-weight: 500; display: inline-block; margin-bottom: 2rem; }

/* ============================================================
   LANGUAGE SWITCHER IMPROVED
   ============================================================ */
.lang-switcher button[aria-pressed="true"],
.lang-switcher button.active {
  color: white;
  font-weight: 700;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  padding: .15rem .4rem;
}
.lang-switcher button {
  background: none;
  border: none;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  font-size: .8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .05em;
  transition: color .2s, background .2s;
  padding: .15rem .4rem;
  border-radius: 4px;
}
.lang-switcher button:hover { color: white; }
.mobile-lang button {
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: var(--radius-full);
  transition: all .2s;
}
.mobile-lang button.active,
.mobile-lang button[aria-pressed="true"] {
  background: white;
  color: var(--color-primary);
  border-color: white;
}
.mobile-lang button:hover { color: white; border-color: white; }

/* ============================================================
   RESPONSIVE COMPLÉMENTAIRE
   ============================================================ */

/* Tablette — grille 2 colonnes pour les cartes services */
@media (max-width: 768px) and (min-width: 480px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Témoignages : 1 colonne sur mobile */
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .partners-grid { gap: 1rem 1.5rem; }
  .partner-logo { min-width: 100px; padding: .75rem 1.25rem; font-size: 1rem; }
}

/* Très petits écrans (320px) */
@media (max-width: 380px) {
  .hero-content h1 { font-size: 1.5rem; }
  .btn { padding: .65rem 1.25rem; font-size: .85rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .hero-stat-item .stat-num { font-size: 1.2rem; }
  .section { padding: 40px 0; }
  .testimonial-card { padding: 1.25rem; }
}

/* WhatsApp + back-to-top : éviter le chevauchement */
@media (max-width: 768px) {
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
  .back-to-top { bottom: 5.5rem; right: 1.25rem; }
  .cookie-banner { padding: 1rem 1.25rem; }
}

/* Navigation mobile : lien actif visible */
.mobile-menu a.active {
  color: white;
  font-weight: 700;
  border-left: 3px solid white;
  padding-left: calc(1.5rem - 3px);
}

/* Hero : image de fond bien cadrée sur mobile */
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .hero-bg { background-position: center center; }
  .hero-content { padding: 0 .5rem; }
  .hero-badge { font-size: .7rem; }
}

/* Formulaires : labels plus lisibles sur mobile */
@media (max-width: 480px) {
  .form-group label { font-size: .85rem; }
  .form-card { padding: 1.5rem 1.25rem; }
  .newsletter-section { padding: 2.5rem 0; }
  .partners-section { padding: 2.5rem 0; }
}
