/* ===========================
   CSS VARIABLES & RESET
   =========================== */
:root {
  /* Palette – soft cyan / blue tones inspired by the logo */
  --color-primary: #5eaab5;
  --color-primary-dark: #3d8a99;
  --color-primary-light: #9ad3db;
  --color-secondary: #7ec8d4;
  --color-secondary-light: #c8edf2;
  --color-accent: #4a9eae;
  --color-bg: #fbfdfe;
  --color-bg-alt: #eef7f9;
  --color-bg-dark: #2a4f58;
  --color-text: #3a4a4e;
  --color-text-light: #6b8187;
  --color-text-inverse: #fbfdfe;
  --color-white: #ffffff;
  --color-border: #d5e8ec;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.1);
  --transition: .3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ===========================
   UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-label--center {
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.3;
  margin-bottom: 24px;
}

.section-title--center {
  text-align: center;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--nav {
  padding: 10px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-size: .85rem;
}

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

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

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

.header__logo img {
  height: 60px;
  width: auto;
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-white);
  padding: 100px 30px 40px;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
}

.header__nav.active {
  right: 0;
}

.header__nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header__nav ul li a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.header__nav ul li a:hover {
  color: var(--color-primary);
}

.header__nav ul li:last-child {
  margin-top: 16px;
}

.header__nav ul li:last-child a {
  text-align: center;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

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

.hero__image {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--color-white);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

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

.hero__content {
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-primary-dark);
  line-height: 1.4;
  margin-bottom: 16px;
  max-width: 540px;
}

.hero__subtitle {
  font-size: .95rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 28px;
  letter-spacing: .5px;
}

/* ===========================
   SOBRE
   =========================== */
.sobre {
  padding: 80px 0;
  background: var(--color-white);
}

.sobre__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sobre__image {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sobre__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.sobre__content {
  text-align: center;
}

.sobre__content p {
  margin-bottom: 16px;
  color: var(--color-text);
  text-align: left;
}

.sobre__content p:last-of-type {
  margin-bottom: 28px;
}

/* ===========================
   FORMAÇÃO
   =========================== */
.formacao {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.formacao__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formacao__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.formacao__icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.formacao__list li span:last-child {
  font-size: .95rem;
  line-height: 1.5;
}

/* ===========================
   CURSO
   =========================== */
.curso {
  padding: 80px 0;
  background: var(--color-white);
  text-align: center;
}

.curso__intro {
  max-width: 700px;
  margin: 0 auto 40px;
}

.curso__intro p {
  font-size: 1.05rem;
  color: var(--color-text);
}

.curso__aprendizados {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
}

.curso__aprendizados h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  text-align: center;
}

.curso__aprendizados ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.curso__aprendizados li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--color-text);
}

.curso__bullet {
  flex-shrink: 0;
  color: var(--color-primary);
}

.curso__destaque {
  max-width: 640px;
  margin: 0 auto 36px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius);
  color: var(--color-text-inverse);
}

.curso__destaque p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
}

/* ===========================
   MODALIDADES
   =========================== */
.modalidades {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.modalidades__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.modalidades__card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.modalidades__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.modalidades__card--secondary {
  background: var(--color-bg);
  border: 2px dashed var(--color-border);
  box-shadow: none;
}

.modalidades__card--secondary:hover {
  box-shadow: var(--shadow-sm);
}

.modalidades__card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.modalidades__badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.modalidades__badge--soon {
  background: var(--color-secondary);
}

.modalidades__card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.modalidades__card p {
  margin-bottom: 14px;
  font-size: .95rem;
}

.modalidades__card p:last-of-type {
  margin-bottom: 24px;
}

/* ===========================
   PARA QUEM
   =========================== */
.para-quem {
  padding: 80px 0;
  background: var(--color-white);
}

.para-quem__grid {
  max-width: 700px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.para-quem__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-bg);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary);
  transition: transform var(--transition);
}

.para-quem__item:hover {
  transform: translateX(4px);
}

.para-quem__check {
  font-size: 1.3rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.para-quem__item p {
  font-size: .95rem;
}

.para-quem__cta {
  text-align: center;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 40px 0;
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

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

.footer__logo img {
  height: 65px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
}

.footer__info p {
  font-size: .9rem;
  line-height: 1.6;
  opacity: .85;
}

.footer__copy {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
  width: 100%;
}

.footer__copy p {
  font-size: .8rem;
  opacity: .6;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--color-text-inverse);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: all var(--transition);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

/* ===========================
   HEADER SOCIAL ICONS
   =========================== */
.header__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.header__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  transition: all var(--transition);
}

.header__social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===========================
   WHATSAPP BUTTON STYLE
   =========================== */
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===========================
   ANIMATIONS (scroll reveal)
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   OVERLAY (mobile menu)
   =========================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===========================
   DESKTOP BREAKPOINT (768px+)
   =========================== */
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  .section-title {
    font-size: 2.25rem;
  }

  /* Header */
  .header__menu-btn {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .header__nav ul {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .header__nav ul li a {
    font-size: .88rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
  }

  .header__nav ul li:last-child {
    margin-top: 0;
    margin-left: 8px;
  }

  .header__social {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-left: 12px;
  }

  .hero__ctas {
    justify-content: flex-start;
  }

  .sobre__content {
    text-align: left;
  }

  /* Hero */
  .hero {
    padding: 120px 0 80px;
  }

  .hero__inner {
    flex-direction: row;
    gap: 60px;
    text-align: left;
  }

  .hero__image {
    width: 320px;
    height: 320px;
  }

  .hero__content {
    text-align: left;
  }

  .hero__title {
    font-size: 2rem;
  }

  /* Sobre */
  .sobre {
    padding: 100px 0;
  }

  .sobre__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .sobre__image {
    min-width: 320px;
    max-width: 360px;
    margin: 0;
  }

  /* Formacao */
  .formacao {
    padding: 100px 0;
  }

  /* Curso */
  .curso {
    padding: 100px 0;
  }

  /* Modalidades */
  .modalidades {
    padding: 100px 0;
  }

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

  /* Para Quem */
  .para-quem {
    padding: 100px 0;
  }

  .para-quem__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ===========================
   LARGE DESKTOP (1024px+)
   =========================== */
@media (min-width: 1024px) {
  .hero__image {
    width: 360px;
    height: 360px;
  }

  .hero__title {
    font-size: 2.3rem;
  }

  .sobre__image {
    min-width: 380px;
  }
}
