@font-face {
  font-family: "Rama Slab";
  src: url("fonts/Rama-Slab-M-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rama Slab";
  src: url("fonts/Rama-Slab-M-Semi-Bold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rama Slab";
  src: url("fonts/Rama-Slab-M-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --verde: #23472e;
  --verde-escuro: #08331f;
  --verde-claro: #9bc47c;
  --bege: #f3f7f0;
  --branco: #fff;
  --preto: #202020;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--branco);
  color: var(--preto);
  font-family: "gotham", sans-serif;
}

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

a {
  text-decoration: none;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--verde-escuro);
}

.hero picture,
.hero picture img {
  display: block;
  width: 100%;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  padding: 25px 15px 22px;
  text-align: center;
  font-size: 19px;
  line-height: 1.2;
}

.hero-content .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  background-color: var(--verde-claro);
  color: #23472e;
  text-transform: uppercase;
  font-size: 52px;
  line-height: 0.9235;
  font-family: "Rama Slab";
  margin-bottom: 14px;
  display: inline-block;
  padding: 0 11px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
}

.hero-content strong {
  display: block;
}

.logo {
  width: 160px;
  height: auto;
  display: inline;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;
  padding: 11px 10px;
  height: 56px;
  border-radius: 30px;

  font-size: 16px;
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.btn-orcamento {
  background: #f0d481;
  color: #23472e;
}

.btn-whatsapp {
  background: var(--verde-claro);
  color: #23472e;
}

.btn-map {
  display: none;
}

.btn-map {
  background: transparent;
  border: 1px solid #fff;
  color: #9bc47c;
  text-transform: none;
  font-size: 16px;
  width: fit-content;
  padding: 11.5px 27.5px;
  line-height: 1;
}

.btn.btn-map img {
  width: 14px;
  margin-right: 8px;
  height: auto;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn img {
  height: 33px;
  width: auto;
  margin-right: 12px;
}

/* =========================
   CASES
========================= */

.cases {
  padding: 40px 0 29px;
  background: var(--branco);
}

.cases-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.cases-container .btn {
  width: 332px;
  margin: 29px auto 0;
  display: flex;
}

.cases-container svg {
  margin: 29px auto 0;
  display: block;
  max-width: calc(100% - 32px);
}

.section-title {
  margin-bottom: 20px;
  color: var(--verde);
  font-family: "Rama Slab";
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.swiper {
  width: 100%;
  padding-bottom: 35px;
  padding: 0 10px;
}

.swiper-slide {
  width: 314px;
}

.case-card {
  overflow: hidden;

  border-radius: 9px;
  background: var(--verde-escuro);
}

.case-card img {
  width: 100%;
  height: auto;
}

/* Esconde as setas no mobile */
.swiper-button-next,
.swiper-button-prev {
  display: none;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: var(--verde);
  color: white;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

.swiper-pagination-bullet-active {
  background: var(--verde);
}

/* =========================
   HORÁRIO
========================= */

.horario {
  padding: 40px 15px;
  background: var(--bege);
}

.horario-container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.horario h2 {
  margin-bottom: 24px;
  color: var(--verde);
  font-family: "Rama Slab";
  font-size: 56px;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
  text-align: left;
  max-width: 271px;
}

.horario-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  color: #585957;
  border-bottom: 1px solid #23472e;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}

.horario-item .medium {
  font-weight: 500;
  color: var(--verde);
}

.horario-item:last-child {
  border-bottom: 0;
}

.horario-item strong {
  flex-shrink: 0;
  color: var(--verde);
  font-size: 48px;
  font-family: "Rama Slab";
  font-weight: 600;
  line-height: 1;
}

.fechado {
  flex-shrink: 0;
  color: #777;
}

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

footer {
  padding: 16px 20px 48px;

  background: #23472e;
  color: white;
}

.footer-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-container .svg {
  margin: 16px auto 0;
  max-width: calc(100% - 32px);
  height: 32px;
  overflow: hidden;
  width: 100%;
}

.svg svg {
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
}

.endereco {
  color: #f3f7f0;
  font-size: 16px;
  line-height: 1.2;
}

.endereco .title {
  display: block;
  color: var(--verde-claro);
  text-transform: uppercase;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  font-family: "Rama Slab";
  margin-bottom: 16px;
  margin-top: 16px;
}

.endereco img {
  width: 14px;
  height: auto;
}

.endereco a {
  margin-top: 18px;
  display: block;
}

.social {
  display: flex;
  gap: 24px;
  margin-top: 68px;
}

.social img {
  height: 41px;
  width: auto;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: white;
  font-weight: 600;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

/* =========================
   TABLET
========================= */

@media (min-width: 576px) {
  .hero-content strong {
    display: block;
  }

  .cases-container .btn {
    margin: 43px auto 0;
  }

  .footer-container {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social {
    align-self: auto;
    margin-top: 0;
  }

  .endereco {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 484px;
    font-size: 16px;
  }

  .endereco a {
    display: none;
  }

  .btn-map {
    display: inline-flex;
    margin-left: 31px;
  }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 768px) and (max-width: 1023px) {
  .logo {
    width: 232px;
  }

  h1 {
    font-size: 65px;
    line-height: 1;
  }

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

  .btn {
    min-width: 175px;
    padding: 13px 22px;
    font-size: 18.47px;
    height: 64.63px;
    border-radius: 40px;
  }

  .btn img {
    margin-right: 10px;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: 150px 6% 100px;
  }

  .hero-content .wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 79px;
    row-gap: 62px;
    flex-direction: row;
  }

  h1 {
    background: transparent;
    padding: 0;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  h1 span {
    background: var(--verde-claro);
    padding: 0px 11px;
    display: inline-block;
  }

  .hero-buttons {
    gap: 12px;
  }

  .cases {
    padding: 66px 30px 43px;
  }

  .section-title {
    margin-bottom: 28px;
    font-size: 32px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
  }

  .horario {
    padding: 32px 30px 12px;
  }

  footer {
    padding: 18px 30px 41px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* =========================
   DESKTOP GRANDE
========================= */

@media (min-width: 1023px) {
  .hero {
    height: 500px;
  }

  .hero-content {
    max-width: 1566px;
    margin: 0 auto;
  }

  .hero-content .wrapper {
    flex-direction: row;
    margin-bottom: 0;
  }

  .hero-content .wrapper p {
    max-width: 176px;
    line-height: 1.2;
  }

  .hero .bg {
    height: 100%;
    width: 100%;
  }

  .hero .bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding-bottom: 45px;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    gap: 63px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 28px;
    max-width: 666px;
  }

  .cases-container,
  .horario-container,
  .footer-container {
    max-width: 1566px;
  }

  .cases-container svg {
    display: none;
  }

  .section-title {
    font-size: 47px;
  }

  .horario-container {
    display: flex;
    justify-content: center;
  }

  .horario-lista {
    width: 358px;
  }

  .horario-item:first-of-type {
    padding-top: 0;
  }
}

@media (min-width: 1367px) {
  .section-title {
    font-size: 80px;
    margin-bottom: 43px;
  }

  .logo {
    width: 232px;
  }

  .btn {
    min-width: 175px;
    padding: 13px 22px;
    font-size: 18.47px;
    height: 64.63px;
    border-radius: 40px;
  }

  .btn img {
    margin-right: 10px;
  }

  h1 {
    font-size: 65px;
    line-height: 1;
  }

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

  .hero .btn {
    width: 383px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 34px;
    max-width: 800px;
  }

  .hero-content .wrapper p {
    max-width: 219px;
    line-height: 1.2;
  }
}
