:root {
  --petrol: #073242;
  --petrol-2: #0e4a5e;
  --petrol-3: #2c515e;
  --petrol-deep: #052027;
  --white: #ffffff;
  --cream: #f6f4ef;
  --cream-2: #eeece4;
  --gray: #bebfbe;
  --gray-2: #dad9d6;
  --copper: #b87333;
  --copper-2: #a2632a;
  --ink: #0d2b33;
  --muted: #526167;
  --line: rgba(7, 50, 66, 0.14);
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--petrol);
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--copper);
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- NAV ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.4s var(--ease),
    background 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(3, 20, 26, 0.5), rgba(3, 20, 26, 0));
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--line);
}
header.scrolled::before {
  opacity: 0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 50px;
  width: auto;
  transition: height 0.4s var(--ease);
}
header.scrolled .brand img {
  height: 40px;
}
.logo-chip {
  display: flex;
  align-items: center;
}
.logo-chip .logo-dark {
  display: none;
}
header.scrolled .logo-chip .logo-light {
  display: none;
}
header.scrolled .logo-chip .logo-dark {
  display: block;
}
.brand span {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--petrol);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding: 4px 0;
  transition: color 0.4s var(--ease);
}
header.scrolled .nav-links a {
  color: var(--petrol);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--copper);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.nav-cta {
  padding: 11px 24px;
  background: var(--petrol);
  color: var(--white) !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
  white-space: nowrap;
}
.nav-links a.nav-cta:hover {
  background: var(--copper);
  color: var(--white) !important;
  transform: translateY(-2px);
}
.nav-links a.nav-cta::after {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease),
    background 0.4s var(--ease);
}
header.scrolled .burger span {
  background: var(--petrol);
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  padding: 180px 0 130px;
  position: relative;
  background: url('../img/bg-hero.jpg') center 38% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    115deg,
    rgba(3, 20, 26, 0.86) 0%,
    rgba(3, 32, 39, 0.72) 40%,
    rgba(3, 32, 39, 0.38) 68%,
    rgba(3, 32, 39, 0.18) 100%
  );
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}
.hero .eyebrow::before {
  background: var(--copper);
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  margin-bottom: 22px;
  color: var(--white);
}
.hero p.lead {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero .btn-primary:hover {
  color: var(--copper);
}
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--petrol);
}
.hero .hero-credit {
  color: rgba(255, 255, 255, 0.8);
}
.hero .hero-credit .dot {
  background: var(--copper);
}
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--petrol);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(7, 50, 66, 0.45);
}
.btn-secondary {
  background: var(--white);
  color: var(--petrol);
}
.btn-secondary:hover {
  background: var(--copper);
  color: var(--white);
}
.sh-section .btn-primary:hover {
  background: var(--copper);
  color: var(--white);
}
.btn-ghost {
  border-color: var(--petrol);
  color: var(--petrol);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--petrol);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-credit {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}
.hero-credit .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray);
}

/* ---------- SECTION GENERIC ---------- */
section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}
.bg-cream {
  background: var(--cream);
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
}
.section-head p {
  color: var(--muted);
  font-size: 16.5px;
  margin-top: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RAÍZES / cards ---------- */
.roots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.root-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.root-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -24px rgba(7, 50, 66, 0.25);
}
.root-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--copper);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.root-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.root-card p {
  color: var(--muted);
  font-size: 15px;
}

.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}
.intro-block p {
  color: var(--muted);
  font-size: 16.5px;
}
.intro-block p + p {
  margin-top: 16px;
}

/* ---------- TRONCO / sobre Liliane ---------- */
.method {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.photo-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px 28px 100px 28px;
  background: linear-gradient(160deg, var(--cream-2), var(--cream));
  border: 1.5px dashed var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px 28px 100px 28px;
}
.photo-frame .placeholder-icon,
.hero-photo .placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.photo-frame .placeholder-txt,
.hero-photo .placeholder-txt {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 200px;
  padding: 0 20px;
}
.method-text h3 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 8px;
}
.method-text .role {
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.method-text p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
}
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--petrol);
  border-left: 2px solid var(--copper);
  padding-left: 22px;
  margin: 26px 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chip {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--cream-2);
  color: var(--petrol);
  border: 1px solid var(--line);
}

/* ---------- GALHOS / especialidades ---------- */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.branch-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.branch-card:hover {
  transform: translateY(-6px);
  border-color: var(--copper);
}
.branch-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--petrol);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.branch-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
}
.branch-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--copper);
}
.branch-card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- SCHOOL HUNTER ---------- */
.sh-section {
  background: var(--petrol);
  color: var(--white);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.sh-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}
.sh-section .eyebrow {
  color: var(--gray);
}
.sh-section .eyebrow::before {
  background: var(--copper);
}
.sh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.sh-grid h2 {
  color: var(--white);
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 22px;
}
.sh-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 24px;
}
.sh-quote span {
  color: var(--gray);
  font-style: normal;
  font-size: 14px;
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.sh-list {
  margin-top: 26px;
}
.sh-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
}
.sh-list li::before {
  content: '';
  min-width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--copper);
}
.sh-grid p.desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  margin-bottom: 8px;
}

/* ---------- VALORES ---------- */
.values-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.value-tag {
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--petrol);
  background: var(--white);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.value-tag:hover {
  background: var(--petrol);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- CONTATO ---------- */
.contact {
  background: var(--cream);
  text-align: center;
  padding: 120px 0;
}
.contact h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 18px;
}
.contact p {
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 40px;
}
.contact-ctas .btn-primary:hover {
  color: var(--copper);
}
.contact-ctas .btn-ghost:hover {
  color: var(--copper);
}
.contact-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
footer {
  padding: 56px 0 40px;
  background: var(--petrol);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 50px;
}
.footer-brand span {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 17px;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.footer-links a:hover {
  color: var(--copper);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-photo {
    order: -1;
    margin-bottom: 8px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .roots-grid {
    grid-template-columns: 1fr;
  }
  .intro-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .method {
    grid-template-columns: 1fr;
  }
  .photo-frame {
    max-width: 340px;
    margin: 0 auto;
  }
  .branches-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sh-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    color: var(--petrol) !important;
  }
  .burger {
    display: flex;
  }
  .burger span {
    background: var(--petrol) !important;
  }
  .nav-links a.nav-cta {
    margin-top: 8px;
  }
  .branches-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 80px 0;
  }
  .wrap {
    padding: 0 22px;
  }
  .hero {
    padding-top: 140px;
  }
}

/* ---------- TO TOP BUTTON ---------- */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--petrol-3);
  background: var(--petrol);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 12px 28px -10px rgba(3, 20, 26, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    visibility 0.35s var(--ease),
    background 0.3s var(--ease);
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--copper);
}
@media (max-width: 720px) {
  .to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}
