/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --hue-color: 206;
  --black-color: hsl(var(--hue-color), 4%, 4%);
  --black-color-alt: hsl(var(--hue-color), 4%, 8%);
  --title-color: hsl(var(--hue-color), 4%, 95%);
  --text-color: hsl(var(--hue-color), 4%, 75%);
  --text-color-light: hsl(var(--hue-color), 4%, 65%);
  --white-color: #fff;
  --body-color: hsl(var(--hue-color), 4%, 6%);
  --container-color: hsl(var(--hue-color), 4%, 10%);
  --text-gradient: linear-gradient(hsl(210, 20%, 98%), hsl(210, 20%, 92%));
  --text-gradient-grey: linear-gradient(#e5e1e6, #c5d9e7);
  --text-gradient-neuter: linear-gradient(
    hsl(210, 25%, 96%),
    hsl(210, 10%, 88%)
  );
  --accent-gradient: linear-gradient(
    135deg,
    #c97a63 0%,
    #b46955 90%,
    #91564a 150%
  );
  --text-gradient-cooler: linear-gradient(#e5e1e6, #c5d9e7);
  --scroll-thumb-color: hsl(var(--hue-color), 4%, 16%);
  --scroll-thumb-color-alt: hsl(var(--hue-color), 4%, 20%);

  /* Cores principais baseadas no design */
  --primary-blue: #5b7e96;
  --primary-blue-dark: #323e48;
  --primary-blue-light: #c5d9e7;
  --accent-blue: #4a90e2;
  --ocean-blue: #2c5f7a;
  --cta-button: #f38d6b;
  --complementary: #d4a373;
  --complementary-hover: #b88759;
  --body-background: #e1e6eb;

  /* Cores neutras */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --off-white: #e5e1e6;
  --dark-gray: #495057;
  --text-dark: #212529;

  /* Cores de destaque */
  --success-green: #25d366;
  --warning-orange: #ff6b35;

  /*========== Font and typography ==========*/
  --body-font: "Montserrat", sans-serif;
  --biggest-font-size: 5rem;
  --bigger-font-size: 3.5rem;
  --big-font-size: 2.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --text-line-height: 2rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  /* Transições */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;

  /* Responsive: 2 breakpoints only - mobile (default) + desktop */
  --breakpoint-desktop: 1024px;
  --page-max-width: 1280px;
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--body-background);
}

body {
  margin: 0;
  max-width: none;
  min-height: 100vh;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-background);
  color: var(--primary-blue-dark);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--primary-blue-dark);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button,
input {
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/

.section {
  padding: 4rem 0 2rem;
}

/* Sponsor utility - legacy */
.sponsor.section {
  padding-top: 0;
}

.section__title {
  font-size: var(--bigger-font-size);
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.section__title-gradient {
  background: var(--text-gradient-grey);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.section__second--gradient {
  background: linear-gradient(rgba(91, 126, 150, 0.5), rgba(50, 62, 72, 0.8));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/*=============== LAYOUT ===============*/

.main {
  overflow: hidden; /*for animation and images*/
}

.container {
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid {
  display: grid;
}

/*=============== HEADER-HOME-WRAPPER ===============*/
/* <div class="header-home-wrapper"> - Video + Header + Hero */

/* ---- HEADER <header id="header"> ---- */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
}

@media (min-width: 1024px) {
  .header {
    padding-top: 0;
  }
}

/* Full-width glass bar behind nav (mobile + desktop) */
.header__bar {
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(20, 28, 35, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- NAV (inside header) ---- */

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem 1.25rem;
}


.nav__logo {
  display: flex;
  width: 15rem;
}

.nav__toggle {
  font-size: 1.5rem;
  color: var(--off-white);
  cursor: pointer;
  z-index: 120;
}


/* Mobile: hamburger menu (default) */
.nav__menu {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6rem 2rem 3rem;
  transform: translateY(-100%);
  transition: transform 0.4s ease, opacity 0.25s ease;
  background: rgba(20, 28, 35, 0.35);
  z-index: 1100;
  opacity: 1;
  visibility: hidden;
  pointer-events: auto;
}

.show-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}

.nav__link {
  color: var(--off-white);
  font-size: 1rem;
  text-transform: uppercase;
}

.nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color:white;
}

.nav__link:hover {
  opacity: 0.8;
}

/* Desktop: horizontal nav */
@media (min-width: 1024px) {
  .nav {
    height: calc(var(--header-height) + 1.5rem);
    padding: 0.75rem 2rem 1rem;
  }

  .nav__logo {
    width: 18rem;
  }

  .nav__menu {
    position: static;
    display: flex;
    transform: none;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 2.5rem;
  }

  .nav__link {
    font-size: var(--normal-font-size);
    text-transform: initial;
    color: var(--off-white);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }
}


/* ---- VIDEO BACKGROUND ---- */

.header-home-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  


  .video__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: -1;
    filter: brightness(0.8) contrast(1.1);
  }
}

/* Soft blend into page below hero */
.header-home-wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: linear-gradient(to bottom, transparent, var(--body-background));
  pointer-events: none;
  z-index: 0;
}
.header-home-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* controla o fade aqui */

  background: linear-gradient(
    to bottom,
    transparent,
    var(--body-background)
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  pointer-events: none;
  z-index: 1; /* abaixo do conteúdo, acima do vídeo */
}
/* Darker brownish upper half → lighter / whiter toward bottom (readability for hero copy) */

@media (min-width: 1024px) {
  .header-home-wrapper {
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  }

  
}


/* ---- HERO / HOME <section id="home"> ---- */

.home__section {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 2rem 1rem 0;
  position: relative;
  z-index: 100;
}

@media (max-width: 1023px) {
  .home__data {
    margin-top: 2.5rem; /* Pequeno ajuste para não colar no logo */
  }

  .home__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 110;
    background: transparent;
    padding-bottom: 0rem; /* Espaço para não bater no final da tela */
  }

  .button__hero {
    display: flex !important;
    background-color: var(--complementary) !important; /* Cor sólida */
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    justify-content: center;
    position: relative !important;
    z-index: 999 !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 1rem !important;
    width: fit-content;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
  }
}

.home-wrapper {
  width: 100%;
}

.home__container{
  width: 100%;
  max-width: 560px;
}


.home__img-container {
  width: 100%;
  max-width: 250px;
  object-fit: content;
  margin: auto;
  overflow: hidden;
  border-radius: 24px;
}

@media (max-width: 1023px) {
  .home__img-container {
    width: 100%;
  max-width: 250px;
  aspect-ratio: 3 / 4; /* mantém proporção bonita */
  overflow: hidden;
  border-radius: 24px;
  }

  .button__hero {
    display: flex !important;
    background-color: var(--complementary) !important; /* Cor sólida */
    align-self: center !important;
    position: relative !important;
    z-index: 999 !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 1rem !important;
    width: fit-content;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
  }
}



.home__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3); 
  object-position: center;
}

/* Mobile: stacked, centered */
.home__data {
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  z-index: 50;
}

.home__header {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.home__title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #F4F1ED;
  opacity: 1;
}

.home__subtitle {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 1;
  margin-bottom: 2rem;
  color: #F4F1ED;
}

/* Prevent mobile OS from styling CRP numbers as phone links */
.crp-no-link,
.home__subtitle {
  -webkit-text-fill-color: #f4f1ed;
  color: #f4f1ed;
}

.crp-no-link {
  font-weight: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}


.home__title-description {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #F4F1ED;
  opacity: 1;
  
}

.home__description {
  opacity: 0.9;
  color: white;
  text-align: center;
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: 1rem;
  opacity: 1;
}

/* Hero button above blur - ensure clickable and visible */
.home__footer .button {
  position: relative;
  z-index: 25;
}

.home__footer {
  position: relative;
  z-index: 20;
  padding-bottom: 3rem;
}

/* Desktop: side-by-side hero */
@media (min-width: 1024px) {
  .home__section {
    padding: 8rem 2rem 5rem;
    min-height: 90svh;
    align-items: center;
  }

  .home__data {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-areas: "image text";
    align-items: center;
    text-align: left;
    gap: 1rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }

  .home__img-container {
    grid-area: image;
    max-width: 420px;
    margin: 0;
  }

  .home__header {
    grid-area: text;
    align-items: flex-start;
  }

  .home__title {
    font-size: clamp(3rem, 5vw, 5rem);
  }

  .home__description {
    text-align: left;
  }

  .home__footer .button {
    align-self: flex-start;
  }

  .home__container {
    max-width: 1100px;
  }
}

/*=============== SHARED COMPONENTS ===============*/
/* Buttons - used in header, hero, footer */

.button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--complementary);
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}
.button__hero{
  background: var(--complementary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  font-weight: var(--font-semi-bold);
  position: relative;  
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  z-index: 999;
}
.button_nav {
  display: inline-block;
  background-color: var(--complementary);
  opacity: 1;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  border-radius: 2.5rem;
  transition: 0.3s;
  
}

.button_nav:hover {
  background-color: var(--complementary-hover);
  color: var(--off-white);
}

.button__icon {
  font-size: 1.2rem;
}

.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: 0.75rem;
  z-index: 30;
}

/*=============== MAIN CONTENT ===============*/
/* <main> - About, Help, Curriculum, Approach, Testimonials, FAQ */

/* ---- ABOUT <section class="about"> (Sobre mim) ---- */

.about {
  position: relative;
  background: url("../img/Quadriculado.png");
  width: 100%;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--body-background) 0%,
    rgba(244,241,239,0) 15%,
    rgba(244,241,239,0) 85%,
    var(--body-background) 100%
  );
  pointer-events: none;
}

.about__title h2 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  margin-bottom: 2rem;
  margin-left: 1.5rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .about__title h2 {
    margin-bottom: 4rem;
    margin-left: 4rem;
  }
}


.about__text--main {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  background: rgba(229, 225, 230, 0.2);
  padding: 1.6rem;
}

.about__text--secondary {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.85;
  margin-top: 4rem;
  margin-left: 8rem; /* deslocamento estratégico */
  text-align: justify;
  background: rgba(229, 225, 230, 0.2);
  padding: 1.6rem;
}

.about__text--thirth {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.85;
  margin-top: 4rem;
  text-align: justify;
  background: rgba(229, 225, 230, 0.2);
  padding: 1.6rem;
}

.about__quote {
  margin-top: 6rem;
}

.about__quote blockquote {
  padding-top: 3rem;
  font-size: 2rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--primary-blue-dark);
  position: relative;
  text-align: justify;
}

.about__quote blockquote::before {
  content: "“";
  font-size: 6rem;
  position: absolute;
  left: -2rem;
  top: -2rem;
  opacity: 0.6;
}

/* Mobile: stacked layout, no overlap */
.about__wrapper {
  position: relative;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

.about__text--main,
.about__text--secondary,
.about__text--thirth {
  max-width: 100%;
  margin-left: 0;
  margin-top: 0;
}

.about__image {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0;
}

.about__image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.about__quote {
  margin-top: 1rem;
}

.about__quote blockquote {
  font-size: 1.4rem;
}

.about__quote blockquote::before {
  font-size: 4rem;
  left: -1.5rem;
  top: -1rem;
}

@media (min-width: 1024px) {
  .about__wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    row-gap: 1.25rem;
    align-items: start;
  }

  .about__text--main {
    grid-column: 1;
    grid-row: 1;
    max-width: 600px;
  }

  .about__text--secondary {
    grid-column: 1;
    grid-row: 2;
    max-width: 520px;
    margin-left: 0;
    margin-top: 0;
  }

  .about__text--thirth {
    grid-column: 1;
    grid-row: 3;
    max-width: 600px;
    margin-top: 0;
  }

  .about__image {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 460px;
    justify-self: end;
    align-self: start;
  }

  .about__quote {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
    align-self: start;
    max-width: 460px;
    justify-self: end;
  }

  .about__quote blockquote {
    font-size: 2rem;
  }

  .about__quote blockquote::before {
    font-size: 6rem;
  }
}

/* ---- HELP <section id="ajudar"> (Como posso te ajudar?) ---- */

.help {
  padding: 2rem 1.5rem 3rem;
  margin-top: 2rem;
}

.help .approach__header {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.25rem;
  text-align: left;
}

.help .approach__header h2 {
  margin-left: 0;
  margin-bottom: 1.5rem;
}

/* Mobile: single column */
.help__data {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .help {
    padding: 4rem 2rem;
    margin-top: 4rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  .help__data {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* CARD */
.card {
  width: 100%;
  aspect-ratio: 1;
  min-height: 200px;
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* INNER (é quem gira) */
.card__inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
}

/* FLIP */
.card.flipped .card__inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK */
.card__front,
.card__back {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FRONT */
.card__front {
  background: rgba(229, 225, 230, 0.6);
  backdrop-filter: blur(35px);
  overflow: hidden;
}

.card__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* BACK */
.card__back {
  background: rgba(91, 126, 150, 0.85);
  opacity: 0.8;
  color: white;
  transform: rotateY(180deg);
  flex-direction: column;
  text-align: center;
  padding: 30px;
}
.card__back h3,
.card__back p {
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

.card.flipped .card__back h3,
.card.flipped .card__back p {
  opacity: 1;
}

/* Mobile hint animation: half flip preview without click */
@keyframes cardHintFlip {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(90deg);
  }
}

.card.card--hint .card__inner {
  animation: cardHintFlip 1s ease;
}


.help__title {
  font-size:clamp(2rem,4vw,4.5rem);
  font-weight: var(--font-medium);
}

.help__explain {
  position: relative;
  width: calc(100% - 1.25rem);
  max-width: 920px;
  margin: 2rem auto;
  padding: 2rem 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.14);
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.1)
    ),
    url("../img/symbolwithstars.png");
  background-size: auto, cover;
  background-position: center, center;
  background-blend-mode: normal, soft-light;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.help__subtitle {
  position: relative;
  letter-spacing: 1px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--white);
  text-align: justify;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1023px) {
  .help__explain {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-image: linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
      url("../img/symbolwithstars.png");
  }

  .help__subtitle {
    color: var(--white);
    text-shadow: none;
    font-size: 0.95rem;
    text-align: left;
  }
}

/* FAQ: tighter padding on mobile */
@media (max-width: 1023px) {
  .faq__container {
    padding: 0 1rem;
  }
}

/* Curriculum image smaller on mobile */
@media (max-width: 1023px) {
  .curriculum__img {
    max-width: 300px;
  }
}

/* Improve desktop blur so it doesn't cover CTA */
@media (min-width: 1024px) {
  .header-home-wrapper::before {
    height: min(16vh, 150px);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

.logo__help {
  margin-top: 2rem;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center; 
}

.logo__help img {
  width: 30%;
  height: auto;
}

@media (min-width: 1024px) {
  .help__explain {
    width: calc(100% - 3rem);
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2.75rem 3rem;
  }

  .help__subtitle {
    font-size: 1.2rem;
    line-height: 1.85;
  }
}

/* ---- CURRICULUM <section id="curriculum"> (Formação & Currículo) ---- */

.curriculum {
  position: relative;
  padding: 8rem 0;
  background: url("../img/Quadriculado.png");
  overflow: hidden;
}

.curriculum::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--body-background) 0%,
    rgba(244,241,239,0) 15%,
    rgba(244,241,239,0) 85%,
    var(--body-background) 100%
  );
  pointer-events: none;
}

/* Shape orgânico atrás */
.curriculum__bg-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(183,168,146,0.4), transparent 70%);
  top: -100px;
  left: -100px;
  z-index: 0;
}

/* Container */
.curriculum__content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4rem;
  z-index: 2;
}

/* GLASS REAL */
.glass {
  background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(35px);
    border: 1px solid rgba(255,255,255,0.4);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 28px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
      0 20px 60px rgba(0,0,0,0.08),
      inset 0 1px 1px rgba(255,255,255,0.6);
}

/* Glow suave */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}

/* Texto */
.curriculum__subtitle {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9c8d7a;
}

.section__title {
  font-size: 2.6rem;
  margin: 1rem 0 1.5rem;
}

.curriculum__description {
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

/* Lista elegante */
.curriculum__list {
  list-style: none;
  padding: 0;
}

.curriculum__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 1rem;
  color: #444;
}

.curriculum__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: #b7a892;
  border-radius: 50%;
}

/* Imagem */
.curriculum__image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.curriculum__img {
  max-width: 400px;
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease;
}

.curriculum__img:hover {
  transform: scale(1.04);
}

.curriculum__content {
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .curriculum__container {
    max-width: 880px;
  }

  .curriculum {
    padding: 5rem 0;
  }

  .curriculum__content {
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
  }

  .curriculum__text.glass {
    padding: 2.25rem 2.5rem;
  }

  .curriculum .section__title {
    font-size: 2rem;
  }

  .curriculum__description {
    font-size: 0.95rem;
  }

  .curriculum__img {
    max-width: 280px;
  }
}

/* ---- APPROACH <section class="approach"> (Abordagens) ---- */

.approach {
  position: relative;
  margin: 3rem auto;
  max-width: 1180px;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .approach {
    margin: 5rem auto;
    padding: 0 2rem;
  }
}

.approach__header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 4px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Mobile: single column */
.approach__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.approach__main {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 100%;
  margin-left: 0;
  text-align: justify;
}

.approach__secondary {
  font-size: 0.95rem;
  line-height: 1.9;
  text-align: justify;
  max-width: 100%;
  margin-top: 0;
}

.approach__main p::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 0.9;
  margin-right: 0.6rem;
  color: var(--complementary);
  font-weight: 500;
}

.approach__secondary p::first-letter {
  float: left;
  font-size: 3rem;
  line-height: 0.9;
  margin-right: 0.5rem;
  color: var(--primary-blue);
}

@media (min-width: 1024px) {
  .approach__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
  }

  .approach__main {
    font-size: 1.2rem;
    max-width: 560px;
    margin-left: 8rem;
  }

  .approach__secondary {
    font-size: 1rem;
    max-width: 520px;
    margin-top: 6rem;
  }

  .approach__header h2 {
    margin-bottom: 3rem;
    font-size: 3.5rem;
  }
}




/* ---- TESTIMONIALS <section id="depoimentos"> (Depoimentos) ---- */

.testimonials-section {
  background: var(--body-background);
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}

.carousel-track-container {
  overflow: hidden;
  padding: 12px 0 30px;
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  transition: transform 0.5s ease;
}

/* Card */
.review-item {
  flex: 0 0 calc(100% / 3 - 16px); /* 3 visíveis */
  background: var(--white);
  min-height: 380px;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #f2f2f2;
  transition: all 0.5s ease;
  align-items: center;

  opacity: 0.4;
  transform: scale(0.94);
  filter: blur(1px);
}


.review-item.is-active {
  opacity: 1;
  transform: scale(1.03) translateY(-4px);
  filter: blur(0);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  z-index: 3;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  padding: 0;
  color: #333;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  text-align: left;
  -webkit-overflow-scrolling: touch;
  word-break: break-word;
  text-align: justify;
}

.testimonial-author {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-top: 0.5rem;
  margin-top: auto;
  text-align: left;
}

.rating {
  color: #f5b301;
  margin-bottom: 6px;
}

.testimonial-author span {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #888;
  white-space: nowrap;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.2;
  transition: 0.3s;
}

.carousel-btn:hover {
  opacity: 1;
}

.prev {
  left: 8px;
}

.next {
  right: 8px;
}

@media (min-width: 1024px) {
  .prev {
    left: -30px;
  }

  .next {
    right: -30px;
  }
}

/* Indicadores */
.carousel-dots {
  margin-top: 40px;
  
}

.carousel-dots span {
  display: inline-block;

}

.carousel-dots span.active {
  background: #111;
}

/* Mobile: 1 item visible */
.review-item {
  flex: 0 0 100%;
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

@media (min-width: 1024px) {
  .review-item {
    flex: 0 0 calc(100% / 3 - 16px);
    opacity: 0.4;
    transform: scale(0.94);
    filter: blur(1px);
  }

  .review-item.is-active {
    opacity: 1;
    transform: scale(1.03) translateY(-4px);
    filter: blur(0);
  }
}




/* ---- FAQ <section id="faq"> ---- */

.faq__container {
  background: url(../img/Quadriculado.png);
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  margin: 0;
  /* backdrop-filter: blur(20px); */
  position: relative;
}

.faq__container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--body-background) 0%,
    rgba(244,241,239,0) 15%,
    rgba(244,241,239,0) 85%,
    var(--body-background) 100%
  );
  pointer-events: none;
}

.accordion {
  width: 100%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.accordion-header {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, transition;
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}


.accordion-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-blue-dark);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(229, 225, 230, 0.2);
}

.accordion-content-inner {
  padding: 20px;
  color: var(--primary-blue-dark);
}

.accordion-item.active .accordion-content {
  max-height: 560px;
}


/*=============== SCROLL UP ===============*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  background-color: var(--complementary);
  border-radius: 0.25rem;
  padding: 0.45rem;
  opacity: 0.9;
  z-index: var(--z-fixed);
  transition: 0.4s;
}

.scrollup:hover {
  background-color: var(--complementary-hover);
  transform: translateY(-4px);
  opacity: 1;
}

.scrollup__icon {
  color: var(--primary-blue-dark);
  font-size: 1.35rem;
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 5rem;
}

/*=============== SCROLL BAR ===============*/

::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-color-alt);
}

/* Desktop: container width */
@media (min-width: 1024px) {
  .container {
    max-width: 93%;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 6rem 0 2rem;
  }
}

/* ---- Reviews Link (inside testimonials) ---- */

.reviews-link-container {
  text-align: center;
  margin-top: 2rem;
}

.reviews-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: transparent;
  border: 2px solid #5b7e96;
  color: #5b7e96;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.reviews-link-button:hover {
  background-color: #5b7e96;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(91, 126, 150, 0.2);
}

.reviews-link-button i {
  font-size: 1.2rem;
}

/* ---- Social Media (inside testimonials) ---- */

.social-media-section {
  margin-top: 3rem;
}

.social-media-content {
  text-align: center;
}

.social-title {
  font-size: 1.125rem;
  color: var(--primary-blue-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
}

.social-networks {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-network-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #5b7e96;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.social-network-link:hover {
  background-color: #4a6f85;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(91, 126, 150, 0.25);
}

.social-network-link i {
  font-size: 1.2rem;
}

.social-network-link span {
  white-space: nowrap;
}

.reviews-link-container {
  text-align: center;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.reviews-link-button {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.social-media-section {
  margin-top: 2rem;
  padding: 0 1rem;
}

.social-title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-network-link {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

@media (min-width: 1024px) {
  .reviews-link-container {
    margin-top: 2rem;
    padding: 0;
  }

  .reviews-link-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .social-media-section {
    margin-top: 3rem;
    padding: 0;
  }

  .social-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .social-network-link {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .social-network-link i {
    font-size: 1.2rem;
  }
}

/*=============== FOOTER ===============*/
/* <footer class="footer-section"> */

.footer-section {
  background-color: var(--primary-blue-dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 200px;
  max-width: 200px;
  height: auto;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
  font-weight: 500;
}

.footer-contact-link:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-contact-link i {
  font-size: 1.2rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;

}

.footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-link--extended {
  width: auto;
  min-width: unset;
  height: auto;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  gap: 0.5rem;
}

.footer-social-handle {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  gap: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Mobile: stacked footer, standardized logo */
.footer-section {
  padding: 2rem 0 1.5rem;
}

.footer-container {
  padding: 0 1.5rem;
}

.footer-content {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.footer-logo {
  width: 120px;
  max-width: 120px;
}

@media (min-width: 1024px) {
  .footer-section {
    padding: 3rem 0 2rem;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .footer-logo {
    width: 200px;
    max-width: 200px;
  }
}
