/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    scroll-behavior: smooth;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

.hero {
    min-height: 100vh;
}

.link {
    display: inline-block;
    padding-bottom: 5px;
    cursor: pointer;
    background-image: url(../img/icon-nav.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 25px;
    padding-left: 30px;
    transition: all 0.4s ease-in-out;
}

.link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9991;
    padding: 50px;
    box-sizing: border-box;

    display: flex;
    align-items: center;     /* centraliza verticalmente */
    justify-content: center; /* centraliza horizontalmente */

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.lightbox button {
    position: fixed;
    right: 25px;
    top: 25px;
    width: 40px;
    height: 40px;
    border-radius: 25px;
    overflow: hidden;
    border: none;
    background-color: var(--red-strawberry);
    color: var(--yellow-beak);
    font-size: 40px;
    line-height: 40px;
    transform: rotate(45deg);
    transition: all 0.4s ease-in-out;
}

.lightbox button:hover {
    background-color: white;
    color: var(--red-strawberry);
    transform: rotate(-45deg);
}

.lightbox iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    border-radius: 25px;
    overflow: hidden;
}
.lightbox.lightbox-active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-height: 80vh;
    border-radius: 25px;
    overflow: hidden;
}

@media (max-width: 768px) {

.lightbox {
    padding: 25px;
}    

}

.fade {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}


body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: black;
  max-width: 100vw;
  overflow-x: hidden;
}

section, footer {
    scroll-margin-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer !important;
}

:root {
  --yellow-beak: #FFCC11;
  --red-strawberry: #CC0000;
  --blue-blueberry: #113377;
  --lilac-snow: #99AACC;
  --purple-berry: #221133;
  --pink-raspberry: #FF7777;
  --green-leaf: #88AA00;
}

/* ================= UTILITÁRIOS ================= */

.font-barlow {
  font-family: 'Barlow', sans-serif;
}

.font-barlow-semi {
  font-family: 'Barlow Semi Condensed', sans-serif;
}

.font-barlow-condensed {
  font-family: 'Barlow Condensed', sans-serif;
}

.light     { font-weight: 300; }
.regular   { font-weight: 400; }
.medium    { font-weight: 500; }
.semibold  { font-weight: 600; }
.bold      { font-weight: 700; }

.bg-yellow-beak { background-color: var(--yellow-beak); }
.bg-red-strawberry { background-color: var(--red-strawberry); }
.bg-blue-blueberry { background-color: var(--blue-blueberry); }
.bg-lilac-snow { background-color: var(--lilac-snow); }
.bg-purple-berry { background-color: var(--purple-berry); }
.bg-pink-raspberry { background-color: var(--pink-raspberry); }
.bg-green-leaf { background-color: var(--green-leaf); }
.bg-white { background-color: white; }

.text-yellow-beak { color: var(--yellow-beak); }
.text-red-strawberry { color: var(--red-strawberry); }
.text-blue-blueberry { color: var(--blue-blueberry); }
.text-lilac-snow { color: var(--lilac-snow); }
.text-purple-berry { color: var(--purple-berry); }
.text-pink-raspberry { color: var(--pink-raspberry); }
.text-green-leaf { color: var(--green-leaf); }
.text-white { color: white; }
.text-black { color: black; }
.text-center-desktop { text-align: center;}

.border-yellow-beak { border-color: var(--yellow-beak); }
.border-red-strawberry { border-color: var(--red-strawberry); }
.border-blue-blueberry { border-color: var(--blue-blueberry); }
.border-lilac-snow { border-color: var(--lilac-snow); }
.border-purple-berry { border-color: var(--purple-berry); }
.border-pink-raspberry { border-color: var(--pink-raspberry); }
.border-green-leaf { border-color: var(--green-leaf); }

.uppercase { text-transform: uppercase; }
.divider { width: 100%; border-bottom: 1px solid; opacity: 0.1; display: table; }

h2 { font-size: 16px; line-height: 22px; }
h3 { font-size: 48px; line-height: 48px; }
.text-large { font-size: 52px; line-height: 48px; }
.strong { font-weight: 1000 !important;}

.mobile-only {
    display: none;
}
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .text-center-desktop { text-align: left }
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }
}

@media (max-width: 768px) {

h2 { font-size: 16px; line-height: 22px; }
h3 { font-size: 32px; line-height: 32px; }
.text-large { font-size: 38px; line-height: 38px; }

}

.button-standard {
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    border: 0;
    padding: 10px 20px;
    display: block;
}

.button-standard-small {
    border-radius: 50px;
    padding: 5px 10px 6px 10px;
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-in-out;
}

.button-standard-lilac-snow {
    background: linear-gradient(to right, var(--yellow-beak) 50%, var(--lilac-snow) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-in-out;
}

.button-standard-yellow-beak {
    background: linear-gradient(to right, white 50%, var(--yellow-beak) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-in-out;
}

.button-standard-pink-raspberry {
    background: linear-gradient(to right, white 50%, var(--pink-raspberry) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-in-out;
}

.button-standard-blue-blueberry {
    background: linear-gradient(to right, white 50%, var(--blue-blueberry) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-in-out;
}

.button-standard-red-strawberry {
    background: linear-gradient(to right, white 50%, var(--red-strawberry) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-in-out;
}

.button-standard:hover, .button-standard-small:hover {
    background-position: left bottom;
    transform: scale(.98, .98);
    opacity: 1 !important;
}

.button-standard-blue-blueberry:hover {
    color: var(--purple-berry);
}

.button-standard-red-strawberry:hover {
    color: var(--red-strawberry);
}

.btn-arrow-down {
    background-repeat: no-repeat;
    width: 40px;
    height: 70px;
    background-image: url(../img/btn-arrow-down-red.svg);
    background-color: transparent;
    background-size: contain;
    border: none;
    overflow: hidden;
    color: transparent;
    animation: 10s ease-in-out infinite forwards btn-arrow;
    cursor: pointer;
}

.btn-arrow-down-yellow {
    background-repeat: no-repeat;
    width: 40px;
    height: 70px;
    background-image: url(../img/btn-arrow-down-yellow.svg);
    background-color: transparent;
    background-size: contain;
    border: none;
    overflow: hidden;
    color: transparent;
    animation: 10s ease-in-out infinite forwards btn-arrow;
    cursor: pointer;
}

@keyframes btn-arrow{0%,100%{transform:translateY(0)}10%,30%,50%,70%{transform:translateY(-8px)}20%,40%,60%{transform:translateY(8px)}80%{transform:translateY(6.4px)}90%{transform:translateY(-6.4px)}}

.padding-top-15 { padding-top: 15px; }
.padding-top-25 { padding-top: 25px; }
.padding-top-50 { padding-top: 50px; }
.padding-top-75 { padding-top: 75px; }
.padding-top-100 { padding-top: 100px; }

.padding-bottom-15 { padding-bottom: 25px; }
.padding-bottom-25 { padding-bottom: 25px; }
.padding-bottom-50 { padding-bottom: 25px; }
.padding-bottom-75 { padding-bottom: 25px; }
.padding-bottom-100 { padding-bottom: 100px; }

.margin-top-15 { margin-top: 15px; }
.margin-top-25 { margin-top: 25px; }
.margin-top-50 { margin-top: 50px; }
.margin-top-75 { margin-top: 75px; }
.margin-top-100 { margin-top: 100px; }

.margin-bottom-15 { margin-bottom: 15px; }
.margin-bottom-25 { margin-bottom: 25px; }
.margin-bottom-50 { margin-bottom: 50px; }
.margin-bottom-75 { margin-bottom: 75px; }
.margin-bottom-100 { margin-bottom: 100px; }

.container {
    width: min(90%, 1280px);
    margin: auto;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--yellow-beak);
    z-index: 9000;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header button {
    opacity: 0;
}

.logo {
    text-decoration: none;
    color: #000;
    font-size: 2em;
    font-weight: bold;
    background-image: url(../img/logo-red.svg);
    background-position: left;
    text-indent: -1000%;
    overflow: hidden;
    width: 152.32px;
    height: 25px;
    z-index: 998;
}

.btn-b2c {
    background-color: var(--red-strawberry);
    color: var(--yellow-beak);
    border-radius: 50px;
    padding: 5px 10px 6px 10px;
    text-align: center;
    text-transform: uppercase;
}

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

.nav {
    font-size: 1em;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav a {
    text-decoration: none;
    color: #000;
    transition: color .2s;
    font-weight: bold;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.nav a:hover { opacity: 0.8 }

.button-switch {
    background: linear-gradient(to right, var(--yellow-beak) 50%, var(--red-strawberry) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.4s ease-in-out;
}

.button-switch:hover {
    background-position: left bottom;
    transform: scale(.98, .98);
    opacity: 1 !important;
    color: var(--blue-blueberry);
}

.button-wapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    background-image: url(../img/button-wapp.png);
    background-color: transparent;
    display: block;
    border: none;
    text-indent: -1000%;
    overflow: hidden;
    z-index: 999;
    transition: all .4s ease-in-out;
}

.button-wapp:hover {
    transform: scale(1.1);
}

/* ================= MENU MOBILE ================= */
@media (max-width: 768px) {

    .header button {
        opacity: 1;
    }

    /* esconde menu desktop */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--red-strawberry);
        background-image: url(../img/mimo-menu.svg);
        background-position: bottom center;
        background-size: contain;
        background-repeat: no-repeat;
        padding-top: 100px;
        transition: right .3s ease;
        z-index: 997;
    }

    .nav.active { right: 0; }

    .nav ul {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
        gap: 1rem;
    }

    .nav a { font-size: 1.2rem; }

    /* botão hamburguer */
    #hamburger {
        display: block;
        position: relative;
        width: 32px;
        height: 32px;
        border: none;
        background: none;
        cursor: pointer;
        z-index: 9999;
    }

    #hamburger span {
        position: absolute;
        left: 50%;
        width: 26px;
        height: 3px;
        background: var(--red-strawberry);
        border-radius: 2px;
        transition: .3s ease;
        transform-origin: center;
        transform: translateX(-50%);
    }

    /* linhas */
    #hamburger span:nth-child(1) { top: 10px; }
    #hamburger span:nth-child(2) { top: 19px; }

    /* hambúrguer → X perfeito */
    #hamburger.active span:nth-child(1) {
        top: 14px;
        transform: translateX(-50%) rotate(45deg);
    }

    #hamburger.active span:nth-child(2) {
        top: 14px;
        transform: translateX(-50%) rotate(-45deg);
    }

    .button-switch {
        background-color: var(--blue-blueberry);
    }

    .nav li:last-of-type {
        margin-top: 10px;
        margin-left: -10px;
    }

    .carousel-intro h3 {
        margin-top: 0 !important;
        padding-top: 50px !important;
    }

    
}

/* ================= FOOTER ================= */
.footer {
    color: white;
}

.footer .grid-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 25px;
}

.footer .grid-pillars span {
    display: block;
}

.footer .grid-pillars span:before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 10px;

}

.footer .grid-pillars span.phone::before {
    background-image: url(../img/icon-phone.svg);
}


.footer .grid-pillars span.email:before {
    background-image: url(../img/icon-email.svg);
}

.footer .grid-pillars span.b2b::before {
    background-image: url(../img/icon-b2b.svg);
}

.footer .grid-pillars span.b2c::before {
    background-image: url(../img/icon-b2c.svg);
}

.footer .nav-social {
    text-align: left;
    position: absolute;
}

.footer .nav-social::before {
    content: "Segue a gente";
    vertical-align: middle;
    margin-right: 10px;
}

.footer .nav-social li {
    display: inline-block;
    overflow: hidden;
    text-indent: -1000%;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    transition: all 0.4s ease-in-out;
}

.footer .nav-social .instagram {
    background-image: url(../img/btn-ig.svg);
    margin-right: 10px;
    filter: brightness(auto);
}

.footer .nav-social .instagram:hover, .footer .nav-social .linkedin:hover {
    transform: scale(.95,.95);
}

.footer .nav-social .linkedin {
    background-image: url(../img/btn-linkedin.svg);
}

.footer .nav-bio {
    text-align: right;
}

.footer .nav-bio img {
    display: inline-block;
}

.footer .container {
/*    background-image: url(../img/icon-delivery.svg); */
    background-size: 150px;
    background-position: right top;
}

.footer a {
    transition: all 0.4s ease-in-out;
}

.footer a:hover {
    color: var(--pink-raspberry);
}

@media (max-width: 768px) {


.footer .grid-pillars {
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 25px;

/*    background-image: url(../img/icon-delivery.svg); */
    background-size: 150px;
    background-position: right bottom;
}


.footer .nav-social {
    text-align: left;
    position: relative;
}

.footer .nav-bio {
    text-align: left;
    margin-top: 25px;
}

.footer .container {
    background-image: none;;
}

}
