/* =========================================================
   IDENTIDADE VISUAL — AQUARELA VIVA INTENSA
   ========================================================= */

:root {
  /* Paleta principal viva */
  --color-primary: #FF6A1A;      /* Laranja forte */
  --color-primary-dark: #D94E00; /* Laranja queimado */
  --color-secondary: #23252A;    /* Chumbo escuro elegante */

  --color-bg: #F5F6FB;
  --color-bg-alt: #FFFFFF;

  --color-text: #23252A;
  --color-text-light: #6F7379;
  --color-border: #E0E3EA;

  /* Aquarelas intensas (em opacidade) */
  --accent-blue: rgba(85, 147, 255, 0.35);
  --accent-green: rgba(0, 196, 140, 0.3);
  --accent-pink: rgba(255, 97, 165, 0.35);

  --radius-sm: 10px;
  --radius-md: 18px;

  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 14px 35px rgba(0, 0, 0, 0.16);

  --max-width: 1180px;
  --header-height: 92px;

  --transition-fast: 0.2s ease;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top left,
      rgba(255, 246, 233, 0.85),
      rgba(245, 246, 252, 1) 40%,
      rgba(238, 244, 255, 1));
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
}

/* =========================================================
   TIPOGRAFIA GLOBAL
   ========================================================= */

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--color-secondary);
}

p, li {
  color: var(--color-text);
}

/* Pequeno toque de personalidade em títulos */
h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--accent-pink),
    var(--accent-blue),
    var(--accent-green)
  );
  opacity: 0.8;
}

/* =========================================================
   CONTAINERS & SEÇÕES
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.section--alt {
  background: rgba(255, 255, 255, 0.95);
}

.section__header {
  text-align: center;
  margin-bottom: 3.3rem;
}

.section__header h2 {
  font-size: 2.3rem;
}

.section__header p {
  color: var(--color-text-light);
  margin-top: 1rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Separador “pincel” entre seções */
.section::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 120%;
  height: 70px;
  background: linear-gradient(90deg,
    var(--accent-blue),
    var(--accent-pink),
    var(--accent-green),
    var(--accent-blue)
  );
  opacity: 0.3;
  filter: blur(8px);
  pointer-events: none;
}

/* =========================================================
   HEADER / MENU
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo__img {
  height: 76px;
  width: auto;
}

.logo__img--small {
  height: 46px;
}

.header__nav {
  display: flex;
  gap: 1.8rem;
}

.header__nav a {
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.98rem;
  padding-bottom: 2px;
  position: relative;
  transition: color var(--transition-fast);
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-blue));
  transition: width var(--transition-fast);
}

.header__nav a:hover {
  color: var(--color-primary-dark);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-secondary);
}

/* =========================================================
   HERO — AQUARELA VIVA INTENSA
   ========================================================= */

.hero {
  position: relative;
  padding: 6.2rem 0 5rem;
  overflow: hidden;
}

/* Fundo aquarela animado */
.hero__background-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, var(--accent-pink), transparent 55%),
    radial-gradient(circle at 100% 0%, var(--accent-blue), transparent 55%),
    radial-gradient(circle at 0% 100%, var(--accent-green), transparent 55%);
  opacity: 0.9;
  z-index: 0;
}

/* Bolhas aquareladas animadas */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.5;
  z-index: 0;
}

.hero::before {
  width: 220px;
  height: 220px;
  background: var(--accent-pink);
  top: -60px;
  left: 10%;
  animation: blobMove1 14s ease-in-out infinite alternate;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: var(--accent-blue);
  bottom: -80px;
  right: 5%;
  animation: blobMove2 16s ease-in-out infinite alternate;
}

@keyframes blobMove1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 40px) scale(1.1); }
}

@keyframes blobMove2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -20px) scale(1.08); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 58% 42%; /* texto | carrossel */
  align-items: center;
  gap: 3.2rem;
}

.hero__text h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--color-secondary);
}

.hero__subtitle {
  margin: 1.5rem 0 2.3rem;
  font-size: 1.15rem;
  max-width: 520px;
  color: #1e2024;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Moldura artística da foto */
.hero__image img {
  width: 100%;
  display: block;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  border: 5px solid rgba(255, 255, 255, 0.9);
  outline: 2px dashed rgba(255, 106, 26, 0.45);
  outline-offset: 12px;
}

/* =========================================================
   BOTÕES
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease, color 0.18s ease;
}

.btn--hero {
  box-shadow: var(--shadow-sm);
}

.btn--primary {
  background: radial-gradient(circle at 0 0, #FFD3B3, transparent 60%),
              linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--color-primary);
  color: var(--color-primary-dark);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   GRIDS
   ========================================================= */

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2cols {
  grid-template-columns: repeat(2, 1fr);
}

/* =========================================================
   SOBRE
   ========================================================= */

.sobre__grid {
  align-items: start;
}

.sobre__texto p + p {
  margin-top: 1rem;
}

.sobre__cards {
  display: grid;
  gap: 1.2rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.card--mv {
  position: relative;
  overflow: hidden;
}

.card--mv::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 106, 26, 0.18),
    transparent 60%
  );
}

/* =========================================================
   SEGMENTOS
   ========================================================= */

.segmentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.segmento-card {
  background: #fff;
  border-radius: 22px;
  padding: 2.1rem 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.segmento-card__header {
  height: 7px;
  width: 70px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--accent-pink),
    var(--accent-blue),
    var(--accent-green)
  );
  margin-bottom: 1rem;
}

.segmento-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 106, 26, 0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.segmento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.segmento-card:hover::after {
  opacity: 1;
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 2rem;
}

.diferencial-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--color-primary);
}

/* =========================================================
   ESTRUTURA
   ========================================================= */

.estrutura__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.estrutura-item img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.estrutura-item figcaption {
  margin-top: 0.6rem;
  color: var(--color-text-light);
}

/* =========================================================
   NOTÍCIAS
   ========================================================= */

.noticias__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.noticia-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-primary);
}

.noticia-card__data {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* =========================================================
   MATRÍCULAS
   ========================================================= */

.list {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.list li + li {
  margin-top: 0.25rem;
}

.matriculas__desc {
  margin-top: 1rem;
  color: var(--color-text-light);
}

/* =========================================================
   FORMULÁRIOS
   ========================================================= */

.form {
  background: #fff;
  padding: 1.9rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form__group {
  margin-bottom: 1.2rem;
}

.form label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #f9fafc;
  font-size: 0.95rem;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 106, 26, 0.28);
}

.form__feedback {
  font-size: 0.9rem;
}

/* =========================================================
   CONTATO / ÍCONE INSTAGRAM
   ========================================================= */

.contact-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.social-svg svg {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-svg:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 6px 12px rgba(255, 106, 26, 0.45));
}

/* =========================================================
   RODAPÉ
   ========================================================= */

.footer {
  margin-top: 2.5rem;
  background: radial-gradient(circle at top left,
      rgba(255, 122, 51, 0.5),
      #15161a 55%);
  color: #fff;
  padding: 2.6rem 0;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 980px) {
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__image {
    order: -1;
  }
}

@media (max-width: 768px) {

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: var(--header-height);
    right: 1.5rem;
    background: #fff;
    padding: 1rem 1.3rem;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition-fast);
  }

  .header__nav.header__nav--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .grid--2cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero__text h1 {
    font-size: 2.3rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   REPLICAÇÃO DO EFEITO AQUARELA PARA DEMAIS CARDS
   ========================================================= */

/* DIFERENCIAIS */
.diferencial-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.diferencial-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 106, 26, 0.25), transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.diferencial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.diferencial-card:hover::after {
  opacity: 1;
}

/* NOTÍCIAS */
.noticia-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.noticia-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 106, 26, 0.25), transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.noticia-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.noticia-card:hover::after {
  opacity: 1;
}

/* MISSÃO, VISÃO, VALORES */
.card--mv {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card--mv::after {
  content: "";
  position: absolute;
  bottom: -35px;
  right: -25px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 106, 26, 0.25), transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card--mv:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card--mv:hover::after {
  opacity: 1;
}

/* =========================================================
   CARROSSEL NO HERO
   ========================================================= */

.hero__image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Container do carrossel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Todas as imagens ocupam 100% da metade direita */
.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Imagem ativa */
.hero-carousel img.active {
  opacity: 1;
}
/* =========================================================
   CARROSSEL COMPATÍVEL COM FOTOS DE INSTAGRAM (1:1 / 4:5)
   ========================================================= */

.hero__image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;

}

/* Ajuste para fotos de redes sociais */
.hero-carousel img {
  position: absolute;
  inset: 0;
  max-width: 100%;
  max-height: 100%;

  margin: auto;
  object-fit: contain; /* preserva 1:1, 4:5, 16:9 */

  /* Remove qualquer distorção */
  width: auto;
  height: auto;

  /* Transição suave */
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-carousel img.active {
  opacity: 1;
}


/* BOTÃO FLUTUANTE WHATSAPP — PREMIUM */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.25s ease;
  border: 3px solid #fff;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   HERO — Versão Mobile com Imagens Oficiais
   ========================================================= */

@media (max-width: 980px) {

  .hero__image {
    width: 100%;
    height: 350px; /* garante boa área no mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .hero-carousel {
    width: 100%;
    height: 100%;
  }

  .hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* preenche sem sobras */
    object-position: center top; /* texto/logos bem visíveis */
    opacity: 0;
    transition: opacity 1s ease;
  }

  .hero-carousel img.active {
    opacity: 1;
  }

  /* Imagens Mobile corretas */
  .hero-carousel img:nth-child(1) {
    content: url("assets/img/hero-mobile-1.jpg");
  }

  .hero-carousel img:nth-child(2) {
    content: url("assets/img/hero-mobile-2.jpg");
  }

  .hero-carousel img:nth-child(3) {
    content: url("assets/img/hero-mobile-3.jpg");
  }

  .hero-carousel img:nth-child(4) {
    content: url("assets/img/hero-mobile-4.jpg"); /* vou gerar essa pra você */
  }
}
