/* Quintal Obaobá — estilos do site em HTML puro.
   Medidas copiadas das páginas originais em Elementor (desktop 1366px). */

:root {
  --petroleo:        #007D81;
  --petroleo-escuro: #006164;
  --petroleo-claro:  #08898D;
  --ciano:           #00C7CA;
  --ciano-borda:     #0DD7DA;
  --laranja:         #D04C14;
  --laranja-claro:   #E1793C;
  --cinza:           #575757;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--petroleo);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.contem { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 40px; }
.secao { padding: 100px 0; }
.centro { text-align: center; }

/* chamada pequena + título: padrão de todas as seções */
.chamada { color: var(--ciano); font-size: 16px; font-weight: 400; line-height: 1.2; margin-bottom: 12px; }
.titulo { font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--petroleo-escuro); }

.botao {
  display: inline-block;
  padding: 20px 60px;
  border-radius: 3px;
  background: var(--laranja);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: filter .15s ease;
}
.botao:hover { filter: brightness(.92); }
.botao:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; }
.botao--claro { background: var(--laranja-claro); }
.botao--largo { padding-left: 130px; padding-right: 130px; }
.botao--bloco { display: block; width: 100%; }

/* ---------- Abertura ---------- */
.hero { padding: 100px 0; }
.hero .contem { display: grid; grid-template-columns: 538px 1fr; gap: 50px; align-items: center; }
.hero__logo { width: 134px; margin-bottom: 20px; }
.hero h1 { font-size: 50px; line-height: 60px; font-weight: 600; color: var(--petroleo); margin-bottom: 20px; }
.hero__texto p { font-size: 16px; line-height: 1.6; color: var(--petroleo); }
.hero__texto b { font-weight: 600; }
.hero .botao { margin-top: 20px; }
.hero__nota { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px !important; }
.hero__nota svg { width: 12px; height: 14px; fill: var(--laranja); flex: none; }
.hero__foto { width: 100%; max-width: 691px; justify-self: end; }

/* ---------- Painel escuro com três colunas ---------- */
.encontrar { padding: 48px 0 100px; }
.painel-escuro { background: var(--petroleo-escuro); border-radius: 10px; padding: 60px; }
.painel-escuro .titulo { color: #fff; font-size: 28px; }
.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0; }
.tres img { width: 43px; height: 43px; margin-bottom: 20px; }
.tres--icone-grande img { width: 54px; height: 54px; }
.tres h3 { font-size: 22px; font-weight: 400; line-height: 1.2; color: #fff; margin-bottom: 14px; }
.tres p { font-size: 16px; line-height: 1.6; color: #D3D3D3; }
.fecho { max-width: 626px; margin: 0 auto 20px; font-size: 28px; font-weight: 600; line-height: 1.3; color: #fff; text-align: center; }

/* ---------- Cartões claros com ícone de check ---------- */
.cartao-check {
  display: grid; grid-template-columns: 42px 1fr; gap: 14px;
  padding: 20px;
  background: rgba(29, 48, 49, .02);
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 5px;
}
.cartao-check img { width: 42px; height: 42px; }
.cartao-check h3 { font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--petroleo); margin: 8px 0 10px; }
.cartao-check p { font-size: 15px; line-height: 1.55; color: var(--cinza); }

/* Seção "direitos de aprendizagem", com nuvens ao fundo */
.proposta { background: #fff url("/wp-content/uploads/2024/08/331dff.webp") center top / cover no-repeat; }
.proposta .contem { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.proposta .coluna { display: grid; gap: 20px; }
.proposta__texto p { color: var(--cinza); line-height: 1.6; margin-top: 14px; }
.proposta .botao { justify-self: end; }

/* ---------- Seção petróleo com cartões brancos (BNCC) ---------- */
.direitos { background: var(--petroleo); color: #fff; }
.direitos .titulo { color: #fff; font-size: 36px; max-width: 900px; margin: 0 auto; }
.direitos__texto { margin-top: 20px; line-height: 1.6; }
.seis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cartao-branco { background: #fff; border-radius: 15px; padding: 20px; }
.cartao-branco img { width: 69px; height: 69px; margin-bottom: 6px; }
.cartao-branco p { color: var(--petroleo); line-height: 1.6; }

/* ---------- Seção com faixas ciano ao fundo + caixa à direita ---------- */
.faixas {
  background: var(--petroleo) url("/wp-content/uploads/2024/07/e232.webp") center top / cover no-repeat;
}
.faixas .contem { display: grid; grid-template-columns: 1fr 640px; gap: 20px; align-items: center; }
.faixas__chamada .titulo { color: #fff; font-size: 36px; max-width: 452px; }
.faixas__chamada img { width: 124px; margin-top: 30px; }
.caixa-branca {
  background: #fff;
  border: 2.4px solid var(--ciano-borda);
  border-radius: 20px;
  padding: 100px 50px;
  text-align: center;
}
.acordeao { text-align: left; margin-bottom: 20px; }
.acordeao details { margin-bottom: 7px; }
.acordeao summary {
  display: flex; align-items: center; gap: 12px;
  padding: 20px; border-radius: 5px;
  background: var(--ciano); color: #000;
  font-size: 16px; cursor: pointer; list-style: none;
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::before { content: "+"; font-size: 20px; font-weight: 600; line-height: 1; width: 12px; }
.acordeao details[open] summary::before { content: "–"; }
.acordeao summary:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 2px; }
.acordeao .resposta { margin-top: 7px; padding: 10px; border-radius: 10px; background: var(--petroleo); color: #fff; line-height: 1.5; }
.acordeao .resposta p + p { margin-top: 12px; }

/* ---------- Períodos ---------- */
.periodos { padding: 48px 0 32px; }
.periodos .chamada { font-size: 28px; }
.periodos .titulo { font-size: 40px; margin-bottom: 20px; }
.painel-ciano { background: var(--ciano); border-radius: 10px; padding: 40px 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cartao-periodo { background: var(--petroleo); border-radius: 5px; padding: 30px; color: #fff; }
.cartao-periodo img { width: 70px; height: 70px; margin-bottom: 19px; }
.cartao-periodo h3 { font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 16px; }
.cartao-periodo .nota { margin: 20px 0; }
.cartao-periodo .botao { border-radius: 10px; padding-left: 100px; padding-right: 100px; }

/* ---------- Carrossel: uma foto por vez, setas e pontinhos ---------- */
.carrossel { position: relative; }
.carrossel__trilho {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__trilho img { flex: 0 0 100%; width: 100%; object-fit: cover; scroll-snap-align: start; }
.carrossel__seta {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 30px; height: 30px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--laranja-claro); color: #fff;
  cursor: pointer;
}
.carrossel__seta svg { width: 14px; height: 14px; }
.carrossel__seta--ant { left: 14px; }
.carrossel__seta--prox { right: 14px; }
.carrossel__seta:focus-visible { outline: 3px solid var(--ciano); outline-offset: 2px; }
.carrossel__pontos { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carrossel__pontos button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #000; opacity: .8; cursor: pointer; }
.carrossel__pontos button[aria-current="true"] { background: var(--petroleo); opacity: 1; }

/* ---------- Fotos do espaço + texto ---------- */
.educacao .contem { display: grid; grid-template-columns: 630px 523px; justify-content: space-between; gap: 40px; align-items: start; }
.educacao .chamada { text-transform: uppercase; }
.educacao__texto p:not(.chamada) { font-size: 20px; line-height: 1.45; color: var(--cinza); margin-top: 20px; }
.carrossel--educacao { padding: 0 30px; }
.carrossel--educacao .carrossel__trilho img { aspect-ratio: 765 / 1024; border-radius: 20px; }
.carrossel--educacao .carrossel__seta { background: none; color: var(--laranja); width: 24px; }
.carrossel--educacao .carrossel__seta svg { width: 18px; height: 18px; }
.carrossel--educacao .carrossel__seta--ant { left: 0; }
.carrossel--educacao .carrossel__seta--prox { right: 0; }

/* ---------- Chamada final ---------- */
.final { background: var(--petroleo); color: #fff; }
.final .contem { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.final .titulo { color: #fff; max-width: 523px; margin-bottom: 20px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--petroleo); color: #fff; font-size: 14px; }
.rodape .contem > div {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 32px 0;
}
.rodape img { width: 102px; }
.rodape a { text-decoration: none; }
.rodape a b { font-weight: 700; }

/* ---------- Tablet e celular ---------- */
@media (max-width: 1024px) {
  .contem { padding: 0 20px; }
  .secao, .hero { padding: 60px 0; }
  .hero .contem, .proposta .contem, .educacao .contem, .faixas .contem, .final .contem { grid-template-columns: 1fr; }
  .hero__foto { order: -1; justify-self: center; max-width: 520px; }
  .hero h1 { font-size: 34px; line-height: 1.2; }
  .educacao .contem > * { max-width: 640px; }
  .proposta { background-position: left top; }
  .proposta .botao { justify-self: start; }
  .faixas { background-image: url("/wp-content/uploads/2024/07/mb43g.webp"); }
  .caixa-branca { padding: 40px 20px; }
  .tres, .seis, .painel-ciano { grid-template-columns: 1fr; }
  .seis { grid-template-columns: 1fr 1fr; }
  .painel-escuro { padding: 40px 24px; }
  .painel-ciano { padding: 24px; }
  .direitos .titulo, .faixas__chamada .titulo { font-size: 28px; }
  .periodos .titulo { font-size: 30px; }
  .fecho { font-size: 22px; }
  .educacao__texto p:not(.chamada) { font-size: 17px; }
  .botao--largo, .cartao-periodo .botao { padding-left: 40px; padding-right: 40px; }
  .rodape .contem > div { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .seis { grid-template-columns: 1fr; }
  .botao { padding-left: 28px; padding-right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
