/* =========================
   RESET E VARIÁVEIS
========================= */
:root {
  --primary: #0a6cf1;
  --secondary: #00c389;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* =========================
   UTILITÁRIOS
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section.light {
  background: var(--light);
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
}

.section p {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--gray);
}

ul {
  list-style: none;
}

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

/* =========================
   BOTÕES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
}

.btn.secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* =========================
   HEADER / NAV
========================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-list {
  display: flex;
  gap: 25px;
}

.nav-list a {
  font-weight: 500;
  color: var(--dark);
  transition: 0.3s;
}

.nav-list a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* =========================
   HERO
========================= */
.hero {
  height: 100vh;
  background: linear-gradient(
      rgba(10, 108, 241, 0.75),
      rgba(10, 108, 241, 0.75)
    ),
    url("../img/ambulancia.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 70px;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 800;
}

.hero-content p {
  margin: 15px 0;
  font-size: 1.1rem;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================
   FEATURES
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: -40px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature {
  text-align: center;
}

.feature i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

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

.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.card p,
.card li {
  color: var(--gray);
}

/* =========================
   AMBULÂNCIAS
========================= */
.ambulance-card {
  margin-bottom: 40px;
}

.ambulance-card h4 {
  margin-top: 20px;
  color: var(--dark);
}

.ambulance-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.ambulance-card ul li {
  list-style: disc;
}

/* =========================
   LISTAS / PASSOS
========================= */
ol {
  max-width: 700px;
  margin: 0 auto 40px;
}

ol li {
  margin-bottom: 15px;
}

/* =========================
   FAQ
========================= */
#faq ul {
  max-width: 600px;
  margin: auto;
}

#faq li {
  background: var(--white);
  margin-bottom: 15px;
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================
   CONTATO
========================= */
#contato p {
  margin-bottom: 10px;
  text-align: center;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}

.footer p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--white);
    width: 100%;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }
}
/* FAQ ACCORDION */
.faq {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #0f172a;
}

.faq-question i {
  margin-right: 12px;
  color: #0a6cf1;
}

.faq-question .icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer p {
  margin: 20px 0;
  color: #334155;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
#contato .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  width: fit-content;
}
