/**
 * Fundação Mirim — Fundação Mirim Regente Feijó
 * Design System v3 — 2026
 * Paleta azul moderna com separações claras de seção
 */

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --navy:        #00345D;
  --navy-dark:   #001f3d;
  --navy-light:  #00487e;
  --blue:        #045D9F;
  --blue-mid:    #1a6fb5;
  --blue-light:  #2877B0;
  --blue-pale:   #e8f2fb;
  --blue-soft:   #cce0f5;
  --gold:        #F7C03B;
  --gold-dark:   #D9A32A;
  --gold-pale:   #fef9ec;

  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;

  --white: #ffffff;
  --text:  #1a2940;

  --radius-sm: 0.375rem;
  --radius:    0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-sm: 0 1px 3px rgba(0,52,93,.08), 0 1px 2px rgba(0,52,93,.04);
  --shadow-md: 0 4px 16px rgba(0,52,93,.1),  0 2px 6px rgba(0,52,93,.06);
  --shadow-lg: 0 12px 32px rgba(0,52,93,.14), 0 4px 8px rgba(0,52,93,.06);
  --shadow-xl: 0 24px 56px rgba(0,52,93,.18);

  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
  --section-pad: 80px 0;
}

/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--blue-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", "Open Sans", sans-serif;
  line-height: 1.25;
  color: var(--navy);
}

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

/* ── Botão voltar ao topo ────────────────────────────────── */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.back-to-top i { font-size: 22px; color: var(--navy); line-height: 0; }
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-3px); }
.back-to-top.active { visibility: visible; opacity: 1; }

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
#header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  transition: var(--transition);
  z-index: 997;
  height: 140px;
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
  border-bottom: 3px solid var(--gold);
}

#header.header-scrolled {
  height: 80px;
  background: rgba(0,29,58,.97);
}

#header .logo {
  font-size: 26px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

#header .logo a { color: var(--gold); }

#header .logo img {
  max-height: 120px;
  transition: max-height .3s;
}

#header.header-scrolled .logo img { max-height: 65px; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar { padding: 0; }

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li { position: relative; }

.navbar > ul > li { white-space: nowrap; padding: 10px 0 10px 20px; }

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  padding: 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: var(--transition);
  position: relative;
}

.navbar > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

.navbar a:hover::after,
.navbar .active::after,
.navbar li:hover > a::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--gold);
}

/* Dropdown */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 20px);
  margin: 0;
  padding: 8px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
  min-width: 180px;
}

.navbar .dropdown ul a {
  padding: 9px 20px;
  font-size: 13px;
  color: var(--gray-700);
  text-transform: none;
  letter-spacing: 0;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--blue);
  background: var(--blue-pale);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  color: var(--gold);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: var(--transition);
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}

.navbar-mobile {
  position: fixed;
  inset: 0;
  background: rgba(0,20,40,.95);
  backdrop-filter: blur(8px);
  transition: .3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--gold);
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 60px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow-y: auto;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 12px 20px;
  font-size: 15px;
  color: var(--gray-700);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a { color: var(--blue); }

.navbar-mobile > ul > li { padding: 0; }

.navbar-mobile a::after { display: none; }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
#hero {
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

#hero .carousel-item {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-item img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#hero .carousel-item::before {
  content: '';  
  inset: 0;  
  z-index: 1;
}

/* Seta do carrossel */
#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  width: 50px;
  height: 50px;
  font-size: 28px;
  line-height: 0;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(247,192,59,.25);
  border-color: var(--gold);
  color: var(--gold);
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: rgba(255,255,255,.5);
  border: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: var(--transition);
}

#hero .carousel-indicators li.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* Fade transition */
#hero .carousel-inner .carousel-item { transition-property: opacity; }
#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end { opacity: 0; }
#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end { opacity: 1; transition: .6s; }
#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end { left: 0; transform: translate3d(0,0,0); }

/* ══════════════════════════════════════════════════════════
   SEPARADOR DE SEÇÃO — elemento visual chave
   ══════════════════════════════════════════════════════════ */

/* Cada section recebe um fundo alternado e borda superior colorida */
section {
  padding: var(--section-pad);
  position: relative;
}

/* Linha decorativa acima dos títulos de seção */
.section-title {
  text-align: center;
  padding-bottom: 2.5rem;
  position: relative;
}

.section-title::before {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title p { color: var(--gray-500); font-size: 1rem; }

/* ── Seção com fundo claro ───────────────────────────────── */
.section-bg {
  background: linear-gradient(160deg, var(--blue-pale) 0%, #f0f7ff 100%);
  border-top: 1px solid var(--blue-soft);
  border-bottom: 1px solid var(--blue-soft);
}

/* Separador visual entre seções (borda-wave sintética via box-shadow) */
section + section:not(.section-bg) {
  box-shadow: inset 0 4px 0 var(--blue-pale);
}

section.section-bg + section:not(.section-bg) {
  box-shadow: none;
}

/* ══════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════ */
#about {
  background: var(--white);
  border-top: 5px solid var(--navy);
}

.about .content { padding: 20px 0; }

.about .content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.about .content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

.about .content p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
}

.about .content a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .7rem 1.8rem;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.about .content a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--gold);
}

.about .image {
  background: url('../img/about.jpg') center center / cover no-repeat;
  min-height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about .image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,52,93,.2) 0%, transparent 60%);
  border-radius: var(--radius-lg);
}

.about .content .icon-box { margin-top: 1.5rem; }
.about .content .icon-box i { font-size: 40px; float: left; color: var(--gold); }
.about .content .icon-box h4 { font-size: 1.1rem; font-weight: 700; margin: 4px 0 8px 56px; color: var(--navy); }
.about .content .icon-box p  { font-size: .9rem; color: var(--gray-500); margin-left: 56px; }

@media (max-width: 991px) {
  .about .image { min-height: 280px; margin-bottom: 2rem; }
}

/* ══════════════════════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════════════════════ */
#why-us {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#why-us .section-title h2 { color: var(--white); }
#why-us .section-title p  { color: rgba(255,255,255,.7); }
#why-us .section-title::before { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }

.why-us .box {
  padding: 2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}

.why-us .box span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: .5rem;
}

.why-us .box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}

.why-us .box p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin: 0;
}

.why-us .box:hover {
  background: rgba(247,192,59,.12);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

.why-us .box:hover span,
.why-us .box:hover h4 { color: var(--gold); }

.why-us .box:hover p { color: rgba(255,255,255,.85); }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════════════════════ */
#portfolio { background: var(--white); }

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 2rem auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 7px 18px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  margin: 4px;
  transition: var(--transition);
  border-radius: 50px;
  border: 2px solid var(--gray-200);
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.portfolio .portfolio-wrap {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.portfolio .portfolio-wrap::before {
  content: '';
  background: linear-gradient(180deg, transparent 30%, rgba(0,29,58,.85) 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
}

.portfolio .portfolio-wrap img { transition: transform .5s ease; }

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: var(--transition);
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: .25rem;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  text-transform: uppercase;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: var(--white);
  font-size: 1.5rem;
  display: inline-block;
  margin-right: .5rem;
  transition: var(--transition);
}

.portfolio .portfolio-wrap .portfolio-links a:hover { color: var(--gold); }

.portfolio .portfolio-wrap:hover::before { opacity: 1; }
.portfolio .portfolio-wrap:hover img { transform: scale(1.08); }
.portfolio .portfolio-wrap:hover .portfolio-info { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════ */
#faq { background: var(--gray-50); }

.faq .faq-list {
  padding: 0 80px;
  max-width: 860px;
  margin: 0 auto;
}

.faq .faq-list ul { padding: 0; list-style: none; }

.faq .faq-list li + li { margin-top: 1rem; }

.faq .faq-list li {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.faq .faq-list li:hover {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow-md);
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0 2rem 0 2.25rem;
  color: var(--navy);
  outline: none;
  cursor: pointer;
}

.faq .faq-list .icon-help {
  font-size: 1.35rem;
  position: absolute;
  left: 0;
  top: .1rem;
  color: var(--gold);
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 1.2rem;
  position: absolute;
  right: 0;
  top: 0;
  color: var(--blue);
}

.faq .faq-list p {
  margin: .75rem 0 0 0;
  padding: 0;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq .faq-list .icon-show { display: none; }

.faq .faq-list a.collapsed { color: var(--gray-700); }
.faq .faq-list a.collapsed:hover { color: var(--blue); }
.faq .faq-list a.collapsed .icon-show { display: inline-block; }
.faq .faq-list a.collapsed .icon-close { display: none; }

@media (max-width: 1200px) { .faq .faq-list { padding: 0; } }

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
#contact {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  top: -200px; right: -150px;
}

#contact .section-title h2 { color: var(--white); }
#contact .section-title::before { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }

.contact .contact-info {
  margin-bottom: 2rem;
  text-align: center;
}

.contact .contact-address,
.contact .contact-phone,
.contact .contact-email {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: var(--transition);
}

.contact .contact-address:hover,
.contact .contact-phone:hover,
.contact .contact-email:hover {
  background: rgba(247,192,59,.1);
  border-color: rgba(247,192,59,.4);
  transform: translateY(-4px);
}

.contact .contact-info i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: .75rem;
  color: var(--gold);
}

.contact .contact-info h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}

.contact .contact-info address,
.contact .contact-info p {
  color: var(--white);
  font-size: .95rem;
  line-height: 1.7;
}

.contact .contact-info a { color: rgba(255,255,255,.85); }
.contact .contact-info a:hover { color: var(--gold); }

/* Form de contato */
.contact .php-email-form input,
.contact .php-email-form textarea {
  font-size: .9rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-300);
  transition: var(--transition);
  width: 100%;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4,93,159,.15);
  outline: none;
}

.contact .php-email-form button[type=submit] {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  border: 0;
  padding: .8rem 2.5rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .875rem;
}

.contact .php-email-form button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,192,59,.4);
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #c0392b;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #27ae60;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(255,255,255,.1);
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  color: var(--white);
}

@keyframes animate-loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.contact .php-email-form .loading::before {
  content: '';
  display: inline-block;
  border-radius: 50%;
  width: 22px; height: 22px;
  margin: 0 10px -5px 0;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: var(--gold);
  animation: animate-loading 1s linear infinite;
}

@media (min-width: 768px) {
  .contact .contact-phone {
    border-left: 1px solid rgba(255,255,255,.08) !important;
    border-right: 1px solid rgba(255,255,255,.08) !important;
  }
}

/* ══════════════════════════════════════════════════════════
   COUNTS
   ══════════════════════════════════════════════════════════ */
.counts { padding: 0 0 40px 0; }

.counts .count-box {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--blue);
  transition: var(--transition);
}

.counts .count-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.counts .count-box i {
  display: block;
  font-size: 2.5rem;
  color: var(--blue);
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  font-weight: 800;
  color: var(--navy);
  margin-left: 56px;
}

.counts .count-box p {
  padding: .75rem 0 0 0;
  margin: 0 0 0 56px;
  font-size: .875rem;
  color: var(--gray-500);
  font-family: "Roboto", sans-serif;
}

/* ══════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════ */
.services .icon-box {
  margin-bottom: 2rem;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.services .icon-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--blue-soft);
}

.services .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px; height: 80px;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-soft));
  border-radius: 50%;
  transition: var(--transition);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(4,93,159,.15);
}

.services .icon i { font-size: 2rem; line-height: 0; }

.services .icon-box:hover .icon {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
}

.services .title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  position: relative;
}

.services .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.services .title a { color: var(--navy); }
.services .title a:hover { color: var(--blue); }

.services .description { font-size: .875rem; color: var(--gray-500); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   CLIENTS
   ══════════════════════════════════════════════════════════ */
.clients { padding: 1rem 0; text-align: center; }
.clients img {
  max-width: 45%;
  display: inline-block;
  padding: 1rem 0;
  filter: grayscale(1) opacity(.6);
  transition: var(--transition);
}
.clients img:hover { filter: none; transform: scale(1.1); }
@media (max-width: 768px) { .clients img { max-width: 40%; } }

/* ══════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════ */
.team { background: var(--white); padding: 60px 0; }
.team .member {
  text-align: center;
  margin-bottom: 1.5rem;
  background: var(--navy-dark);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.team .member .member-info {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  transition: .3s;
}
.team .member:hover .member-info { background: rgba(0,0,0,.7); opacity: 1; }
.team .member h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.team .member span { color: rgba(255,255,255,.7); font-size: .8rem; font-style: italic; }
.team .member .social { margin-top: 1rem; }
.team .member .social a { color: var(--white); transition: color .3s; }
.team .member .social a:hover { color: var(--gold); }
.team .member .social i { font-size: 1.1rem; margin: 0 3px; }

/* ══════════════════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════════════════ */
.breadcrumbs {
  padding: 1rem 0;
  background: var(--blue-pale);
  border-bottom: 1px solid var(--blue-soft);
  min-height: 50px;
  margin-top: 140px;
}

.breadcrumbs h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
}

.breadcrumbs ol li { color: var(--gray-500); font-size: .875rem; }
.breadcrumbs ol li + li { padding-left: .5rem; }
.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: .5rem;
  color: var(--gray-400);
  content: '/';
}

.breadcrumbs ol li a { color: var(--blue); }
.breadcrumbs ol li a:hover { color: var(--navy); }

@media (max-width: 768px) {
  .breadcrumbs .d-flex { display: block !important; }
  .breadcrumbs ol { display: block; }
  .breadcrumbs ol li { display: inline-block; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
#footer {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .875rem;
}

#footer .footer-top {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-top: 4px solid var(--gold);
  padding: 60px 0 30px;
}

#footer .footer-top .footer-info { margin-bottom: 2rem; }

#footer .footer-top .footer-info h3 {
  font-size: 1.35rem;
  color: var(--white);
  margin: 0 0 1rem;
  font-weight: 800;
}

#footer .footer-top .footer-info p {
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  font-size: .875rem;
}

#footer .footer-top h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-bottom: .75rem;
  border-bottom: 2px solid rgba(255,255,255,.1);
  margin-bottom: 1rem;
}

#footer .footer-top .social-links a {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  margin-right: 4px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.15);
}

#footer .footer-top .social-links a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

#footer .footer-top .footer-links { margin-bottom: 2rem; }
#footer .footer-top .footer-links ul { list-style: none; padding: 0; margin: 0; }
#footer .footer-top .footer-links ul li { padding: 6px 0; display: flex; align-items: center; }
#footer .footer-top .footer-links ul li:first-child { padding-top: 0; }
#footer .footer-top .footer-links ul i { color: var(--gold); font-size: 1rem; margin-right: 6px; }
#footer .footer-top .footer-links ul a { color: rgba(255,255,255,.75); transition: .25s; }
#footer .footer-top .footer-links ul a:hover { color: var(--gold); padding-left: 4px; }

#footer .footer-top .footer-newsletter form {
  margin-top: 1.5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 6px 8px;
  display: flex;
  overflow: hidden;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 4px 8px;
  flex: 1;
  font-size: .875rem;
}

#footer .footer-top .footer-newsletter form input[type=email]::placeholder { color: rgba(255,255,255,.45); }

#footer .footer-top .footer-newsletter form input[type=submit] {
  background: var(--gold);
  border: 0;
  color: var(--navy-dark);
  font-weight: 700;
  font-size: .8rem;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover { background: var(--gold-dark); }

#footer .copyright { text-align: center; padding-top: 1.5rem; color: var(--gray-500); }
#footer .credits  { text-align: center; padding-top: .5rem; font-size: .8rem; color: var(--gray-400); }


.footer-info img { width: 100%; max-width: 150px; text-align: center; }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO DETAILS
   ══════════════════════════════════════════════════════════ */
.portfolio-details { padding-top: 40px; }
.portfolio-details .portfolio-details-slider img { width: 100%; border-radius: var(--radius); }
.portfolio-details .portfolio-info {
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--blue);
}
.portfolio-details .portfolio-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.portfolio-details .portfolio-info ul { list-style: none; padding: 0; font-size: .9rem; }
.portfolio-details .portfolio-info ul li + li { margin-top: .75rem; }
.portfolio-details .portfolio-description { padding-top: 2rem; }
.portfolio-details .portfolio-description h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }

/* ══════════════════════════════════════════════════════════
   MISC LEGADO
   ══════════════════════════════════════════════════════════ */
.borda-bottom { border-bottom: 1px dotted var(--gray-300); }

.chamada { height: 220px; overflow: hidden; border-radius: var(--radius); }
.chamada img { min-width: 280px; }

.bi-list::before { color: var(--gold) !important; }

.left-img {
  float: left;
  max-width: 420px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-pad: 50px 0; }
  #header { height: 90px; }
  #hero { margin-top: 90px; }
  .breadcrumbs { margin-top: 90px; }
  .section-title h2 { font-size: 1.5rem; }
  .faq .faq-list { padding: 0; }
  #footer .footer-top { padding: 40px 0 20px; }
}

@media (max-width: 575px) {
  :root { --section-pad: 40px 0; }
  .contact .contact-address,
  .contact .contact-phone,
  .contact .contact-email { margin-bottom: 1rem; }
}
