/* =============================================
   SUNDAYS EDUCAÇÃO — Style Sheet
   Versão original restaurada + fotos
   ============================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Goldplay';
  src: url('../fonts/Goldplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --brown: #573415;
  --brown-light: #7a5633;
  --coral: #FF6F59;
  --yellow: #FFBF31;
  --yellow-light: #FFD97A;
  --blue: #8CA6D1;
  --white: #FFFFFF;
  --gray: #6B6B6B;
  --gray-light: #F5F5F5;
  --bg-warm: #FDF6ED;
  --bg-beige: #F8EACD;
  --dark: #2D2D2D;
  --dark-secondary: #4A4A4A;
  --font-main: 'Red Hat Display', sans-serif;
  --transition: .45s cubic-bezier(.25,.46,.45,.94);
  --header-h: 72;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(87,52,21,.08);
  --shadow-lg: 0 12px 48px rgba(87,52,21,.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Goldplay', var(--font-main), sans-serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
.serif { font-family: 'Goldplay', serif; }
.highlight { color: var(--coral); }
.accent { color: var(--coral); font-weight: 700; }
.brown { color: var(--brown); }
.overline {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue);
}
.subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--white { background: var(--white); }
.section--warm { background: var(--bg-warm); }
.section--brown { background: var(--brown); }
.section__header { text-align: center; margin-bottom: 56px; }
.section__header .overline { display: block; margin-bottom: 12px; }
.section__header .subtitle { margin-top: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(87,52,21,.08);
  border-bottom: 1px solid rgba(87,52,21,.08);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { height: 60px; transition: height var(--transition), filter var(--transition); filter: brightness(0) invert(1); }
.header.scrolled .header__logo img { height: 48px; filter: none; }
.header__cta {
  background: var(--yellow);
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255,191,49,.35);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.header__cta:hover {
  background: #f0b020;
  box-shadow: 0 6px 20px rgba(255,191,49,.5);
  transform: translateY(-1px);
}

/* Desktop nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav a {
  font-size: .8rem;
  white-space: nowrap;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .2s;
}
.header__nav a:hover { color: var(--yellow); }
.header.scrolled .header__nav a { color: var(--brown); }
.header.scrolled .header__nav a:hover { color: var(--blue); }

/* Header toggle (hambúrguer) */
.header__toggle { display: none; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; background: none; border: none; padding: 4px; }
.header__toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.header.scrolled .header__toggle span { background: var(--brown); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--brown);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--yellow); }
.mobile-nav .header__cta {
  margin-top: 16px;
  padding: 14px 32px;
  font-size: 1rem !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: url('../img/HEROCERTA.jpeg') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(87,52,21,.45) 0%, rgba(87,52,21,.7) 100%);
  z-index: 1;
}
.hero__body {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 80px 100px;
}
.hero__slogan {
  font-family: 'Goldplay', 'DM Sans', var(--font-main), sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__series {
  display: inline-block;
  font-family: 'DM Sans', var(--font-main), sans-serif;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  background: var(--blue);
  padding: 10px 24px;
  border-radius: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--coral);
  color: var(--white);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,111,89,.3); }
.btn--blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(140,166,209,.45), 0 2px 6px rgba(0,0,0,.12);
}
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(140,166,209,.55), 0 4px 12px rgba(0,0,0,.15); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.section--white .btn--outline,
.section--warm .btn--outline { color: var(--brown); border-color: rgba(87,52,21,.25); }
.section--white .btn--outline:hover,
.section--warm .btn--outline:hover { border-color: var(--brown); background: rgba(87,52,21,.04); }
.btn--white { background: var(--white); color: var(--brown); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn__arrow { transition: transform var(--transition); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Proposito ---------- */
.propósito__text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  text-align: center;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 40px;
}
.valores-foto {
  max-width: 800px;
  margin: 0 auto 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.valores-foto img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}
.valor-tag {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  background: rgba(140,166,209,.12);
  color: var(--brown);
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split__text h2 { margin-bottom: 20px; }
.split__text h3 { margin-bottom: 16px; color: var(--brown); }
.split__text .overline { margin-bottom: 12px; }
.split__text p { color: var(--gray); margin-bottom: 16px; }
.split__text p:last-child { margin-bottom: 0; }
.split__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Inglês partner badge ---------- */
.ingles-partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.ingles-partner__logo {
  height: auto;
  width: 240px;
  max-width: 100%;
  object-fit: contain;
}
.ingles-partner__badge {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brown);
  background: rgba(140,166,209,.12);
  padding: 8px 18px;
  border-radius: 50px;
}

/* ---------- Quote block ---------- */
.quote-block {
  text-align: center;
  padding: 48px 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--coral);
}
.quote-block__text {
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--brown);
  margin-bottom: 20px;
}
.quote-block__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.quote-block__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-warm);
}
.quote-block__author { font-weight: 700; color: var(--brown); }
.quote-block__role { font-size: .88rem; color: var(--gray); }

/* ---------- Curriculum grid ---------- */
.cur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cur-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cur-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cur-card__img { height: 200px; overflow: hidden; }
.cur-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cur-card:hover .cur-card__img img { transform: scale(1.05); }
.cur-card__body { padding: 24px; }
.cur-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.cur-card__tag--brown { background: rgba(87,52,21,.08); color: var(--brown); }
.cur-card__tag--coral { background: rgba(255,111,89,.1); color: var(--coral); }
.cur-card__tag--yellow { background: rgba(255,191,49,.15); color: #b8860b; }
.cur-card__tag--blue { background: rgba(140,166,209,.15); color: #5a7ab5; }
.cur-card__body h4 { margin-bottom: 8px; }
.cur-card__body p { font-size: .92rem; color: var(--gray); line-height: 1.6; }
.cur-card__list {
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 20px;
}
.cur-card__list li {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.5;
}
.cur-card__list li::marker {
  color: var(--blue);
}

/* ---------- DNA grid ---------- */
.dna-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.dna-card {
  background: rgba(140,166,209,.1);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.dna-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dna-card__num {
  font-family: 'Goldplay', var(--font-main), sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1;
}
.dna-card h4 { font-size: .95rem; margin-bottom: 10px; line-height: 1.3; }
.dna-card p { font-size: .82rem; color: var(--gray); line-height: 1.55; }

/* ---------- Atividades grid (Currículo / Nosso dia a dia) ---------- */
.ativ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ativ-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(87,52,21,.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ativ-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ativ-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ativ-card__icon svg { width: 26px; height: 26px; }
.ativ-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ativ-card p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- Gallery scroll (Estrutura) ---------- */
.gallery-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background: rgba(87,52,21,.2); border-radius: 3px; }
.gallery-item {
  min-width: 340px;
  height: 400px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  cursor: grab;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(87,52,21,.7));
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
}

/* ---------- Modalidades ---------- */
.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.modalidade-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.modalidade-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.modalidade-card--destaque { border: 2px solid var(--coral); }
.modalidade-card__badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--coral);
  color: var(--white);
  padding: 6px 16px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
}
.modalidade-card__header {
  padding: 32px 28px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(87,52,21,.06);
}
.modalidade-card__icon { color: var(--coral); margin-bottom: 12px; display: block; }
.modalidade-card__header h3 { margin-bottom: 8px; }
.modalidade-card__horario { font-size: .88rem; color: var(--gray); }
.modalidade-card__body { padding: 24px 28px 32px; }
.modalidade-card__body ul { display: flex; flex-direction: column; gap: 8px; }
.modalidade-card__body li {
  font-size: .92rem;
  color: var(--gray);
  padding-left: 20px;
  position: relative;
}
.modalidade-card__body li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  opacity: .6;
}
.modalidade-card__inclui {
  font-weight: 700;
  font-size: .88rem;
  color: var(--brown);
  margin-bottom: 12px;
}
.modalidade-card__nota {
  font-size: .8rem;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.5;
}

/* ---------- Stats (Numeros) ---------- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  text-align: center;
}
.stat { max-width: 260px; }
.stat__number {
  font-family: 'Goldplay', var(--font-main), sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
}
.stat__label { font-size: .92rem; margin-top: 8px; }

/* ---------- Security grid ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.security-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-warm);
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.security-item:hover { transform: translateY(-4px); }
.security-item__icon { margin-bottom: 12px; color: var(--brown); }
.security-item__icon svg { width: 32px; height: 32px; }
.security-item h4 { margin-bottom: 6px; }
.security-item p { font-size: .88rem; color: var(--gray); }

/* ---------- Testimonials ---------- */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.test-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.test-card:hover { transform: translateY(-4px); }
.test-card__stars { color: var(--yellow); font-size: 1.2rem; margin-bottom: 16px; }
.test-card__text { font-size: .95rem; color: var(--gray); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.test-card__author { font-weight: 700; color: var(--brown); }
.test-card__role { font-size: .82rem; color: var(--gray); }

/* ---------- Investments ---------- */
.invest-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.invest-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--brown);
  background: rgba(87,52,21,.06);
  flex: 1 1 0;
  text-align: center;
  max-width: 200px;
  transition: background var(--transition), color var(--transition);
}
.invest-tab:hover { background: rgba(87,52,21,.12); }
.invest-tab.active { background: var(--brown); color: var(--white); }

.invest-panel { display: none; }
.invest-panel.active { display: block; }

.invest-turnos { display: flex; gap: 24px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.invest-turno {
  text-align: center;
  padding: 20px 32px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
}
.invest-turno__icon { margin-bottom: 8px; color: var(--brown); }
.invest-turno__icon svg { width: 28px; height: 28px; }
.invest-turno h4 { margin-bottom: 4px; }
.invest-turno__horario { font-size: .85rem; color: var(--gray); }
.invest-atividades {
  text-align: center;
  font-size: .92rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.invest-prices {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.invest-price-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 32px 40px;
  text-align: center;
  flex: 1 1 200px;
  max-width: 280px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.invest-price-card:hover { transform: translateY(-4px); }
.invest-price-card__serie {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 8px;
}
.invest-price-card__valor {
  display: block;
  font-family: 'Goldplay', var(--font-main), sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brown);
}
.invest-price-card__valor small { font-size: .6em; }
.invest-price-card__periodo {
  display: block;
  font-size: .82rem;
  color: var(--gray);
}
.invest-nota {
  text-align: center;
  font-size: .82rem;
  color: var(--gray);
  margin-top: 20px;
}
.invest-subtitle {
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 20px;
}
.invest-opcionais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.invest-opcional {
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform var(--transition);
}
.invest-opcional:hover { transform: translateY(-3px); }
.invest-opcional h5 { margin-bottom: 4px; color: var(--brown); }
.invest-opcional__desc { font-size: .82rem; color: var(--gray); margin-bottom: 10px; }
.invest-opcional__precos { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; }
.invest-opcional__precos strong { color: var(--brown); }

.invest-footer {
  margin-top: 56px;
  text-align: center;
  padding: 40px;
  background: var(--bg-warm);
  border-radius: var(--radius);
}
.invest-footer__desconto { margin-bottom: 16px; font-size: 1rem; }
.invest-footer__destaque {
  font-weight: 800;
  color: var(--coral);
  font-size: 1.2rem;
}
.invest-footer p { font-size: .88rem; color: var(--gray); margin-bottom: 8px; }
.invest-footer__legal { font-size: .78rem; opacity: .7; }

/* ---------- FAQ ---------- */
.faq-group {
  font-size: 1.1rem;
  color: var(--brown);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(140,166,209,.25);
}
.faq-group:first-of-type { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.faq-item {
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item__q {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-size: 1rem;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--coral);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] .faq-item__q::after { content: '−'; }
.faq-item__a { padding: 0 24px 20px; }
.faq-item__a p { color: var(--gray); font-size: .95rem; line-height: 1.7; }

/* ---------- Blog row ---------- */
.blog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__img { height: 200px; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 24px; }
.blog-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-card__cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--coral);
  background: rgba(255,111,89,.08);
  padding: 3px 10px;
  border-radius: 50px;
}
.blog-card__date { font-size: .78rem; color: var(--gray); }
.blog-card__title { font-size: 1rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card__link { font-size: .88rem; font-weight: 700; color: var(--coral); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item__icon { flex-shrink: 0; color: var(--brown); }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item__text h4 { margin-bottom: 4px; }
.contact-item__text a,
.contact-item__text p { font-size: .95rem; color: var(--gray); }
.contact-item__text a:hover { color: var(--coral); }
.contact-map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.form-placeholder {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--brown);
  border-radius: var(--radius);
  padding: 80px 48px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner .subtitle { color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand > img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: .88rem; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.footer__col a { font-size: .88rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom p { font-size: .82rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { opacity: .7; transition: opacity var(--transition); }
.footer__social a:hover { opacity: 1; }

/* ---------- ESD Montagem ---------- */
.esd-montagem {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}
.esd-montagem__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
  min-height: 340px;
}
.esd-montagem__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.esd-montagem:hover .esd-montagem__photo { transform: scale(1.04); }
.esd-montagem__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--brown);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  z-index: 2;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.esd-montagem:hover .esd-montagem__logo { transform: translate(-50%, -50%) scale(1.06); }
.esd-montagem__logo img {
  height: 56px;
  width: auto;
}

/* ---------- Footer logos ---------- */
.footer__logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.footer__logo-sundays {
  height: 52px;
  filter: brightness(0) invert(1);
}
.footer__logo-esd-link {
  display: flex;
  align-items: center;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.2);
  transition: opacity var(--transition);
}
.footer__logo-esd-link:hover { opacity: .8; }
.footer__logo-esd {
  height: 52px;
  width: auto;
}

/* ---------- WhatsApp float ---------- */
.wpp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wpp:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.45); }
.wpp svg { width: 28px; height: 28px; fill: var(--white); }

/* ---------- Reveal animations (CSS transitions + IntersectionObserver) ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), filter .8s ease;
  filter: blur(4px);
}
.reveal { transform: translateY(50px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-scale { transform: scale(.88); }

.stagger-child {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(3px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1), filter .7s ease;
}

/* Visible state (added by IntersectionObserver) */
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible,
.stagger-child.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.lightbox__content {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 85vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox__content img {
  max-width: 100%; max-height: 75vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox__content p {
  color: var(--white);
  font-weight: 600;
  margin-top: 16px;
  font-size: 1.1rem;
}
.lightbox__close {
  position: absolute;
  top: -16px; right: -16px;
  width: 40px; height: 40px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--brown);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: transform var(--transition);
}
.lightbox__close:hover { transform: scale(1.1); }

/* ---------- Infra grid (replaces gallery-scroll) ---------- */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.infra-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 260px;
}
.infra-card--wide { grid-column: span 2; }
.infra-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.infra-card:hover img { transform: scale(1.06); }
.infra-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(87,52,21,.7));
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.infra-card:hover .infra-card__label { transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__toggle { display: flex; }
  .cur-grid { grid-template-columns: repeat(2, 1fr); }
  .cur-grid[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
  .ativ-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .dna-grid { grid-template-columns: repeat(3, 1fr); }
  .modalidades-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-row { gap: 40px; flex-wrap: wrap; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .blog-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .infra-grid { grid-template-columns: repeat(3, 1fr); }
  .infra-card--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__toggle { display: flex; }
  .header__inner { padding: 14px 24px; }
  .section { padding: 72px 0; }
  .proposito-title { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
  .valores-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .valores-foto img { height: 220px; }
  .quote-block { padding: 32px 24px; }
  .quote-block__photo { width: 160px; height: 160px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split__img { order: -1; max-height: 360px; }
  .cur-grid { grid-template-columns: 1fr !important; }
  .cur-grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  .ativ-grid { grid-template-columns: 1fr; gap: 14px; max-width: 480px; margin: 0 auto; }
  .ativ-card { padding: 24px 22px; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; align-items: start; }
  .ativ-card__icon { margin-bottom: 0; grid-row: 1 / 3; }
  .ativ-card h4 { font-size: .92rem; align-self: end; }
  .ativ-card p { font-size: .82rem; grid-column: 2; }
  .dna-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 32px; }
  .security-grid { grid-template-columns: 1fr; }
  .infra-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
  }
  .infra-card {
    flex: 0 0 85%;
    height: 280px;
    scroll-snap-align: center;
  }
  .infra-card--wide { grid-column: auto; flex: 0 0 85%; }
  .infra-card__label { transform: translateY(0); }
  .invest-price-card { min-width: 0; max-width: none; width: 100%; flex: 1 1 100%; padding: 24px; }
  .invest-prices { gap: 16px; }
  .invest-tabs { gap: 6px; }
  .invest-tab { flex: 1 1 auto; min-width: 0; text-align: center; padding: 10px 16px; font-size: .82rem; }
  .btn { width: auto; min-width: 0; text-align: center; justify-content: center; }
  .esd-montagem__photos { min-height: 260px; }
  .esd-montagem__logo { padding: 14px 20px; }
  .esd-montagem__logo img { height: 44px; }
  .footer__logos { gap: 16px; }
  .footer__logo-sundays { height: 44px; }
  .footer__logo-esd { height: 44px; }
  .footer__logo-esd-link { padding-left: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { min-height: 100vh; min-height: 100svh; min-height: -webkit-fill-available; }
  .hero__body { padding: 120px 24px 60px; }
  .hero__slogan { font-size: clamp(36px, 9vw, 52px); }
  .header__logo img { height: 52px; }
  .header.scrolled .header__logo img { height: 40px; }
  h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
}

@media (max-width: 480px) {
  .invest-prices { flex-direction: column; align-items: stretch; }
  .invest-turnos { flex-direction: column; align-items: stretch; }
  .invest-tabs { flex-direction: column; gap: 6px; }
  .invest-tab { width: 100%; }
  .header__inner { padding: 14px 16px; }
  .header__logo img { height: 36px; }
  .header__cta { font-size: 11px; padding: 8px 16px; }
}
