/* ==========================================================================
   IA Brasil  –  Futuristic Eco-Minimal CSS
   ========================================================================== */

/* --------------  Root & Reset -------------- */
:root {
  /* Tetrad Palette */
  --clr-primary: #0bd67b;          /* verde vibrante */
  --clr-primary-dark: #099c5c;
  --clr-secondary: #1e88e5;        /* azul intenso */
  --clr-secondary-dark: #166ab2;
  --clr-tertiary: #ffb300;         /* amarelo solar */
  --clr-tertiary-dark: #cc8d00;
  --clr-quaternary: #d81b60;       /* magenta futurista */
  --clr-quaternary-dark: #a31447;

  /* Neutros */
  --clr-dark: #222222;
  --clr-light: #f5f7fa;
  --clr-muted: #7a7a7a;

  /* Gradientes & Vidro */
  --gradient-hero: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
  --glass-bg: rgba(255, 255, 255, 0.15);
  --backdrop: blur(8px) saturate(180%);

  /* Tipografia */
  --ff-heading: 'Playfair Display', serif;
  --ff-body: 'Source Sans Pro', sans-serif;

  /* Espaçamento */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;

  /* Dimensões */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 28px;
  --shadow-elevate: 0 6px 18px rgba(0,0,0,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-dark);
  line-height: 1.6;
  background: var(--clr-light);
}

/* --------------  Utils -------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section { padding: var(--space-lg) 0; }
.section-title {
  font-family: var(--ff-heading);
  font-size: 2.25rem;
  text-align: center;
  color: var(--clr-dark);
  margin-bottom: var(--space-md);
  text-shadow: 1px 1px 3px rgba(0,0,0,.15);
}
.section-intro { max-width: 760px; margin: 0 auto var(--space-lg); text-align: center; }

/* --------------  Header -------------- */
.header {
  width: 100%;
  position: fixed;
  top: 0; left: 0;
  z-index: 900;
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) 0; }
.logo { font-family: var(--ff-heading); font-size: 1.5rem; color: var(--clr-dark); text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: var(--space-md); }
.nav a {
  color: var(--clr-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color .3s ease;
}
.nav a:hover { color: var(--clr-primary); }
/* Burger */
.burger { display: none; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--clr-dark); margin: 5px 0; transition: all .3s; }

/* --------------  Hero -------------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background-size: cover; background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
}
.hero .container { width: 100%; }
.hero-title {
  font-family: var(--ff-heading);
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  animation: sketchFade 1s ease-out both;
}
.hero-subtitle { max-width: 700px; margin: 0 auto var(--space-md); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

/* --------------  Buttons -------------- */
.btn, button, input[type='submit'] {
  display: inline-block;
  padding: .8rem 1.5rem;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  background: var(--clr-secondary);
  color: #ffffff;
}
.btn:hover, button:hover, input[type='submit']:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevate); }
.btn.primary { background: var(--clr-primary); }
.btn.secondary { background: var(--clr-secondary); }
.btn.outline {
  background: transparent;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
}
.btn.outline:hover { background: var(--clr-primary); color: #ffffff; }

/* --------------  Toggle (Eco-Modo) -------------- */
.toggle { display: flex; align-items: center; gap: .4rem; cursor: pointer; }
.toggle input { display: none; }
.toggle .slider {
  width: 42px; height: 22px;
  background: var(--clr-muted);
  border-radius: 22px; position: relative;
  transition: background .3s ease;
}
.toggle .slider::after {
  content: ''; width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  position: absolute; top: 2px; left: 2px;
  transition: transform .3s ease;
}
.toggle input:checked + .slider { background: var(--clr-primary); }
.toggle input:checked + .slider::after { transform: translateX(20px); }
.label-text { font-size: .85rem; color: #ffffff; }

/* --------------  Workshops Grid -------------- */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

/* --------------  Cards (Universal) -------------- */
.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevate); }
.card-image { width: 100%; height: 240px; overflow: hidden; }
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.card:hover .card-image img { transform: scale(1.05); }
.card-content { padding: var(--space-sm) var(--space-md) var(--space-md); }

/* --------------  Resource List -------------- */
.resource-list { max-width: 800px; margin: 0 auto; list-style: none; }
.resource-list li { margin-bottom: var(--space-sm); line-height: 1.4; }
.resource-list a { color: var(--clr-secondary); font-weight: 600; }
.resource-list a:hover { color: var(--clr-secondary-dark); text-decoration: underline; }

/* --------------  Stories -------------- */
.story {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.story.reverse { flex-direction: row-reverse; }
.story-image { flex: 1 1 320px; }
.story-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.story-content { flex: 1 1 320px; }

/* --------------  Methodology Steps -------------- */
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

/* --------------  Instructors -------------- */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}
.instructors-grid .card-image { height: 260px; }

/* --------------  Careers -------------- */
.career-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

/* --------------  Contact Form -------------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-sm);
}
.contact-form label { display: flex; flex-direction: column; font-weight: 600; color: var(--clr-dark); }
.contact-form input, .contact-form textarea {
  padding: .65rem;
  border: 1px solid var(--clr-muted);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--clr-primary); outline: none; }

/* --------------  Footer -------------- */
.footer { background: var(--clr-dark); color: #ffffff; padding: var(--space-md) 0; }
.footer-content { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.footer-logo { font-family: var(--ff-heading); font-size: 1.4rem; margin-bottom: .4rem; }
.footer-nav a,
.footer a { color: #ffffff; text-decoration: none; margin-right: var(--space-sm); }
.footer a:hover { color: var(--clr-primary); text-decoration: underline; }
.footer-col { flex: 1 1 220px; }

/* --------------  Modal -------------- */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease;
  z-index: 950;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-content {
  background: #ffffff;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  width: 90%; max-width: 540px;
  animation: sketchFade .4s ease-out both;
}
.modal .close {
  background: none;
  border: 0;
  font-size: 1.8rem;
  position: absolute;
  top: var(--space-sm); right: var(--space-sm);
  cursor: pointer;
  color: var(--clr-dark);
}

/* --------------  Parallax -------------- */
.parallax { background-attachment: fixed; }

/* --------------  Glassmorphism Utility -------------- */
.glass { background: var(--glass-bg); backdrop-filter: var(--backdrop); }

/* --------------  Success Page -------------- */
.success-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}

/* --------------  Privacy & Terms -------------- */
.legal-page { padding-top: 100px; }

/* --------------  Read-More Link -------------- */
.read-more {
  display: inline-block;
  margin-top: var(--space-xs);
  color: var(--clr-quaternary);
  font-weight: 600;
  position: relative;
  transition: color .3s ease;
}
.read-more::after {
  content: '';
  display: block;
  width: 0%; height: 2px;
  background: var(--clr-quaternary);
  transition: width .3s ease;
}
.read-more:hover { color: var(--clr-quaternary-dark); }
.read-more:hover::after { width: 100%; }

/* --------------  Social Icons (Text-Based) -------------- */
.footer a::before {
  content: '➜ ';
  color: var(--clr-tertiary);
  font-weight: 700;
}

/* --------------  Animations (Hand-Drawn) -------------- */
@keyframes sketchFade {
  0% { opacity: 0; filter: drop-shadow(0 0 4px rgba(0,0,0,.4)); transform: scale(.92); }
  80% { filter: drop-shadow(0 0 2px rgba(0,0,0,.2)); }
  100% { opacity: 1; filter: none; transform: scale(1); }
}

/* --------------  Media Queries -------------- */
@media (max-width: 768px) {
  .nav.is-desktop { display: none; }
  .burger { display: block; }
  .nav.is-mobile {
    position: fixed; top: 0; right: -100%;
    height: 100vh; width: 240px;
    background: var(--clr-light);
    flex-direction: column; justify-content: center;
    gap: var(--space-md); text-align: center;
    transition: right .3s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,.15);
  }
  .nav.is-mobile.active { right: 0; }
  .nav.is-mobile ul { flex-direction: column; }
  .story, .story.reverse { flex-direction: column; }
}
section{
  padding: 10px;
}
.hero-title {
    font-family: var(--ff-heading);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    animation: sketchFade 1s ease-out both;
}
.burger{
  display: none;
}
/* ==========================================================================
   FIM
   ========================================================================== */