/* ========================= */
/* RESET BÁSICO              */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #e7e7e7;
  color: #ffffff;
  overflow-x: hidden;
}

/* ========================= */
/* HEADER                    */
/* ========================= */
header {
  background-color: #1a1a1a;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  box-shadow: 0 2px 10px rgb(174 21 29);
  z-index: 1000;
}

#logo {
  width: 180px;
  margin-left: 10px;
}

.menu-toggle .bar {
  background-color: #ffffff;
}

/* MENU */
.mobile-nav {
  display: flex;
  gap: 1rem;
  background-color: #1a1a1a;
  padding-left: 3px;
  border-left: 3px solid #ba131b;
}

.nav {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: 0.3s;
}

.nav:hover {
  color: #ba131b;
}

/* ========================= */
/* HERO                      */
/* ========================= */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.50)),
    url('../img/fundo.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 120px 25px 60px;
}

.hero p {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);

  padding: 30px;
  border-radius: 14px;

  max-width: 1000px;

  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.5;

  border-left: 5px solid #fff;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1050px;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, transparent, #e7e7e7);
  pointer-events: none;
}

/* ========================= */
/* SEÇÕES                    */
/* ========================= */
#list h3 {
  color: #ae151d;
}

section {
  padding: 6rem 2rem;
}

h3 {
  font-size: 42px;
  text-align: center;
  margin: 30px;
  text-transform: uppercase;
  color: #ae151d;
   text-shadow: 
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}

/* ========================= */
/* SERVIÇOS PROFISSIONAL     */
/* ========================= */

.services-section {
  background:
    radial-gradient(circle at top, rgba(186,19,27,0.12), transparent 35%),
    #e7e7e7;
}

.service-list {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;

  min-height: 230px;

  background:
    linear-gradient(145deg, #1a1a1a 0%, #080808 100%);

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;

  padding: 28px 24px;

  color: #ffffff;
  text-align: left;

  cursor: pointer;
  outline: none;

  box-shadow: 0 12px 30px rgba(0,0,0,0.22);

  transition: 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(135deg, rgba(186,19,27,0.28), transparent 55%);

  opacity: 0;
  transition: 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;

  width: 130px;
  height: 130px;

  background: rgba(186,19,27,0.18);
  border-radius: 50%;

  transition: 0.35s ease;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-8px);
  border-color: rgba(186,19,27,0.75);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.service-card:hover::before,
.service-card:focus::before {
  opacity: 1;
}

.service-card:hover::after,
.service-card:focus::after {
  transform: scale(1.3);
}

.service-icon {
  position: relative;
  z-index: 1;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(186,19,27,0.18);
  border: 1px solid rgba(186,19,27,0.45);
  border-radius: 16px;

  margin-bottom: 18px;

  color: #ffffff;
  font-size: 26px;

  transition: 0.35s ease;
}

.service-card:hover .service-icon,
.service-card:focus .service-icon {
  background: #ba131b;
  transform: scale(1.08) rotate(-3deg);
}

.service-card h4 {
  position: relative;
  z-index: 1;

  font-size: 21px;
  margin-bottom: 12px;

  color: #ffffff;
}

.service-card p {
  position: relative;
  z-index: 1;

  color: #d8d8d8;
  font-size: 15px;
  line-height: 1.6;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition: 0.35s ease;
}

.service-card:hover p,
.service-card:focus p {
  max-height: 180px;
  opacity: 1;
  margin-top: 10px;
}

/* ========================= */
/* DIFERENCIAIS              */
/* ========================= */

.diferenciais {
  background: #f1f1f1;
  padding: 6rem 2rem;
}

.diferenciais-grid {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.diferencial {
  background: #ffffff;
  color: #1a1a1a;

  padding: 30px 24px;
  border-radius: 18px;

  text-align: center;

  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);

  transition: 0.3s ease;
}

.diferencial:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.diferencial i {
  font-size: 38px;
  color: #ba131b;
  margin-bottom: 18px;
}

.diferencial h4 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.diferencial p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ========================= */
/* GALERIA                   */
/* ========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  border: 2px solid #000;
}

/* ========================= */
/* FORMULÁRIO                */
/* ========================= */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

input, textarea, select {
  background-color: #1a1a1a;
  border: 1px solid #fff;
  color: #ffffff;
  padding: 0.75rem;
  border-radius: 5px;
}

button {
  background-color: #ba131b;
  color: #ffffff;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #a00028;
}

.voltar-topo {
  position: fixed;
  right: 22px;
  bottom: 90px;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #1a1a1a;
  color: #ffffff;

  border-radius: 50%;
  text-decoration: none;

  z-index: 9999;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  transition: 0.3s;
}

.voltar-topo:hover {
  background: #ba131b;
  transform: scale(1.08);
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

button i {
  font-size: 20px;
}

/* ========================= */
/* FOOTER PROFISSIONAL       */
/* ========================= */

.footer {
  background:
    linear-gradient(135deg, #050505 0%, #151515 55%, #2b0508 100%);
  color: #ffffff;
  padding: 60px 30px 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg, transparent, #ba131b, transparent);
}

.footer-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 35px;

  position: relative;
  z-index: 1;
}

.footer-logo {
  width: 180px;
  margin-bottom: 18px;
}

.footer-brand p,
.footer-column p,
.footer-cta p {
  color: #d6d6d6;
  font-size: 15px;
  line-height: 1.7;
}

.footer-column h2,
.footer-cta h2 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 18px;
  position: relative;
}

.footer-column h2::after,
.footer-cta h2::after {
  content: "";
  display: block;

  width: 45px;
  height: 3px;

  background: #ba131b;
  border-radius: 10px;
  margin-top: 8px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-column i {
  color: #ba131b;
  font-size: 18px;
  min-width: 22px;
}

.footer-column a {
  color: #d6d6d6;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.08);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;

  text-decoration: none;
  font-size: 22px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #ba131b;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(186,19,27,0.4);
}

.footer-cta {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 25px;

  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 18px;
  padding: 14px 20px;

  background: #25d366;
  color: #ffffff;

  border-radius: 50px;

  text-decoration: none;
  font-weight: 800;
  font-size: 15px;

  transition: 0.3s;
}

.footer-whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}

.footer-bottom {
  margin-top: 45px;
  padding: 20px 0;

  border-top: 1px solid rgba(255,255,255,0.12);

  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;

  color: #bdbdbd;
  font-size: 14px;
}

.whatsapp-fixo {
  position: fixed;
  right: 22px;
  bottom: 22px;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #ffffff;

  border-radius: 50%;
  text-decoration: none;

  font-size: 30px;

  z-index: 9999;

  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  transition: 0.3s;
}

.whatsapp-fixo:hover {
  transform: scale(1.08);
  background: #1ebe5d;
}

.gallery-grid img {
  aspect-ratio: 1/1;
  object-fit: cover;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.94);

  z-index: 99999;

  align-items: center;
  justify-content: center;

  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 92vh;

  border-radius: 14px;

  object-fit: contain;

  box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.lightbox span {
  position: absolute;
  top: 20px;
  right: 35px;

  color: white;

  font-size: 55px;
  font-weight: bold;

  cursor: pointer;
}

/* ========================= */
/* BOTÕES DO LIGHTBOX        */
/* ========================= */

.lightbox-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:34px;
    cursor:pointer;
    transition:.3s;
    z-index:100000;
    display:flex;
    align-items:center;
    justify-content:center;
}

.lightbox-btn:hover{
    background:#ba131b;
    transform:translateY(-50%) scale(1.1);
}

#prev-img{
    left:25px;
}

#next-img{
    right:25px;
}

@media(max-width:768px){

    .lightbox-btn{
        width:48px;
        height:48px;
        font-size:26px;
    }

    #prev-img{
        left:10px;
    }

    #next-img{
        right:10px;
    }

}

/* ========================= */
/* MENU MOBILE PREMIUM       */
/* ========================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 10001;
}

.menu-toggle .bar {
  width: 32px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 50px;
  transition: 0.3s ease;
}

/* transforma hamburguer em X */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {

  header {
    padding: 12px 18px;
  }

  #logo {
    width: 145px;
  }

  .menu-toggle {
    display: flex;
  }

  nav.mobile-nav {
    position: fixed;
    top: 75px;
    right: 15px;

    width: 260px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,0.15);
    border-left: 4px solid #ba131b;
    border-radius: 18px;

    padding: 20px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.45);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.96);

    transition: 0.3s ease;
    z-index: 10000;
  }

  nav.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  nav.mobile-nav .nav {
    background: rgba(255,255,255,0.06);
    padding: 14px;
    border-radius: 12px;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;

    text-align: left;
    border-left: 3px solid transparent;
  }

  nav.mobile-nav .nav:hover {
    background: rgba(186, 19, 27, 0.22);
    border-left: 3px solid #ba131b;
    color: #ffffff;
  }

.whatsapp-menu {
  background: #25d366 !important;
  color: #ffffff !important;
  text-align: center !important;
  border-left: none !important;
  justify-content: center;
}

.whatsapp-menu:hover {
  background: #1ebe5d !important;
  transform: scale(1.03);
}
  .footer {
  padding: 45px 20px 0;
}

.footer-container {
  grid-template-columns: 1fr;
  text-align: left;
  gap: 30px;
}

.footer-logo {
  width: 160px;
}

.footer-bottom {
  flex-direction: column;
  text-align: center;
}

.footer-cta {
  padding: 22px;
}

.footer-whatsapp {
  width: 100%;
}

.whatsapp-fixo {
  width: 54px;
  height: 54px;
  font-size: 28px;
  right: 18px;
  bottom: 18px;
}
.service-list {
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card {
  min-height: auto;
  padding: 24px 20px;
}

.service-card p {
  font-size: 14px;
}

.service-card:focus p {
  max-height: 220px;
  opacity: 1;
  margin-top: 10px;
}
}
