/* ============================================================
   PROJETO PERFILADOS — style.css
   Cores: #333333 | #bd282a | #0181bd
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lulo+Clean:wght@400;700&display=swap');

/* ---------- VARIÁVEIS ---------- */
:root {
  --red: #bd282a;
  --blue: #0181bd;
  --dark: #333333;
  --dark-80: rgba(51, 51, 51, 0.92);
  --white: #ffffff;
  --off-white: #f5f5f5;
  --light-gray: #e8e8e8;
  --font-body: 'Poppins', sans-serif;
  --font-display: 'Lulo Clean', 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --radius: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

a { text-decoration: none; transition: var(--transition); }

/* ---------- TYPOGRAPHY HELPERS ---------- */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(1, 129, 189, 0.1);
  border-left: 3px solid var(--blue);
  padding: 4px 12px 4px 10px;
  margin-bottom: 16px;
  border-radius: 0 4px 4px 0;
}
.section-tag--light {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 20px;
}
.section-title--light { color: var(--white); }

.section-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 14px;
}
.section-text--light { color: rgba(255,255,255,0.85); }
.section-text--center { max-width: 640px; }

.text-accent { color: var(--red); }

/* ---------- BUTTONS ---------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(189, 40, 42, 0.25);
}
.btn-primary-custom:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 6px 24px rgba(189, 40, 42, 0.18);
  transform: translateY(-2px);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  transition: var(--transition);
}
.btn-nav-cta:hover {
  background: transparent;
  color: var(--red) !important;
}

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: var(--radius);
  border: 2px solid var(--white);
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.btn-cta-hero:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 10px 32px rgba(189,40,42,0.35);
  transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
#mainNav {
  background: transparent;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  z-index: 1000;
}
#mainNav.scrolled {
  background: var(--dark);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}

.nav-logo {
  height: 52px;
  width: auto;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.2s;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover { color: var(--white) !important; }

/* Hamburger personalizado */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 8px;
  outline: none !important;
  box-shadow: none !important;
}
.navbar-toggler-icon-custom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.navbar-toggler-icon-custom span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 991.98px) {
  #mainNav {
    background: var(--dark);
    padding: 12px 0;
  }
  .navbar-collapse {
    background: var(--dark);
    padding: 16px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 10px;
  }
  .navbar-nav .nav-link { padding: 12px 20px !important; }
  .navbar-nav .nav-link::after { left: 20px; right: 20px; }
  .btn-nav-cta { margin: 12px 20px 0; width: calc(100% - 40px); justify-content: center; }
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.55) 100%
  );
}
.hero-content { position: relative; z-index: 2; }

.hero-text-col { padding-top: 90px; padding-bottom: 40px; }

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(1,129,189,0.15);
  border: 1px solid rgba(1,129,189,0.4);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}
.hero-services {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero-services .divider { color: rgba(255,255,255,0.3); }
.hero-subtitle {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 12px;
}
.hero-desc {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero-form-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* Form card hero */
.hero-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  border-top: 4px solid var(--red);
  margin-top: 90px;
}
.form-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-card-title span { color: var(--red); }
.form-card-subtitle {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 22px;
}

/* ---------- SECTION PADDED ---------- */
.section-padded { padding: 88px 0; }
.section-dark { background: var(--dark); }
.section-dark .section-text { color: rgba(255,255,255,0.75); }

/* ---------- SECTION IMAGE ---------- */
.section-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: visible;
}
.section-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
}
.img-accent-bar {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 8px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 4px;
}
.img-accent-bar--left {
  right: auto;
  left: -16px;
}

/* ---------- DIFERENCIAIS ---------- */
.diferencial-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.diferencial-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.diferencial-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red), #e84a4c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(189,40,42,0.3);
}
.diferencial-list h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.diferencial-list p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.6;
}

/* ---------- BENEFÍCIOS ---------- */
.col-lg-2dot4 {
  width: 20%;
}
.beneficio-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 16px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-bottom: 3px solid var(--red);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.beneficio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.13);
  border-bottom-color: var(--blue);
}
.beneficio-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.beneficio-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.beneficio-text {
  font-size: 0.85rem;
  color: var(--dark);
  text-align: center;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

/* ---------- HISTÓRIA STAT ---------- */
.historia-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(1,129,189,0.12);
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- PARA QUEM ---------- */
.para-quem-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  aspect-ratio: 2 / 3;   /* proporção portrait — igual à imagem de referência */
  background: var(--dark);
}
.para-quem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* a imagem ocupa o card inteiro */
.para-quem-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.para-quem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.para-quem-card:hover .para-quem-img { transform: scale(1.04); }

/* label sobreposta na parte inferior, fundo vermelho */
.para-quem-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 12px;
  margin: 0;
  line-height: 1.35;
  transition: background 0.3s ease;
}
.para-quem-card:hover .para-quem-label { background: #a01f21; }

.para-quem-footer {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ---------- CTA POR QUE ---------- */
.cta-por-que {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-por-que-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
}

.cta-por-que-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(51,51,51,0.92) 0%,
    rgba(1,129,189,0.25) 60%,
    rgba(189,40,42,0.25) 100%
  );
}

.cta-por-que-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

/* centralização e leitura melhor */
.cta-por-que .section-text {
  max-width: 600px;
}

.porquê-highlight {
  max-width: 520px;
}

/* ---------- FOOTER ---------- */
#footer {
  background: #1a1a1a;
  padding: 52px 0 28px;
  color: rgba(255,255,255,0.72);
}
.footer-logo {
  height: 56px;
  width: auto;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}
.footer-contact {
  font-size: 0.82rem;
  line-height: 2;
}
.footer-contact p { margin: 0; color: rgba(255,255,255,0.65); }
.footer-contact i { color: var(--blue); }
.footer-socials { display: flex; gap: 12px; justify-content: center; }
@media (min-width: 992px) { .footer-socials { justify-content: flex-end; } }
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 36px 0 18px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ---------- FORM STYLES (Bootstrap overrides) ---------- */
.form-control, .form-select {
  border-radius: var(--radius);
  border: 1.5px solid var(--light-gray);
  padding: 11px 14px;
  font-size: 0.92rem;
  color: var(--dark);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1,129,189,0.12);
}
.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
}
.btn-submit, input[type="submit"], button[type="submit"] {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(189,40,42,0.22);
}
.btn-submit:hover, input[type="submit"]:hover, button[type="submit"]:hover {
  background: transparent;
  color: var(--red);
}

/* ============================================================
   RESPONSIVIDADE MOBILE
   ============================================================ */

@media (max-width: 991.98px) {
  .section-padded { padding: 60px 0; }

  /* Hero */
  .hero-text-col { padding-top: 100px; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-form-card { margin-top: 32px; }

  /* Section images */
  .section-img { height: 280px; }
  .img-accent-bar { display: none; }

   
}

@media (max-width: 767.98px) {
  .section-padded { padding: 48px 0; }

  /* Benefícios: 2 por linha */
  .col-lg-2dot4 { width: 50%; }

  /* Hero */
  .hero-section { min-height: auto; padding-bottom: 48px; }
  .hero-form-card { padding: 24px 18px; margin-top: 24px; }
  .hero-title { font-size: 2.2rem; }
  .hero-services { font-size: 0.78rem; gap: 6px; }

  /* Section texts */
  .section-title { font-size: 1.45rem; }
  .section-text { font-size: 0.95rem; }

  /* Diferencial */
  .diferencial-icon { width: 40px; height: 40px; font-size: 1.1rem; }

  /* Historia stat */
  .stat-number { font-size: 2.2rem; }

  /* Footer */
  .footer-contact { text-align: center; font-size: 0.8rem; }
  .footer-logo { height: 44px; }

  /* CTA */
  .cta-section { padding: 70px 0; }
  .cta-title { font-size: 1.9rem; }

  
}

@media (max-width: 575.98px) {
  .container { padding-left: 20px; padding-right: 20px; }

  /* Benefícios: 1 por linha em telas muito pequenas */
  .col-lg-2dot4 { width: 100%; }

  /* Para quem: 1 por linha */
  .col-6.col-md-3 { width: 100%; }

  .btn-primary-custom, .btn-cta-hero {
    width: 100%;
    justify-content: center;
  }

  .historia-stat { flex-direction: column; text-align: center; gap: 8px; }
  .stat-number { font-size: 2.8rem; }
}

/* ---------- SCROLL ANIMATION (opcional, sem JS extra) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text-col > * {
  animation: fadeUp 0.7s ease both;
}
.hero-text-col > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text-col > *:nth-child(2) { animation-delay: 0.2s; }
.hero-text-col > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text-col > *:nth-child(4) { animation-delay: 0.4s; }
.hero-text-col > *:nth-child(5) { animation-delay: 0.5s; }
.hero-text-col > *:nth-child(6) { animation-delay: 0.6s; }
.hero-form-card { animation: fadeUp 0.8s 0.45s ease both; }

/* ===== FIX MOBILE PARA QUEM ===== */
@media (max-width: 991.98px) {
  .para-quem-img-wrap {
    position: absolute;
    inset: 0;
    height: 100%; /* garante ocupar o card */
  }
}

@media (max-width: 767.98px) {
  .para-quem-img-wrap {
    height: 100%; /* remove o corte */
  }
}