/* ============================================================
   Design system — Alessandra Azevedo Lima
   Palette: navy · blue · gold · light blue
   ============================================================ */

:root {
  --navy:      #1a2e45;
  --navy-deep: #122033;
  --blue:      #1a3d45;
  --gold:      #c8a96e;
  --gold-soft: #dfc99a;
  --bg-light:  #e8f0f8;
  --bg-white:  #ffffff;
  --text-dark: #1a2e45;
  --text-mid:  #4a5568;
  --text-soft: #7a8fa6;
  --border:    #dde6f0;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --section-gap: 5.5rem;
  --inner-max:   1100px;
  --radius:      6px;
}

/* ============================================================
   Reset & base
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 64ch;
}

/* ============================================================
   Layout helpers
   ============================================================ */

.inner {
  width: min(var(--inner-max), 100% - 3rem);
  margin-inline: auto;
}

section {
  padding-block: var(--section-gap);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ============================================================
   Navigation
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 12px rgba(26,46,69,0.07);
  border-bottom-color: transparent;
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.nav-logo strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.nav-logo span {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--navy);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--bg-light);
  padding-block: 5.5rem;
}

.hero .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero-divider {
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.25rem;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--bg-white);
  padding: 0.8rem 1.9rem;
  border-radius: var(--radius);
}

.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(26,46,69,0.2);
}

.btn-text {
  color: var(--text-mid);
  padding-bottom: 0.1rem;
  border-bottom: 1px solid var(--border);
}

.btn-text:hover {
  color: var(--navy);
  border-color: var(--gold);
}

/* Hero image panel */
.hero-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #c9d9ea;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #8daac4;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-image-placeholder svg {
  width: 2rem;
  height: 2rem;
  stroke: #8daac4;
  fill: none;
  stroke-width: 1.2;
}

/* ============================================================
   Intro / Sobre preview
   ============================================================ */

.intro {
  background: var(--bg-white);
}

.intro .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.intro-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.intro-text p {
  font-size: 1rem;
}

/* Stat items lado direito */
.intro-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.stat-item:first-child {
  padding-top: 0;
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-word {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.intro-quote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-block: 0.5rem;
}

.intro-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.7;
}

.intro-quote cite {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 0.6rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.intro-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intro-aside-header {
  padding-bottom: 1.75rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.intro-aside-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.2;
}

.credential-list {
  display: flex;
  flex-direction: column;
}

.credential-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.credential-item:last-child {
  border-bottom: none;
}

.credential-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.credential-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 300;
}

/* ============================================================
   Serviços preview
   ============================================================ */

.servicos-preview {
  background: var(--bg-light);
}

.servicos-preview .section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.servicos-preview .section-header h2 {
  max-width: 480px;
}

.servicos-preview .section-header p {
  font-size: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(26,46,69,0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.card-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  font-size: 0.9rem;
  max-width: none;
}

.servicos-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ============================================================
   Formação list (used inside intro-stats column)
   ============================================================ */

.formacao-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.formacao-group + .formacao-group {
  margin-top: 2rem;
}

.formacao-section-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.formacao-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  list-style: none;
}

.formacao-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.formacao-ano {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  padding-top: 0.25rem;
}

.formacao-desc strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.formacao-desc span {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ============================================================
   WhatsApp float
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  background: #25d366;
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

.whatsapp-float svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: #fff;
}

/* ============================================================
   Closing section
   ============================================================ */

.closing {
  padding-block: var(--section-gap);
  background: var(--bg-light);
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.closing-phrase {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--navy);
  max-width: 36ch;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-block: 3.5rem;
}

.site-footer .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  max-width: none;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.footer-contact-intro {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: rgba(255,255,255,0.9);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: none;
  line-height: 1.1;
}

.footer-ethics {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 800px) {
  :root { --section-gap: 3.5rem; }

  .hero .inner,
  .intro .inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stat-item:first-child {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }

  .hero-image {
    aspect-ratio: 3 / 2;
    order: -1;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .site-footer .inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 101;
  }

  .site-nav {
    position: sticky;
  }
}

@media (max-width: 480px) {
  .inner {
    width: min(var(--inner-max), 100% - 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
