/* ===========================
   NACIRECK PLUS – styles.css
   =========================== */

:root {
  --blue-dark: #0a1628;
  --blue-mid: #1a3a6e;
  --blue-primary: #1e56c9;
  --blue-light: #3b82f6;
  --blue-accent: #60a5fa;
  --teal: #06b6d4;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gradient-main: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #1e56c9 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(26, 58, 110, 0.8) 60%, rgba(30, 86, 201, 0.5) 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-blue: 0 8px 30px rgba(30, 86, 201, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.section-label.invert {
  color: var(--blue-accent);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.invert {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-subtitle.invert {
  color: rgba(255, 255, 255, 0.75);
}

.section-subtitle.center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--blue-primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: #1a4ab5;
  border-color: #1a4ab5;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(30, 86, 201, 0.45);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ========== TOP BAR ========== */
.topbar {
  background: var(--blue-dark);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
}

.topbar-item:hover {
  color: var(--blue-accent);
}

.topbar-tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-style: italic;
}

/* ========== NAVBAR ========== */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.navbar-logo img {
  height: 160px;
  width: auto;
  object-fit: contain;
  transform: translateY(-5px);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue-primary);
  background: var(--gray-100);
}

.nav-link.active {
  color: var(--blue-accent);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-primary);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  margin-left: 8px;
}

.nav-btn svg {
  width: 14px;
  height: 14px;
}

.nav-btn:hover {
  background: #1a4ab5;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.navbar-tagline {
  color: var(--gray-600);
  font-size: 0.85rem;
  font-style: italic;
  white-space: nowrap;
  flex: 1;
  text-align: center;
  margin: 0 16px;
}

.navbar-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
}

.navbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-item:hover {
  color: var(--blue-primary);
}

.navbar-item svg {
  width: 14px;
  height: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-main);
}


.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  gap: 40px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  max-width: 50%;
}

.hero-cadre {
  background: #ffffff;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 500px;
  transform: rotate(1deg);
  transition: transform 0.4s ease;
}

.hero-cadre.single-image {
  display: block;
}

.hero-cadre:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-cadre img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-cadre img:first-child {
  grid-column: span 2;
  height: 280px;
}

.hero-cadre.single-image img {
  height: 400px;
}

/* Decorative circles */
.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 86, 201, 0.3) 0%, transparent 70%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 80px 20px 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 86, 201, 0.3);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: var(--blue-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-accent {
  background: linear-gradient(90deg, var(--blue-accent), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  font-size: 1.4rem;
  color: var(--blue-accent);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  opacity: 0.5;
  animation: bounce 2s infinite;
}

.hero-scroll-hint svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ========== MODEL SECTION ========== */
.section-model {
  padding: 100px 0;
  background: var(--gray-50);
  position: relative;
}

.section-model .section-title {
  text-align: center;
}

.section-model .section-label {
  text-align: center;
}

.section-model .section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-model::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--teal));
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.model-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--teal));
  transform: scaleX(0);
  transition: var(--transition);
}

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

.model-card:hover::before {
  transform: scaleX(1);
}

.model-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.model-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.model-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.model-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(26, 58, 110, 0.75) 60%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ========== RÉALISATIONS ========== */
.section-realisations {
  padding: 100px 0;
  background: var(--white);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 18px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.filter-tab.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: none;
}

/* ========== SECTION CTA ========== */
.section-cta {
  padding: 80px 0;
  background: var(--gradient-main);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  color: var(--white);
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ========== AVANTAGES ========== */
.section-avantages {
  padding: 100px 0;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

.section-avantages::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 86, 201, 0.4) 0%, transparent 70%);
}

.avantages-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.avantage-list {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.avantage-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.avantage-check {
  width: 26px;
  height: 26px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}

.avantage-list li strong {
  display: block;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}

.avantage-list li p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.avantage-card-stack {
  position: relative;
  height: 480px;
}

.avantage-card-big {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 340px;
}

.avantage-card-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avantage-card-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
  height: 220px;
}

.avantage-card-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avantage-badge-float {
  position: absolute;
  top: 200px;
  right: 10px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 0.85rem;
  white-space: nowrap;
}

.avantage-badge-float svg {
  width: 20px;
  height: 20px;
  color: var(--blue-primary);
}


/* ========== TÉMOIGNAGES ========== */
.section-temoignages {
  padding: 100px 0;
  background: var(--white);
}

.section-temoignages .section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 16px;
}

.section-temoignages .section-label {
  text-align: center;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.temoignage-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.temoignage-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.temoignage-card p {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: 1.1rem;
}

.temoignage-author strong {
  display: block;
  color: var(--blue-dark);
  font-weight: 700;
}

.temoignage-author span {
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ========== À PROPOS ========== */
.section-apropos {
  padding: 80px 0;
  background: var(--blue-dark);
}

.apropos-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.apropos-logo {
  max-width: 250px;
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--white);
}

.apropos-middle h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.accent-text {
  color: #60a5fa;
}

.apropos-middle p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.apropos-right h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.info-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--blue-accent);
  margin-top: 2px;
}

/* ========== CONTACT ========== */
.section-contact {
  padding: 100px 0;
  background: var(--gray-50);
}

.section-contact .section-title {
  text-align: center;
}

.section-contact .section-label {
  text-align: center;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 86, 201, 0.12);
}

.form-group textarea {
  resize: vertical;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.contact-info-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-whatsapp {
  margin-top: 8px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  width: 100%;
  transition: var(--transition);
}

.whatsapp-btn svg {
  width: 22px;
  height: 22px;
}

.whatsapp-btn:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* ========== FOOTER GRID ========== */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--blue-accent);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue-accent);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 60px 24px 48px;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  background: var(--blue-primary);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue-accent);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--blue-accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.footer-devarch {
  color: var(--blue-accent);
  font-weight: 600;
}

.footer-devarch:hover {
  text-decoration: underline;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: #1a4ab5;
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  background: #1db954;
  transform: scale(1.12);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-content {
    max-width: 100%;
    align-items: center;
    padding: 60px 20px 20px;
  }

  .hero-visual {
    max-width: 100%;
    padding: 20px;
  }

  .avantages-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .avantage-card-stack {
    height: 300px;
  }

  .avantage-card-big {
    height: 220px;
  }

  .avantage-card-small {
    height: 160px;
  }

  .avantage-badge-float {
    top: 120px;
  }

  .apropos-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-tagline {
    display: none;
  }

  .topbar-contacts {
    flex-wrap: wrap;
    gap: 12px;
  }

  .topbar-item {
    font-size: 0.75rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

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

  .nav-link {
    text-align: center;
    padding: 12px;
  }

  .nav-btn {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .navbar-logo img {
    height: 65px;
  }

  .navbar-inner {
    height: 70px;
  }

  .hero {
    min-height: calc(100vh - 70px);
  }

  .hero-content {
    width: 100%;
    padding: 40px 24px 20px;
  }

  .hero-visual {
    padding: 0 20px 40px;
  }

  .hero-cadre img {
    height: 120px;
  }
  
  .hero-cadre img:first-child {
    height: 180px;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

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

  .filter-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-tab {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .contact-form-box {
    padding: 24px;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .section-label {
    font-size: 0.7rem;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .page-hero-subtitle {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 10px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .topbar-inner {
    flex-direction: row;
    gap: 8px;
    padding: 0 12px;
    justify-content: space-between;
  }

  .topbar-tagline {
    display: none;
  }

  .topbar-contacts {
    width: auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .topbar-item {
    font-size: 0.7rem;
    gap: 3px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    padding: 0;
    border-radius: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .topbar-item:hover {
    background: transparent;
    color: var(--blue-accent);
  }

  .topbar-item svg {
    width: 13px;
    height: 13px;
    display: none;
  }

  .navbar-inner {
    height: 65px;
    padding: 0 12px;
  }

  .navbar-logo img {
    height: 55px;
  }

  .hamburger {
    display: flex;
    padding: 6px;
  }

  .hamburger span {
    width: 22px;
    height: 2.5px;
    background: var(--blue-dark);
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: calc(100vh - 65px);
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #1e56c9 100%);
  }

  .hero-content {
    width: 100%;
    padding: 40px 16px 20px;
    text-align: center;
    align-items: center;
  }

  .hero-visual {
    padding: 0 16px 40px;
  }

  .hero-badge {
    padding: 8px 16px;
    font-size: 0.68rem;
    margin-bottom: 20px;
    background: rgba(96, 165, 250, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.5);
    display: inline-block;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
  }

  .hero-cta {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 48px;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
  }

  .btn-primary {
    box-shadow: 0 6px 20px rgba(30, 86, 201, 0.35);
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
  }

  .hero-stats {
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-num {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .section-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 32px;
  }

  .model-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .model-card {
    padding: 20px;
    border-radius: 10px;
    background: var(--white);
  }

  .model-icon {
    width: 42px;
    height: 42px;
  }

  .model-icon svg {
    width: 24px;
    height: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-tabs {
    flex-direction: column;
    gap: 8px;
  }

  .filter-tab {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.76rem;
    border-radius: 6px;
    font-weight: 600;
  }

  .page-hero {
    height: 45vh;
  }

  .page-hero-title {
    font-size: 1.7rem;
  }

  .page-hero-subtitle {
    font-size: 0.92rem;
  }

  .section-cta {
    padding: 48px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #1e56c9 100%);
  }

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

  .cta-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .cta-subtitle {
    font-size: 0.92rem;
    margin-bottom: 28px;
  }

  .avantages-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .avantage-list li {
    gap: 12px;
  }

  .avantage-check {
    min-width: 28px;
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .footer-links ul li {
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 0.82rem;
  }

  .contact-form-box {
    padding: 20px;
    border-radius: 10px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .form-row {
    gap: 12px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-item {
    padding: 18px;
  }

  .contact-info-item svg {
    width: 32px;
    height: 32px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 28px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .hero-scroll-hint {
    display: none;
  }
}