:root {
    --primary-color: #003469;
    --secondary-color: #c2a364;
    --body-color: #fff;
    --cinza: #f5f7fa;
    --hero-overlay: rgba(0, 0, 0, 0.55);
}
/* TOPBAR */
.topbar{
    background:var(--primary-color);
    color:var(--topbar-color);
    font-size:13px;
    height: 40px;
}
.topbar .container{
    display:flex;
    justify-content:space-between;
    padding:10px 5px;
}
.phones, .emails {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.phones a, .emails a {
    color: #c2a364;
    text-decoration: none;
}
.phones a:hover, .emails a:hover {
    color: #fff;
}
.logo {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}
.logo-laranja {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-top: 40px;
}
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--body-color);
    line-height: 1.6;
    background: #fff;
}
p {
    margin-top: 0;
    margin-bottom: 0 !important;
    color: #fff;
    font-size: 15px;
    padding:5px;
}
/* HERO */
.hero {
    position: relative;
    height: 450px;
    overflow: hidden;
}
.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:var(--hero-overlay);
    z-index:-1;
}
.slides {
  height: 50%;
}
.slide {
  position: absolute;
  inset: 0;
  background-position: center;
  display: none;
  overflow: hidden;
}
/* imagem embaçada */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(0px);
  z-index: 0;
}
/* overlay escuro*/
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.slide .container {
  position: relative;
  z-index: 2;
}
.slide.active {
  display: flex;
  align-items: center;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}
.nav-menu li a {
    display: inline-block;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
}

.nav-menu li a.active {
    border-bottom-color: #fff;
}
.hero .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}
.hero .nav:hover {
    background: rgba(0,0,0,0.8);
}
.hero .prev {
    left: 20px;
}
.hero .next {
    right: 20px;
}
.hero .container{
    position:relative;
    padding:20px 20px;
    text-align:center;
}
.hero h1 {
    font-size: 60px;
    margin-bottom: 15px;
    color: azure;
}
.hero p{
    font-size:18px;
    text-shadow: var(--primary-color);
}
.hero .btn{
    margin-top:25px;
}
/* HEADER */
header{
    background: var(--primary-color);
    top:0;
    z-index:999;
    position: sticky;
}
header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}
nav a{
    text-decoration:none;
    color:#c2a364;
    font-weight:bold;
}
nav a:hover{
    color: #fff;
}
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}
.section-title {
    text-align: center;
    margin-bottom: 25px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: #666;
  font-size: 16px;
  margin-top: 10px;
}
.section{
    padding: 20px 20px;
}
.container {
    max-width: 1337px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: #666;
  font-size: 16px;
  margin-top: 10px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-bottom: 20px;
}
.card {
  background: #fff;
  padding: 40px 30px;
  text-align: center;
  border-radius: 14px;
  border: none;
  transition: all 0.35s ease;
  box-shadow: 0 10px 10px 10px rgba(63, 97, 160, 0.671);
  position: relative;
  overflow: hidden;
}
.card i {
  font-size: 46px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}
.card:hover {
  transform: translateY(-10px);
}

.card:hover i {
  transform: scale(1.15);
}

/* HERO */
.hero {
    position: relative;
    height: 350px;
    overflow: hidden;
}
.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:var(--hero-overlay);
    z-index:-1;
}
.slide {
  position: absolute;
  inset: 0;
  background-position: center;
  display: none;
  overflow: hidden;
}
/* overlay escuro*/
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.slide .container {
  position: relative;
  z-index: 2;
}
.slide.active {
  display: flex;
  align-items: center;
}
.btn-slide {
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin: 20px 0 0 0;
    transition: all 0.3s ease;
}
.btn-slide:hover {
    background: var(--primary-color);
    color: #fff;
}

.hero .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}
.hero .nav:hover {
    background: rgba(0,0,0,0.8);
}
.hero .prev {
    left: 20px;
}
.hero .next {
    right: 20px;
}
.hero {
    position: relative;
    height:350px;
    overflow: hidden;
}
.hero .container{
    position:relative;
    padding:20px 20px;
    text-align:left;
}
.hero h1 {
    font-size: 60px;
    margin-bottom: 15px;
    color: #fff;
}
.hero p{
    font-size:18px;
    text-shadow: var(--primary-color);
}
.hero .btn{
    margin-top:25px;
}
@media (max-width: 768px) {

    /* TOPBAR */
    .topbar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .phones,
    .emails {
        justify-content: center;
    }

    @media (max-width: 768px) {

        .nav-menu{
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            background: #fff;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 80px; 
        }

        .nav-menu ul{
            width: 100%;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .nav-menu ul li{
            width: 100%;
            text-align: center;
            border-top: 1px solid #e6e6e6;
        }

        .nav-menu ul li:last-child{
            border-bottom: 1px solid #e6e6e6;
        }

        .nav-menu ul li a{
            display: block;
            width: 100%;
            padding: 18px 0;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: .08em;
        }

    }
}

@media (max-width: 480px) {

    .topbar {
        font-size: 12px;
    }

    .logo,
    .logo-laranja {
        height: 55px;
        margin-top: 0;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        font-size: 14px;
    }
}
@media (max-width: 1024px) {
    body {
        line-height: 1.55;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13.5px;
        line-height: 1.45;
    }
}

@media (max-width: 480px) {

    .hero {
        height: 260px;
    }

    .slide.active {
        align-items: center;
        justify-content: center;
    }

    .hero .container {
        padding: 15px 10px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 14px;
        margin-top: 8px;
    }

    .hero .btn,
    .btn-slide {
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }

    /* setas do slide */
    .hero .nav {
        font-size: 22px;
        padding: 6px 10px;
    }

    .hero .prev {
        left: 8px;
    }

    .hero .next {
        right: 8px;
    }
}
@media (max-width: 768px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .container {
        padding: 20px;
    }

    .hero .btn,
    .btn-slide {
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 16px;
        width: auto;
    }
    .hero .nav {
        font-size: 26px;
        padding: 8px 12px;
    }
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        background: #fff;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-radius: 8px;
        width: 100%;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }
}
@media (max-width: 1024px) {

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 17px;
    }
}
