/* =====================================================
   FONTES LOCAIS — Inter
   ===================================================== */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-VariableFont_opsz%2Cwght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-Italic-VariableFont_opsz%2Cwght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* =====================================================
   FONTES LOCAIS — Playfair Display
   ===================================================== */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* =====================================================
   CSS VARIABLES & RESET
   ===================================================== */
:root {
  /* Cores de Ação (Botões, Destaques) */
  --color-action-base:      #1e3d5c;
  --color-action-hover:     #152d44;
  --color-accent:           #c9a882; /* rose gold do logo */

  /* Cores de Fundo */
  --color-bg-base:          #faf8f5; /* off-white quente */
  --color-bg-surface:       #ffffff;
  --color-bg-warm:          #f2ede7; /* creme para seções alternadas */
  --color-bg-inverse:       #1e3d5c; /* navy escuro (footer, card escuro) */

  /* Cores de Texto */
  --color-text-heading:     #1a2535;
  --color-text-base:        #4a5568;
  --color-text-muted:       #718096;
  --color-text-on-action:   #ffffff;
  --color-text-inverse:     #e2d9cf; /* texto claro sobre fundo escuro */

  /* Bordas */
  --color-border-subtle:    #e8e2da;

  /* Layout */
  --max-w:     72rem;
  --max-w-4xl: 56rem;

  /* Sombras */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transições */
  --transition: 0.2s ease;
}

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

/* =====================================================
   BASE
   ===================================================== */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: var(--color-bg-base);
  color: var(--color-text-heading);
}

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

/* =====================================================
   TIPOGRAFIA GLOBAL
   ===================================================== */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-text-heading);
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-base);
  line-height: 1.75;
  max-width: 48rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-block;
  background-color: var(--color-action-base);
  color: var(--color-text-on-action);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  transition: background-color var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background-color: var(--color-action-hover);
}

.btn-primary--hero:hover {
  transform: translateY(-0.25rem);
}

.btn-primary--sm {
  padding: 0.75rem 2rem;
}

.btn-primary--nav {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  box-shadow: none;
  font-weight: 500;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  background-color: var(--color-bg-surface);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.navbar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__brand {
  flex-shrink: 0;
}

.navbar__brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-action-base);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: opacity var(--transition);
}

.navbar__brand-link:hover {
  opacity: 0.85;
}

.navbar__logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}

.navbar__links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

/* Mobile menu open */
.navbar__links.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-bg-surface);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.25rem 1.5rem;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.navbar__links.is-open .navbar__link {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: 1rem;
}

.navbar__links.is-open .navbar__link:last-of-type {
  border-bottom: none;
}

.navbar__link {
  transition: color var(--transition);
  font-size: 0.9375rem;
  font-weight: 500;
}

.navbar__link:hover {
  color: var(--color-action-base);
}

.btn-primary--mobile {
  display: none;
  margin-top: 1rem;
  text-align: center;
  width: 100%;
}

.navbar__links.is-open .btn-primary--mobile {
  display: inline-block;
}

.btn-primary--desktop {
  display: none;
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.75rem;
  height: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.navbar__hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-heading);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.navbar__hamburger[aria-expanded="true"] .navbar__hamburger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.navbar__hamburger[aria-expanded="true"] .navbar__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger[aria-expanded="true"] .navbar__hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  padding-inline: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  text-align: center;
}

.hero-content__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background-color: #f5ede3;
  padding: 0.4rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.hero-content__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--color-text-heading);
  line-height: 1.25;
}

.hero-content__description {
  font-size: 1.0625rem;
  color: var(--color-text-base);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-photo {
  display: block;
  border-radius: 9999px;
  box-shadow: var(--shadow-xl);
  width: 18rem;
  height: 18rem;
  object-fit: cover;
  border: 4px solid var(--color-bg-surface);
}

/* =====================================================
   PAIN SECTION
   ===================================================== */
.pain-section {
  background-color: var(--color-bg-warm);
  padding-block: 5rem;
  padding-inline: 1.5rem;
}

.pain-section__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.pain-section__header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pain-card {
  background-color: var(--color-bg-surface);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
}

.pain-card__icon {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.pain-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 0.75rem;
}

.pain-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-base);
  line-height: 1.75;
}

/* =====================================================
   APPROACHES SECTION
   ===================================================== */
.approaches-section {
  background-color: var(--color-bg-surface);
  padding-block: 5rem;
  padding-inline: 1.5rem;
}

.approaches-section__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.approaches-section__header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.approach-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: var(--color-bg-base);
  border: 1px solid var(--color-border-subtle);
  transition: box-shadow var(--transition), transform var(--transition);
}

.approach-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.approach-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-action-base);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  margin-bottom: 1rem;
}

.approach-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-base);
  line-height: 1.8;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-section {
  background-color: var(--color-bg-warm);
  padding-block: 5rem;
  padding-inline: 1.5rem;
}

.process-section__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.process-content {
  flex: 1;
  text-align: center;
}

.process-content__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-text-heading);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.process-content__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-base);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.process-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-align: left;
  display: inline-flex;
}

.process-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-base);
  line-height: 1.65;
}

.process-list__item::before {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-accent);
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.process-image {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.process-logo {
  width: 13rem;
  height: 13rem;
  object-fit: contain;
  border-radius: 9999px;
  opacity: 0.9;
}

/* =====================================================
   HIGHLIGHT SECTION
   ===================================================== */
.highlight-section {
  background-color: var(--color-bg-surface);
  padding-block: 5rem;
  padding-inline: 1.5rem;
}

.highlight-section__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.highlight-card {
  padding: 2.5rem;
  border-radius: 1.25rem;
}

.highlight-card--dark {
  background-color: var(--color-bg-inverse);
}

.highlight-card--light {
  background-color: var(--color-bg-warm);
  border: 1px solid var(--color-border-subtle);
}

.highlight-card__quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.highlight-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.highlight-card--dark .highlight-card__title {
  color: var(--color-bg-surface);
}

.highlight-card--light .highlight-card__title {
  color: var(--color-text-heading);
}

.highlight-card__text {
  font-size: 0.9375rem;
  line-height: 1.8;
}

.highlight-card--dark .highlight-card__text {
  color: var(--color-text-inverse);
}

.highlight-card--light .highlight-card__text {
  color: var(--color-text-base);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
  background-color: var(--color-bg-base);
  padding-block: 5rem;
  padding-inline: 1.5rem;
}

.about-section__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.about-photo__img {
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-bg-surface);
}

.about-content {
  flex: 1;
  text-align: center;
}

.about-content__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.625rem;
}

.about-content__title {
  margin-bottom: 1.5rem;
}

.about-content__text {
  font-size: 1rem;
  color: var(--color-text-base);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-content__text:last-of-type {
  margin-bottom: 2rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background-color: var(--color-bg-inverse);
  color: var(--color-text-inverse);
  padding-block: 3rem;
  padding-inline: 1.5rem;
}

.footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.footer__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-bg-surface);
  margin-bottom: 1rem;
}

.footer__contact p {
  margin-bottom: 0.5rem;
}

.footer__contact p:last-child {
  margin-bottom: 0;
}

.footer__maps-link {
  color: var(--color-text-inverse);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.footer__maps-link:hover {
  color: var(--color-accent);
}

.footer__cta {
  text-align: left;
}

.footer__copyright {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* =====================================================
   RESPONSIVE — md (768px)
   ===================================================== */
@media (min-width: 768px) {
  /* Navbar */
  .navbar__hamburger { display: none; }

  .navbar__links {
    display: flex;
    flex-direction: row;
    position: static;
    box-shadow: none;
    padding: 0;
    animation: none;
  }

  .btn-primary--desktop { display: inline-block; }

  /* Hero */
  .hero-section {
    flex-direction: row;
    padding-top: 9rem;
  }

  .hero-content { text-align: left; }

  .hero-content__title { font-size: 2.625rem; }

  .hero-photo {
    width: 24rem;
    height: 24rem;
  }

  /* Pain */
  .pain-grid { grid-template-columns: repeat(3, 1fr); }

  /* Approaches */
  .approach-grid { grid-template-columns: repeat(3, 1fr); }

  /* Process */
  .process-section__inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .process-content { text-align: left; }

  /* Highlight */
  .highlight-section__inner { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-section__inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-content { text-align: left; }

  .about-photo__img {
    width: 22rem;
    height: 22rem;
  }

  /* Footer */
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__cta { text-align: right; }
}

/* =====================================================
   RESPONSIVE — lg (1024px)
   ===================================================== */
@media (min-width: 1024px) {
  .hero-content__title { font-size: 3.25rem; }
  .section-title       { font-size: 2.125rem; }
  .process-content__title { font-size: 2.125rem; }
}
