/* ===========================
   CRT — Concessionária Rio Teresópolis
   Font: Raleway | Colors: Navy #0f2440, Orange #e07b20
   =========================== */

:root {
  --navy: #0f2440;
  --navy-dark: #081729;
  --orange: #e07b20;
  --orange-light: #f5a045;
  --bg: #f6f6f6;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #e0e0e0;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===========================
   Cookie Banner
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-dark);
  color: #fff;
  z-index: 9999;
  padding: 16px 24px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-content p { font-size: 0.875rem; flex: 1; min-width: 200px; }
.cookie-content a { color: var(--orange-light); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }
.btn-cookie-accept {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
}
.btn-cookie-reject {
  background: transparent;
  color: #ccc;
  border: 1px solid #ccc;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
}

/* ===========================
   Header
   =========================== */
.header {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.logo-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--orange-light); }
.header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-tel:hover { background: var(--orange-light); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===========================
   Hero
   =========================== */
.hero {
  background: var(--navy);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(224,123,32,0.08);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.hero-badge {
  display: inline-block;
  background: rgba(224,123,32,0.18);
  color: var(--orange-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-text h1 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.hero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Hero Form */
.hero-form-wrap {
  position: relative;
}
.hero-form {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.hero-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-sub {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--orange);
}
.form-consent a { color: var(--orange); text-decoration: underline; }
.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.btn-submit:hover { background: var(--orange-light); }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #166534;
}
.form-success.show { display: flex; }

/* ===========================
   Trust Bar
   =========================== */
.trust-bar {
  background: var(--orange);
  padding: 18px 0;
}
.trust-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ===========================
   Services
   =========================== */
.services {
  padding: 80px 0;
  background: var(--bg);
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-4px); }
.svc-icon {
  width: 52px;
  height: 52px;
  background: rgba(224,123,32,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   Benefits
   =========================== */
.benefits {
  padding: 80px 0;
  background: var(--white);
}
.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.benefits-text h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}
.benefits-text > p {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--navy);
  color: var(--orange-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}
.step-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.step-text p {
  font-size: 0.875rem;
  color: var(--muted);
}
.aside-card {
  background: var(--navy);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
}
.aside-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.aside-card > p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 24px;
  line-height: 1.6;
}
.btn-orange {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  transition: background 0.2s;
  margin-bottom: 20px;
}
.btn-orange:hover { background: var(--orange-light); }
.aside-divider {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}
.aside-phone {
  display: block;
  color: var(--orange-light);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.aside-phone:hover { color: #fff; }

/* ===========================
   About
   =========================== */
.about {
  padding: 80px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text h2 {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.7;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-card strong {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.about-card span {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
}

/* ===========================
   Contact
   =========================== */
.contact {
  padding: 80px 0;
  background: var(--navy);
}
.contact .section-header h2 { color: #fff; }
.contact .section-header p { color: rgba(255,255,255,0.65); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(224,123,32,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.contact-card h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.contact-card a, .contact-card p {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 4px;
}
.contact-card a:hover { color: var(--orange-light); }

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--navy-dark);
  padding: 32px 0 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-name {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-cnpj {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange-light); }
.footer-bottom {
  padding-top: 16px;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ===========================
   Float Phone Button
   =========================== */
.float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(224,123,32,0.45);
  z-index: 990;
  transition: background 0.2s, transform 0.2s;
}
.float-btn:hover { background: var(--orange-light); transform: scale(1.08); }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 380px; }
  .benefits-inner { grid-template-columns: 1fr 300px; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy-dark); padding: 20px 24px; gap: 16px; }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; padding: 6px 0; }
  .menu-toggle { display: flex; }
  .header-tel { display: none; }
  .header-inner { position: relative; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-form-wrap { order: -1; }
  .benefits-inner { grid-template-columns: 1fr; }
  .benefits-aside { order: -1; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .trust-grid { gap: 16px; justify-content: flex-start; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: center; }
}
