@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root{
  --primary:#1C1C1C;
  --secondary:#ffffff;
  --accent:#FF5C00;
  --gray:#f5f5f5;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Oswald', sans-serif;
}

body{
  background:var(--gray);
}

main{
  margin-top: 80px;
}

header{
  background: var(--primary);
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 96px;
  z-index: 10000;
}

.header-brand{
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
}

.header-brand h1{
  margin: 0;
  font-size: 1.5rem;
  color: white;
  letter-spacing: 0.3px;
}

.header-brand img{
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.menu-toggle{
  display:none;
}

/* NAV */
nav ul{
  display: flex;
  gap: 20px;

  list-style: none;     /* remove bolinhas */
  margin: 0;            /* remove espaçamento padrão */
  padding: 0;
}

/* LINKS */
nav a{
  color: white;         /* tira azul padrão */
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover{
  color: var(--accent);
}
/* ÍCONE MOBILE */
.menu-icon{
  display: block;
  width: 60px;
  height: 60px;
  cursor: pointer;
  margin-right: 15px;
}

nav ul.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* RESPONSIVO */
@media(max-width: 768px){

  main{
    margin-top: 80px;
  }

  header{
    padding: 20px 20px;
    height: 96px;
  }

  .menu-toggle{
    display:block;
  }

  nav ul{
  display: none;
  flex-direction: column;
  
  background-color: var(--gray);
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  list-style: none;     /* remove bolinhas */
  margin: 0;            /* remove espaçamento padrão */
  padding: 60px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.749);
  z-index: 1000;  /* espaço para o header */
}

nav > ul > li{
  border-bottom: 2px solid var(--accent);
  padding: 15px 0px;
}
  nav > ul > li > a{
    color: var(--primary);
  }

  nav ul.active{
    display: flex; /* aparece quando clicar */
  }
}

footer{
    background-color: var(--primary);
    color: var(--secondary);
    padding: 40px 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

/* títulos */
footer h2,
footer h3{
    margin-bottom: 10px;
}

/* listas */
footer ul{
    list-style: none;
}

footer ul li{
    margin-bottom: 6px;
    cursor: pointer;
    transition: 0.2s;
}

footer ul li:hover{
    color: rgba(255,255,255,0.85);
}

/* links */
footer a{
    display: block;
    text-decoration: none;
    color: var(--secondary);
    margin-bottom: 6px;
    transition: 0.2s;
}

footer a:hover{
    color: rgba(255,255,255,0.85);
}

/* endereço */
footer address{
    font-style: normal;
    margin-bottom: 10px;
}

/* separação opcional */
footer > div:first-child{
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 15px;
}

/* Footer: integrantes (discreto) */
.footer-team-cards{
  display:grid;
  gap:10px;
}

.footer-team-card{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:14px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
}

.footer-team-card img{
  width:34px;
  height:34px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(255,255,255,0.18);
  filter:saturate(0.9);
  opacity:0.95;
}

.footer-team-name{
  display:block;
  font-size:0.95rem;
  line-height:1.05;
}

.footer-team-role{
  display:block;
  font-size:0.85rem;
  opacity:0.75;
}
.btn{
  display:inline-block;
  margin-top:20px;
  padding:10px 20px;
  background:var(--accent);
  color:white;
  border-radius:8px;
  text-decoration:none;
  transition:0.3s;
}

.btn:hover{
  opacity:0.8;
}

.faq,
.contact,
.team {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

.faq h2,
.contact h2,
.team h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 24px;
  text-align: center;
}

.faq-container {
  display: grid;
  gap: 16px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.faq-container details {
  background: var(--gray);
  border-radius: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(28,28,28,0.08);
}

.faq-container summary {
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-container summary::-webkit-details-marker {
  display: none;
}

.faq-container summary:focus {
  outline: none;
}

.faq-container details[open] {
  background: white;
}

.faq-container p {
  margin-top: 12px;
  line-height: 1.8;
  color: #444;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

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

.contact-form label {
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid rgba(28,28,28,0.15);
  border-radius: 14px;
  background: var(--gray);
  font-family: inherit;
  color: #222;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button.btn-submit {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: white;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button.btn-submit:hover {
  background: #e04e00;
  transform: translateY(-1px);
}

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

.team-card {
  background: white;
  border-radius: 24px;
  padding: 30px 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  text-align: center;
}

.team-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.2rem;
}

.team-card p {
  color: #555;
  line-height: 1.8;
}

@media(max-width: 1024px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 768px) {
  .faq,
  .contact,
  .team {
    padding: 40px 20px;
  }

  .faq-container,
  .contact-form,
  .team-grid {
    width: 100%;
  }
}

.page-header {
  padding: 120px 40px 60px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.page-header h1 {
  color: var(--primary);
  font-size: 3rem;
  margin-bottom: 16px;
}

.page-header p {
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 820px;
  margin: auto;
}

.page-section {
  padding: 50px 40px;
  max-width: 1100px;
  margin: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.page-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
}

.page-section p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
}

.page-section ul {
  margin-left: 20px;
  margin-bottom: 18px;
}

.page-section li {
  margin-bottom: 8px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card {
  background: #fff6ed;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255,92,0,0.14);
}

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

.feature-card p {
  color: #555;
  line-height: 1.6;
}

@media(max-width: 1024px) {
  .page-header,
  .page-section {
    padding: 30px 20px;
  }

  .page-header h1 {
    font-size: 2.4rem;
  }
}
