*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #122c48;
  --primary-dark: #0a1d30;
  --primary-light: #243b53;
  --primary-bg: #f0ede8;
  --primary-glow: rgba(18,44,72,.12);
  --dark: #122c48;
  --slate: #4d6075;
  --slate-light: #8b97a4;
  --bg: #ffffff;
  --bg-alt: #f5f3ef;
  --bg-warm: #f1f1f1;
  --accent: #c2894b;
  --accent-light: #d4a66a;
  --accent-glow: rgba(194,137,75,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --nav-height: 80px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadeIn .4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-light); border-radius: 3px; }

/* ========== SCROLL PROGRESS ========== */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--primary);
  z-index: 1001; width: 0%;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: auto; height: auto; max-width: 100%; }
.logo-vertical .logo-img { width: 120px; height: auto; display: block; }
@media (max-width: 768px) {
  .logo-vertical .logo-img { width: 90px; height: auto; }
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--slate);
  transition: color var(--transition); white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 8px 20px;
  border-radius: 50px; font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--bg-warm) 0%, #e8e4da 50%, var(--bg-warm) 100%);
  padding: 80px 0 56px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -60%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,44,72,.06) 0%, transparent 70%);
}
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900;
  letter-spacing: -.02em; margin-bottom: 12px; position: relative;
}
.page-header h1 .highlight {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.page-header p {
  color: var(--slate); font-size: 1rem; max-width: 520px;
  margin: 0 auto; position: relative;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .8rem; color: var(--slate-light); margin-bottom: 16px;
}
.breadcrumb a { color: var(--primary); font-weight: 500; }

/* ========== PAGE CONTENT ========== */
.page-content { padding: 64px 0; }
@media (max-width: 768px) { .page-content { padding: 40px 0; } }

/* ========== SECTIONS ========== */
section { padding: 72px 0; }
@media (max-width: 768px) { section { padding: 48px 0; } }
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--primary); margin-bottom: 12px;
  background: var(--primary-bg); padding: 4px 14px; border-radius: 50px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.2;
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  color: var(--slate); font-size: 1rem; max-width: 580px;
  line-height: 1.7; margin-bottom: 40px;
}
.section-desc.center { margin: 0 auto 40px; text-align: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; transition: var(--transition); cursor: pointer;
  border: none; font-family: var(--font); text-align: center;
  min-height: 48px;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px var(--primary-glow); }
.btn-outline {
  background: transparent; color: var(--dark);
  border: 2px solid #e2e8f0;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-alt); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; min-height: 56px; }

/* ========== HERO ========== */
.hero {
  min-height: 100dvh;
  display: flex; align-items: center;
  background: linear-gradient(160deg, var(--bg-warm) 0%, #e8e4da 35%, var(--bg-warm) 100%);
  position: relative; overflow: hidden;
  padding: 72px 0 40px;
}
.hero-bg-shape {
  position: absolute; top: -40%; right: -20%; width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,44,72,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-shape-2 {
  position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,137,75,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(18,44,72,.08); color: var(--primary);
  font-size: .8rem; font-weight: 600; padding: 6px 16px;
  border-radius: 50px; margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--slate);
  max-width: 500px; line-height: 1.7; margin-bottom: 12px;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 500; color: var(--slate);
  background: rgba(255,255,255,.7); padding: 5px 12px;
  border-radius: 50px; backdrop-filter: blur(4px);
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats-row {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat-nb { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.hero-stat-label { font-size: .8rem; color: var(--slate-light); }

/* Mini formulaire hero */
.hero-form-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 32px; box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,.04);
}
.hero-form-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 4px;
}
.hero-form-card p {
  color: var(--slate); font-size: .85rem; margin-bottom: 20px;
}
.hero-form .form-group { margin-bottom: 12px; }
.hero-form .form-group label {
  display: block; font-size: .8rem; font-weight: 600;
  margin-bottom: 4px; color: var(--dark);
}
.hero-form .form-group input,
.hero-form .form-group select {
  width: 100%; padding: 11px 14px; border: 2px solid #e2e8f0;
  border-radius: 10px; font-family: var(--font); font-size: .9rem;
  transition: var(--transition); background: var(--bg); outline: none;
  -webkit-appearance: none; appearance: none;
}
.hero-form .form-group input:focus,
.hero-form .form-group select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow);
}
.hero-form .form-group .error {
  color: #ef4444; font-size: .75rem; margin-top: 3px; display: none;
}
.hero-form .form-group.invalid input,
.hero-form .form-group.invalid select { border-color: #ef4444; }
.hero-form .form-group.invalid .error { display: block; }
.hero-form-submit {
  width: 100%; justify-content: center; background: var(--primary);
  color: #fff; padding: 14px; font-size: 1rem; margin-top: 4px;
  min-height: 50px;
}
.hero-form-submit:hover { background: var(--primary-dark); }
.hero-form-note {
  text-align: center; font-size: .75rem; color: var(--slate-light);
  margin-top: 12px;
}
.hero-form-success {
  display: none; text-align: center; padding: 32px 16px;
}
.hero-form-success.show { display: block; }
.hero-form-success .icon { font-size: 2.5rem; margin-bottom: 12px; }
.hero-form-success h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.hero-form-success p { color: var(--slate); font-size: .85rem; }

/* ========== TRUST BANNER ========== */
.trust-banner {
  background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.04);
  padding: 20px 0;
}
.trust-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 500; color: var(--slate);
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* ========== SERVICES ========== */
.bg-alt { background: var(--bg-alt); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--slate); font-size: .88rem; line-height: 1.65; margin-bottom: 16px; }
.service-card .btn-small {
  color: var(--primary); font-weight: 600; font-size: .85rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.service-card .btn-small:hover { gap: 10px; }

/* ========== WHY ========== */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.why-card {
  text-align: center; padding: 28px 16px; border-radius: var(--radius);
  background: var(--bg-alt); transition: var(--transition);
}
.why-card:hover { background: var(--primary-bg); transform: translateY(-2px); }
.why-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.why-card p { color: var(--slate); font-size: .82rem; line-height: 1.6; }
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px; margin-top: 40px; padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.stat-item { text-align: center; }
.stat-item h3 { font-size: 1.75rem; font-weight: 800; }
.stat-item p { font-size: .82rem; opacity: .8; }

/* ========== ABOUT ========== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about-image {
  background: linear-gradient(135deg, var(--bg-warm), #e8e4da);
  border-radius: var(--radius-lg); padding: 40px; text-align: center;
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover; position: absolute;
  top: 0; left: 0;
}
.about-image.has-img {
  background: none; padding: 0;
  min-height: 300px;
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px;
}
.about-value {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .88rem;
}
.about-value .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0;
}
/* ========== ZONE ========== */
.zone-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px; margin-top: 28px;
}
.zone-tag {
  background: var(--bg-alt); padding: 8px 14px; border-radius: 50px;
  text-align: center; font-weight: 500; font-size: .85rem;
  transition: var(--transition);
}
.zone-tag.highlight { background: var(--primary); color: #fff; }
.zone-tag:not(.highlight):hover { background: var(--primary-bg); }
.zone-note {
  margin-top: 28px; padding: 16px 20px; background: var(--primary-bg);
  border-radius: var(--radius); color: var(--primary-dark);
  font-weight: 500; display: flex; align-items: center; gap: 10px;
  font-size: .9rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials-carousel {
  position: relative; overflow: hidden;
}
.carousel-track {
  display: flex; gap: 16px; transition: transform .5s ease;
}
.testimonial-card {
  flex: 0 0 calc((100% - 32px) / 3); padding: 20px;
  background: var(--bg-alt); border-radius: var(--radius-lg);
  border: 1px solid transparent; box-sizing: border-box;
}
.testimonial-card > * { margin-left: 8px; margin-right: 8px; }
@media (max-width: 768px) {
  .testimonial-card { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 480px) {
  .testimonial-card { flex: 0 0 100%; }
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: .9rem; color: var(--dark); line-height: 1.7;
  font-style: italic; margin-bottom: 16px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .88rem; }
.testimonial-role { color: var(--slate-light); font-size: .78rem; }
.carousel-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 20px;
}
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #e2e8f0; background: #fff;
  font-size: 1rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: var(--transition); color: var(--dark);
}
.carousel-btn:hover { border-color: var(--primary); color: var(--primary); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e2e8f0; border: none; cursor: pointer;
  padding: 0; transition: var(--transition);
}
.carousel-dot.active { background: var(--primary); transform: scale(1.2); }

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid #e2e8f0; border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--dark);
  text-align: left; transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .arrow {
  font-size: 1.1rem; transition: transform var(--transition);
  color: var(--slate-light); flex-shrink: 0;
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 20px; }
.faq-item.active .faq-answer { max-height: 400px; padding: 0 20px 18px; }
.faq-answer p { color: var(--slate); font-size: .88rem; line-height: 1.7; }
.faq-answer a { color: var(--primary); font-weight: 600; }

/* ========== GALERIE ========== */
#galerie { background: var(--bg); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ========== CTA ========== */
#cta {
  background: var(--bg-warm);
  color: var(--dark); text-align: center; padding: 64px 0;
}
#cta .section-title { color: var(--dark); }
#cta .section-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
#cta .section-desc { color: var(--slate); margin: 0 auto 32px; }
#cta .section-label { background: rgba(18,44,72,.08); color: var(--primary); }
#cta .btn-white { background: var(--primary); color: #fff; }
#cta .btn-white:hover { background: var(--primary-dark); }
#cta .btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
#cta .btn-ghost:hover { background: var(--primary); color: #fff; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; border-radius: var(--radius);
  background: var(--bg-alt); transition: var(--transition);
  border-left: 3px solid var(--primary);
}
.contact-card:hover { background: var(--primary-bg); }
.contact-card h4 { font-size: .88rem; font-weight: 700; margin-bottom: 1px; }
.contact-card p { color: var(--slate); font-size: .82rem; }
.contact-form {
  background: var(--bg-alt); padding: 28px; border-radius: var(--radius-lg);
}
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  margin-bottom: 4px; color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 2px solid #e2e8f0;
  border-radius: 10px; font-family: var(--font); font-size: .9rem;
  transition: var(--transition); background: #fff; outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group .error {
  color: #ef4444; font-size: .78rem; margin-top: 3px; display: none;
}
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea { border-color: #ef4444; }
.form-group.invalid .error { display: block; }
.form-success {
  display: none; text-align: center; padding: 32px 16px;
}
.form-success.show { display: block; }
.form-success .icon { font-size: 2.5rem; margin-bottom: 10px; }
.form-success h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.form-success p { color: var(--slate); font-size: .88rem; }
.btn-submit {
  width: 100%; justify-content: center; background: var(--primary);
  color: #fff; padding: 14px; font-size: 1rem; min-height: 50px;
}
.btn-submit:hover { background: var(--primary-dark); }

/* ========== FOOTER ========== */
footer {
  background: var(--dark); color: #fff; padding: 16px 0 8px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 24px; margin-bottom: 12px;
}
.footer-brand .logo-text { font-size: 1.3rem; }
.footer-brand .logo-text span { -webkit-text-fill-color: rgba(255,255,255,.4); }
.footer-brand p {
  color: rgba(255,255,255,.45); font-size: .82rem;
  margin-top: 8px; max-width: 300px; line-height: 1.5;
}
footer h4 { font-size: .85rem; font-weight: 700; margin-bottom: 10px; color: #fff; }

footer ul { display: flex; flex-direction: column; gap: 4px; }
footer ul a {
  color: rgba(255,255,255,.45); font-size: .82rem;
  transition: color var(--transition);
}
footer ul a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.3);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 16px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: var(--transition);
}
.whatsapp-float svg { width: 100%; height: 100%; fill: #fff; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,.5); }

/* ========== MOBILE BOTTOM BAR ========== */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: #fff; padding: 8px 12px;
  box-shadow: 0 -2px 20px rgba(0,0,0,.1);
  gap: 8px;
}
.mobile-bar a, .mobile-bar button {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 12px; border-radius: 10px; font-weight: 600;
  font-size: .8rem; font-family: var(--font); border: none; cursor: pointer;
  transition: var(--transition); text-align: center; min-height: 44px;
}
.mobile-bar .mb-phone { background: var(--dark); color: #fff; }
.mobile-bar .mb-whatsapp { background: #25d366; color: #fff; }
.mobile-bar .mb-quote { background: var(--primary); color: #fff; }
.mobile-bar .mb-phone:hover,
.mobile-bar .mb-whatsapp:hover,
.mobile-bar .mb-quote:hover { opacity: .9; }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; bottom: 140px; right: 16px; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; opacity: 0; pointer-events: none;
  transition: var(--transition); box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary); }

/* ========== SCROLL ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== ENTRANCE ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}
.hero-content .hero-badge { animation: fadeUp .5s ease both; }
.hero-content h1 { animation: fadeUp .5s .1s ease both; }
.hero-content .hero-sub { animation: fadeUp .5s .2s ease both; }
.hero-content .hero-tags { animation: fadeUp .5s .3s ease both; }
.hero-content .hero-buttons { animation: fadeUp .5s .4s ease both; }
.hero-content .hero-stats-row { animation: fadeUp .5s .5s ease both; }
.hero-form-card { animation: scaleIn .6s .3s ease both; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: auto; padding: 72px 0 32px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats-row { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero h1 { text-align: center; }
  .hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-stat { text-align: center; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: flex; }
  .whatsapp-float { bottom: 72px; }
  .back-to-top { bottom: 130px; }
  body { padding-bottom: 64px; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #fff; flex-direction: column; padding: 80px 28px 28px;
    gap: 20px; box-shadow: -4px 0 20px rgba(0,0,0,.08);
    transition: right var(--transition); align-items: flex-start;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .page-header { padding: 64px 0 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 16px; }
  .stat-item h3 { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .container { padding: 0 16px; }
  section { padding: 40px 0; }
  #cta { padding: 48px 0; }
  .hero-form-card { padding: 24px; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { gap: 16px; }
  .hero-stat-nb { font-size: 1.2rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
}
