/* =====================================================
   GUOB – Grupo de Usuários Oracle do Brasil
   ===================================================== */

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

:root {
  --red:       #e4201b;
  --red-dark:  #b81916;
  --red-bg:    #e4201b;
  --black:     #1a1a1a;
  --white:     #ffffff;
  --gray:      #555;
  --font:      'Montserrat', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 780px; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 48px; width: auto; }

.sobre-logo img { max-width: 638px; width: 100%; height: auto; margin: 0 auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.main-nav a {
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.main-nav a:hover { background: #f2f2f2; }

.header-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-social a {
  color: var(--black);
  display: flex;
  align-items: center;
  transition: color .15s;
}
.header-social a:hover { color: var(--red); }
.header-social svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background: var(--red-bg) url('fotos/fundo.png') center center / cover no-repeat;
  min-height: 75vh;
  padding: 80px 0 100px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-deco--tl {
  position: absolute;
  top: 50%;
  left: -220px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: rgba(0,0,0,.10);
  border-radius: 50%;
}

.hero-deco--tr {
  position: absolute;
  top: 10%;
  right: -120px;
  width: 680px;
  height: 680px;
  background: rgba(0,0,0,.10);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 26px;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,.85);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 400;
}

.btn-hero {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-size: 17px;
  font-weight: 600;
  padding: 10px 36px;
  border-radius: 50px;
  border: 2px solid var(--white);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-hero:hover {
  background: transparent;
  color: var(--white);
}

/* Onda inferior do hero */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* =====================================================
   SOBRE NÓS
   ===================================================== */
.sobre {
  padding: 90px 0 80px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
}
.section-title.red { color: var(--red); }

.sobre p {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.sobre-logo {
  margin: 56px auto 0;
  max-width: 638px;
}
.sobre-logo svg { width: 100%; height: auto; }

/* =====================================================
   GALERIA
   ===================================================== */
.galeria {
  position: relative;
  background: var(--red-bg);
  /* fundo assimétrico: borda superior inclinada à esquerda, inferior à direita */
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  padding: 80px 0 90px;
  margin: -30px 0;
}

.galeria-wave-top,
.galeria-wave-bot { display: none; }

.galeria-inner {
  padding: 0 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.galeria-main {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(0,0,0,.2);
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.galeria-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galeria-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.galeria-thumb {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.2);
  aspect-ratio: 4/3;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.galeria-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   PORQUE FAZER PARTE
   ===================================================== */
.porque {
  padding: 90px 0;
  background: var(--white);
}

.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.porque-visual svg,
.porque-visual img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.porque-texto h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--red);
  line-height: 1.25;
  margin-bottom: 20px;
}

.porque-texto p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
}

.porque-texto ul {
  list-style: disc;
  padding-left: 20px;
}
.porque-texto ul li {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 8px;
}

/* =====================================================
   VOLUNTÁRIOS
   ===================================================== */
.voluntarios {
  position: relative;
  background: var(--red-bg);
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 100%);
  padding: 90px 0 110px;
  text-align: center;
  margin: -30px 0;
}

.voluntarios-wave-top { display: none; }

.voluntarios h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.voluntarios-sub {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  max-width: 860px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}

.team-photo {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.15);
  margin-bottom: 14px;
  border: 3px solid rgba(255,255,255,.3);
  flex-shrink: 0;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo.photo-placeholder {
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  text-align: center;
}

.team-company {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.3;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--white);
  border-radius: 4px;
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: 0;
  transition: opacity .15s;
  text-decoration: none;
}
.team-linkedin:hover { opacity: .85; }
.team-linkedin svg { display: none; }
.team-linkedin::after { content: 'in'; }

/* =====================================================
   CADASTRO
   ===================================================== */
.cadastro {
  background: var(--red-bg);
  padding: 80px 0 90px;
}

.cadastro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.cadastro-texto h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cadastro-texto p {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

.cadastro-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
}

.cadastro-form { display: flex; flex-direction: column; gap: 20px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.form-field .required { color: var(--red); }

.form-field input {
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
.form-field input::placeholder { color: #bbb; letter-spacing: .5px; }
.form-field input:focus { border-color: var(--red); }

.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .15s;
}
.phone-input:focus-within { border-color: var(--red); }

.phone-flag {
  padding: 12px 12px;
  font-size: 14px;
  background: #f5f5f5;
  border-right: 1px solid #d0d0d0;
  white-space: nowrap;
  user-select: none;
  color: var(--black);
}

.phone-input input {
  border: none;
  border-radius: 0;
  flex: 1;
}
.phone-input input:focus { border-color: transparent; }

.btn-cadastro {
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
  font-family: var(--font);
  margin-top: 4px;
}
.btn-cadastro:hover { background: var(--red-dark); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #f0f0f0;
  padding: 24px 0;
  text-align: center;
}

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

.footer-copy {
  font-size: 14px;
  color: var(--black);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.footer-social a {
  color: var(--black);
  display: flex;
  align-items: center;
  transition: color .15s;
}
.footer-social a:hover { color: var(--red); }
.footer-social svg { width: 20px; height: 20px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .porque-grid { grid-template-columns: 1fr; gap: 40px; }
  .porque-visual { display: none; }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-side { grid-template-columns: repeat(2, 1fr); }
  .cadastro-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .main-nav, .header-social { display: none; }
  .main-nav.open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .main-nav.open ul { flex-direction: column; }
  .nav-toggle { display: flex; }
  .hero { padding: 72px 0 100px; }
  .team-grid { gap: 24px; }
  .team-card { width: 120px; }
  .team-photo { width: 90px; height: 90px; }
}

/* =====================================================
   BREVO FORM OVERRIDES
   ===================================================== */
#sib-container .input,
#sib-container select.input {
  height: 52px;
  font-size: 16px;
  padding: 0 14px;
  box-sizing: border-box;
  line-height: 52px;
  font-family: var(--font);
}

#sib-container .sib-sms-input {
  display: flex;
  gap: 0;
}

#sib-container .sib-sms-input select.input {
  width: auto;
  flex-shrink: 0;
  border-right: none;
  border-radius: 3px 0 0 3px;
}

#sib-container .sib-sms-input .entry__field:last-child .input {
  border-radius: 0 3px 3px 0;
}

#sib-container .sib-form-block__button {
  height: 52px;
  font-size: 18px;
  padding: 0 32px;
  line-height: 52px;
  width: 100%;
}
