/* ===== BraziClean — Design System ===== */

:root {
  --navy: #0A1F5C;
  --navy-light: #122B6E;
  --navy-dark: #071542;
  --gold: #E8A817;
  --gold-light: #F5C94D;
  --gold-dark: #C48E0F;
  --white: #FFFFFF;
  --off-white: #F7F8FC;
  --gray-50: #F0F2F8;
  --gray-100: #E1E4ED;
  --gray-200: #C3C9D9;
  --gray-400: #8A92A6;
  --gray-600: #555E73;
  --gray-800: #2A3045;
  --text: #1E2A3A;
  --text-light: #6B7280;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10,31,92,0.08);
  --shadow-lg: 0 12px 48px rgba(10,31,92,0.12);
  --transition: 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', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

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

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; transition: var(--transition); letter-spacing: 0.02em;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,168,23,0.35); }
.btn-secondary { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px;
}
.section-label svg { width: 16px; height: 16px; fill: var(--gold); }

.section-subtitle {
  font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin-top: 12px;
}
.section-subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 100px 0; position: relative; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10,31,92,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08); transition: var(--transition);
}
.header.scrolled { background: rgba(10,31,92,0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 120px; }
.header-logo img { height: 110px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--white); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.header-phone svg { width: 16px; height: 16px; fill: var(--gold); }
.header-phone:hover { color: var(--gold); }
.header-cta { padding: 10px 24px; font-size: 0.85rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 100px; background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  position: relative; overflow: hidden; min-height: 90vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(232,168,23,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(232,168,23,0.15);
  border: 1px solid rgba(232,168,23,0.3); border-radius: 50px; padding: 6px 16px;
  margin-bottom: 24px; font-size: 0.85rem; color: var(--gold-light);
}
.hero-stars { display: flex; gap: 2px; }
.hero-stars svg { width: 14px; height: 14px; fill: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 520px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-phone-btn { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; }
.hero-phone-btn .icon-circle {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.hero-phone-btn:hover .icon-circle { background: var(--gold); }
.hero-phone-btn svg { width: 18px; height: 18px; fill: var(--white); }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 520px; object-fit: cover; }
.hero-float-card {
  position: absolute; bottom: -20px; left: -30px; background: var(--white);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; animation: float 3s ease-in-out infinite;
}
.hero-float-card .float-icon {
  width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
}
.hero-float-card .float-icon svg { width: 22px; height: 22px; fill: var(--white); }
.hero-float-card .float-number { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.hero-float-card .float-label { font-size: 0.8rem; color: var(--text-light); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== ABOUT ===== */
.about { background: var(--off-white); }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-lg); width: 100%; height: 480px; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-image .accent-border {
  position: absolute; top: -12px; left: -12px; width: 100%; height: 100%;
  border: 3px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.about-text p { margin-top: 16px; color: var(--text-light); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.counter-item { text-align: center; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.counter-number { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.counter-number .prefix { color: var(--gold); }
.counter-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
.counter-stars { display: flex; justify-content: center; gap: 2px; margin-bottom: 4px; }
.counter-stars svg { width: 16px; height: 16px; fill: var(--gold); }

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-card-img { height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 24px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-dark); font-weight: 600; font-size: 0.9rem;
}
.service-link svg { width: 16px; height: 16px; fill: var(--gold-dark); transition: var(--transition); }
.service-link:hover { color: var(--navy); }
.service-link:hover svg { fill: var(--navy); transform: translateX(4px); }

/* ===== PROCESS ===== */
.process { background: var(--off-white); }
.process-header { text-align: center; margin-bottom: 60px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 40px; left: 15%; width: 70%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--navy), var(--gold));
  opacity: 0.3; z-index: 0;
}
.process-step {
  text-align: center; position: relative; z-index: 1;
  padding: 30px 20px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: var(--transition);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 28px; height: 28px; fill: var(--gold); }
.step-number {
  position: absolute; top: 12px; right: 16px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--gold); color: var(--navy);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-light); }

/* ===== WHY CHOOSE US ===== */
.why-us { background: var(--white); }
.why-us-header { text-align: center; margin-bottom: 60px; }
.why-us-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 32px; border-radius: var(--radius-lg); background: var(--off-white);
  border: 1px solid var(--gray-100); transition: var(--transition); text-align: center;
}
.why-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card-icon {
  width: 60px; height: 60px; border-radius: var(--radius); margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
}
.why-card-icon svg { width: 26px; height: 26px; fill: var(--gold); }
.why-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { font-size: 0.88rem; color: var(--text-light); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--off-white); }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 16px; scrollbar-width: none; }
.testimonials-slider::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 380px; scroll-snap-align: start; background: var(--white);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
  border: 1px solid var(--gray-100); transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--gold); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-stars svg { width: 18px; height: 18px; fill: var(--gold); }
.testimonial-text { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold)); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-location { font-size: 0.8rem; color: var(--text-light); }
.google-badge { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.google-badge svg { width: 16px; height: 16px; }
.google-badge span { font-size: 0.75rem; color: var(--gray-400); }

/* ===== AREAS ===== */
.areas { background: var(--white); }
.areas-header { text-align: center; margin-bottom: 48px; }
.areas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.area-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: var(--off-white); border: 1px solid var(--gray-100);
  border-radius: 50px; font-weight: 500; font-size: 0.95rem; transition: var(--transition);
}
.area-tag svg { width: 16px; height: 16px; fill: var(--gold); }
.area-tag:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,168,23,0.1), transparent); border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT FORM ===== */
.contact { background: var(--off-white); }
.contact .container { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 600px; margin: 0 auto; gap: 30px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-light); margin-bottom: 32px; }
.contact-details { display: inline-flex; flex-direction: column; gap: 20px; align-items: center; margin: 0 auto; text-align: left; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius); flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; fill: var(--gold); }
.contact-item-label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-value { font-weight: 600; color: var(--navy); }
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100);
}
.contact-form-wrap h3 { text-align: center; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; transition: var(--transition);
  background: var(--off-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,168,23,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 20px; width: 100%; padding: 16px; font-size: 1rem; border-radius: var(--radius); }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 110px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; font-family: 'Poppins', sans-serif; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
  background: var(--navy-dark); z-index: 2000; padding: 80px 32px 32px;
  transition: 0.4s ease; box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}
.mobile-nav.active { right: 0; }
.mobile-nav a { display: block; color: var(--white); padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; background: none; color: var(--white); font-size: 1.5rem; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; pointer-events: none; transition: var(--transition); }
.mobile-overlay.active { opacity: 1; pointer-events: all; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container, .about .container, .contact .container { grid-template-columns: 1fr; }
  .services-grid, .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-image { order: -1; }
  .hero-image img { height: 360px; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .services-grid, .why-us-grid, .counters { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-float-card { left: 0; bottom: -16px; }
  .about-image .accent-border { display: none; }
  .about-image img { height: 320px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .testimonial-card { flex: 0 0 300px; }
  .header-phone { display: none; }
  .header .container { height: 100px; }
  .header-logo img { height: 90px; }
}
