/* =========================================================
   Colégio Novo Estímulo - Landing de matrículas
   Mobile-first, HTML/CSS/JS puro, sem build.
   Paleta: verde petróleo, verde sálvia, bege nude, off-white.
   ========================================================= */

:root {
  --petrol: #004E5A;        /* teal oficial da marca (blocos de destaque) */
  --petrol-deep: #013B45;
  --sage: #DCE4DA;          /* verde sálvia claro (fundos suaves) */
  --sage-deep: #B0BCB0;     /* sálvia oficial (acentos) */
  --nude: #E9D6C6;          /* bege/nude claro (fundos) */
  --nude-deep: #D4B49D;     /* nude/peach oficial (acentos, botão) */
  --offwhite: #F4E7D6;      /* creme oficial (texto sobre teal) */
  --paper: #FBF6EE;         /* fundo neutro de página */
  --white: #FFFFFF;

  --ink: #1C3A40;           /* texto sobre fundo claro */
  --ink-soft: #5A6E6E;

  --accent: #D4B49D;        /* nude de apoio (números, detalhes) */
  --gold: #C9885E;          /* estrelas (tom terroso) */

  --ring: rgba(0, 78, 90, .30);
  --shadow: 0 24px 50px -30px rgba(0, 40, 46, .55);
  --shadow-sm: 0 12px 28px -20px rgba(0, 40, 46, .5);

  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1120px;

  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-hand: "Gochi Hand", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.16; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }

/* fundos dos blocos */
.section--petrol { background: linear-gradient(160deg, var(--petrol) 0%, var(--petrol-deep) 100%); color: var(--offwhite); }
.section--sage { background: var(--sage); }
.section--nude { background: var(--nude); }
.section--petrol h1, .section--petrol h2, .section--petrol h3 { color: #fff; }

.section__head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section__head h2 { font-size: clamp(1.5rem, 4.6vw, 2.15rem); margin: 0; }

/* etiqueta acima dos títulos */
.kicker {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--petrol);
  background: rgba(18, 62, 69, .09);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.kicker--light { color: var(--offwhite); background: rgba(255, 255, 255, .14); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 999px;
  padding: 14px 26px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }
/* botão claro (sobre o petróleo) */
.btn--light { background: var(--nude-deep); color: var(--petrol); box-shadow: 0 16px 30px -16px rgba(0,0,0,.45); }
.btn--light:hover { background: #E2C6B0; transform: translateY(-2px); }
/* botão escuro (sobre fundo claro) */
.btn--dark { background: var(--petrol); color: var(--offwhite); box-shadow: 0 16px 30px -18px rgba(18,62,69,.85); }
.btn--dark:hover { background: var(--petrol-deep); transform: translateY(-2px); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* ---------- CTA fixo no celular ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 60; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 600; text-decoration: none;
  background: var(--petrol); color: #fff; padding: 15px 20px; border-radius: 999px;
  box-shadow: 0 16px 34px -12px rgba(10,30,34,.7);
  transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ---------- 1. HERO ---------- */
.hero { padding: 92px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.hero .eyebrow {
  display: inline-block; font-family: var(--font-title); font-weight: 500;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--offwhite);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero__content h1 { font-size: clamp(1.95rem, 6.4vw, 3rem); font-weight: 800; margin: 0 0 16px; }
.hero__content p { font-size: clamp(1.04rem, 3vw, 1.22rem); color: #E2EAE6; margin: 0 0 28px; }
.hero__trust { margin: 18px 0 0; font-size: .9rem; color: #B8C8C4; font-weight: 600; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }

/* ---------- 2. FAIXA DE DESTAQUE ---------- */
.strip { background: var(--paper); padding: 30px 0; }
.strip__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.strip__item { display: flex; align-items: center; gap: 14px; }
.strip__item p { margin: 0; font-weight: 700; font-size: .98rem; color: var(--ink); }
.strip__icon {
  flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 16px; background: var(--sage); color: var(--petrol);
}
.strip__icon svg { width: 26px; height: 26px; }

/* ---------- 3 e 6. BLOCOS DIVIDIDOS (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split__content h2 { font-size: clamp(1.55rem, 5vw, 2.3rem); }
.split__content p { color: var(--ink-soft); font-size: 1.06rem; }

/* lista de profissionais (equipe) */
.team { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 6px 0 0; }
.team li {
  font-family: var(--font-title); font-weight: 500; font-size: .9rem; color: var(--petrol);
  background: var(--white); border: 1px solid rgba(18,62,69,.12); padding: 8px 15px; border-radius: 999px;
}

/* ---------- 4. QUATRO HABILIDADES ---------- */
.skills__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.skill { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.skill__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--petrol); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 14px;
}
.skill h3 { font-size: 1.16rem; margin: 0 0 6px; }
.skill p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- 5. A PERGUNTA CERTA ---------- */
.question__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.question h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 16px; }
.question p { color: #DCE6E2; font-size: 1.1rem; margin: 0; }

/* ---------- 7. PROVA SOCIAL ---------- */
.proof { background: var(--paper); }
.proof__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 19px; height: 19px; }
.testimonial blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); line-height: 1.6; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-deep); color: var(--petrol); font-family: var(--font-title); font-weight: 700; font-size: .95rem;
}
.testimonial__author strong { display: block; font-family: var(--font-title); font-size: .98rem; }
.testimonial__author span { font-size: .86rem; color: var(--ink-soft); }

/* ---------- 8. OFERTA ---------- */
.offer__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.offer h2 { font-size: clamp(1.6rem, 5.4vw, 2.4rem); margin-bottom: 14px; }
.offer p { color: #DCE6E2; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }

/* ---------- 9. FORMULÁRIO ---------- */
.form-section__inner { display: flex; justify-content: center; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 38px 26px; width: 100%; max-width: 540px; text-align: center; box-shadow: var(--shadow); scroll-margin-top: 16px; }
.form-card h2 { font-size: clamp(1.45rem, 5vw, 2rem); margin-bottom: 8px; }
.form-card__sub { color: var(--ink-soft); margin-bottom: 26px; }
.field { text-align: left; margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-title); font-weight: 500; font-size: .95rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1.02rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #E1DACC; border-radius: 14px; padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  appearance: none; cursor: pointer; padding-right: 44px; background-repeat: no-repeat; background-position: right 16px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235E6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field input:focus, .field select:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px var(--ring); }
.field input::placeholder { color: #B4ADA0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C0533C; background: #FBF1EE; }
.field__error { display: block; color: #B7442E; font-size: .85rem; font-weight: 600; margin-top: 6px; min-height: 1px; }
.form-card .btn--block { margin-top: 6px; }
.form-card__privacy { font-size: .82rem; color: var(--ink-soft); margin: 14px 0 0; }

/* ---------- 10. RODAPÉ ---------- */
.footer { padding-top: 56px; color: #D5DEDA; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.footer p { margin: 0 0 8px; line-height: 1.6; font-size: .98rem; }
.footer a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer a:hover { border-color: #fff; }
.footer__logo { font-family: var(--font-title); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 6px; }
.footer__tag { color: var(--nude); }
.footer__map iframe { width: 100%; height: 240px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #E9E4DA; display: block; }
.footer__map-link { display: inline-block; margin-top: 12px; font-family: var(--font-title); font-weight: 500; font-size: .92rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer__bar { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer__bar p { margin: 0; font-size: .85rem; color: #9FB0AB; text-align: center; }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* ---------- Marca: logo, manuscrita (Gochi Hand), padrão ---------- */
.hand { font-family: var(--font-hand); font-weight: 400; }
.hero__bar { display: flex; justify-content: center; padding-bottom: 30px; }
.hero__logo { width: 232px; max-width: 64%; height: auto; }
.hero__tagline { font-family: var(--font-hand); font-size: 1.65rem; line-height: 1; color: var(--nude-deep); margin: 0 0 10px; }
.footer__logo-img { width: 224px; max-width: 72%; height: auto; margin-bottom: 14px; }
.footer__hand { font-family: var(--font-hand); font-size: 1.45rem; color: var(--nude-deep); margin: 8px 0 0; }
.brand-strip-wrap { background: var(--petrol); line-height: 0; }
.brand-strip { display: block; width: 100%; height: 56px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (min-width: 560px) {
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .skills__grid { grid-template-columns: 1fr 1fr; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .section { padding: 92px 0; }
  .hero { padding: 104px 0 92px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 50px; }
  .split { grid-template-columns: 1fr 1fr; gap: 50px; }
  .split--reverse .split__media { order: 2; }
  .strip__grid { grid-template-columns: repeat(4, 1fr); }
  .skills__grid { grid-template-columns: repeat(4, 1fr); }
  .proof__grid { grid-template-columns: repeat(3, 1fr); }
  .offer__inner { padding: 8px 0; }
  .form-card { padding: 48px 44px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__map { grid-column: 1 / -1; }
}

@media (min-width: 1040px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; }
  .footer__map { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  * { transition: none !important; }
}
