/* ===========================
   Design System & Variables
   =========================== */
:root {
  --color-primary: #0D3B66;
  --color-primary-light: #1a5276;
  --color-accent: #2E86C1;
  --color-bg-light: #D6E8F5;
  --color-bg-lighter: #EBF4FA;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-whatsapp: #25D366;

  --font-family: 'Montserrat', sans-serif;
  --container-max: 1200px;
  --header-height: 80px;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* ===========================
   Reset & Base
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ===========================
   Accessibility
   =========================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Global focus-visible */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ===========================
   Reduced Motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}

/* ===========================
   Utilities
   =========================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent {
  color: var(--color-accent);
  font-style: italic;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}

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

.btn--primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 0.95rem;
}

/* ===========================
   Header
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-white);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo-img {
  height: 36px;
  width: auto;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: 28px;
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__cta {
  display: none;
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 991px) {
  .header__nav.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .header__nav.is-open .header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .header__nav.is-open .header__nav-link {
    font-size: 1.25rem;
  }
}

@media (min-width: 992px) {
  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-block;
  }

  .header__hamburger {
    display: none;
  }
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  background: var(--color-white);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero__content {
  text-align: center;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 32px;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 550px;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__girl {
  position: relative;
  z-index: 2;
  max-height: 380px;
  width: auto;
}

.hero__collage {
  position: absolute;
  right: -20px;
  top: 0;
  width: 320px;
  z-index: 1;
}

.hero__icon {
  position: absolute;
  z-index: 3;
}

.hero__icon--music {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
}

.hero__icon--cloud {
  bottom: 60px;
  left: 10%;
  width: 60px;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
  }

  .hero__content {
    flex: 1;
    text-align: left;
    padding-right: 40px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__visual {
    flex: 1;
    min-height: 450px;
  }

  .hero__girl {
    max-height: 450px;
  }

  .hero__collage {
    width: 380px;
    right: -40px;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .hero__girl {
    max-height: 500px;
  }

  .hero__collage {
    width: 440px;
  }

  .hero__icon--music {
    width: 60px;
  }

  .hero__icon--cloud {
    width: 70px;
  }
}

/* ===========================
   Services
   =========================== */
.services {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.services__heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card__img-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--color-bg-light);
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .services__heading {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .services__heading {
    font-size: 2rem;
  }

  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===========================
   Evaluation Section
   =========================== */
.evaluation {
  padding: 80px 0;
  background: var(--color-white);
}

.evaluation__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.evaluation__content {
  text-align: center;
}

.evaluation__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.evaluation__desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 560px;
}

.evaluation__image {
  max-width: 350px;
}

.evaluation__img {
  width: 100%;
}

@media (min-width: 768px) {
  .evaluation__inner {
    flex-direction: row;
  }

  .evaluation__content {
    flex: 1;
    text-align: left;
  }

  .evaluation__image {
    flex: 0 0 300px;
  }

  .evaluation__title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .evaluation__image {
    flex: 0 0 380px;
  }
}

/* ===========================
   ABA Section
   =========================== */
.aba {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.aba__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.aba__image {
  max-width: 320px;
}

.aba__img {
  width: 100%;
}

.aba__content {
  text-align: center;
}

.aba__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.aba__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.aba__desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 560px;
}

@media (min-width: 768px) {
  .aba__inner {
    flex-direction: row-reverse;
  }

  .aba__content {
    flex: 1;
    text-align: left;
  }

  .aba__image {
    flex: 0 0 280px;
  }

  .aba__title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .aba__image {
    flex: 0 0 350px;
  }
}

/* ===========================
   Team Section
   =========================== */
.team {
  padding: 80px 0;
  background: var(--color-white);
}

.team__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.team__image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-bg-light);
  flex-shrink: 0;
}

.team__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team__content {
  text-align: center;
}

.team__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.team__role {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.team__credentials {
  list-style: none;
  margin-bottom: 32px;
}

.team__credentials li {
  font-size: 0.95rem;
  color: var(--color-text-light);
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}

.team__credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

@media (min-width: 768px) {
  .team__inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .team__content {
    text-align: left;
  }

  .team__image {
    width: 280px;
    height: 280px;
  }

  .team__title {
    font-size: 2rem;
  }
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  padding: 80px 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.contact__heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 48px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.contact__label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact__text {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact__text a {
  transition: opacity var(--transition);
}

.contact__text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact__text a:hover {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================
   FAQ Section
   =========================== */
.faq {
  padding: 80px 0;
  background: var(--color-bg-lighter);
}

.faq__heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 48px;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}

.faq__question:hover {
  background: var(--color-bg-lighter);
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-accent);
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===========================
   Footer
   =========================== */
.footer {
  padding: 32px 0;
  background: var(--color-primary);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer__links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

/* ===========================
   WhatsApp Float
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ===========================
   Cookie Banner
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  z-index: 1100;
  padding: 20px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner__content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.9;
  text-align: center;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 24px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.cookie-banner__link {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.cookie-banner__link:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .cookie-banner__content {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner__text {
    text-align: left;
  }
}

/* ===========================
   Legal Pages (Privacidade / Termos)
   =========================== */
.legal-page {
  padding: calc(var(--header-height) + 48px) 0 80px;
}

.legal-page__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.legal-page__updated {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.legal-page__content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page__content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-page__content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page__content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.legal-page__content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__content a:hover {
  color: var(--color-primary);
}
