*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    background-color: #f9fafb;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Cabeçalho */
header {
    height: 10%;
    width: 100%;
    max-width: 100%;
    background-color: #61c19e;
    display: flex;
    justify-content: center;
    align-items: center;
}

header a{
    height: 100%;
    text-decoration: none;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

header a img{
    height: 50%;
}

header a span{
    margin-left: 3px;
    margin-top: 10px;
    font-family: "Arvo", serif;
    font-size: 1.8em;
    font-weight: 700;
}

/* Banner */
.banner {
    padding: 60px 0;
    position: relative;
    height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease-in-out; /* transição de opacidade (fade) */
    will-change: background-image, opacity;
}

/* camada escura para contraste do texto */
.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* texto acima da camada de overlay */
.banner h1, .banner p, .banner a {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.banner h1 {
    font-size: 2.5em;
    font-family: "Arvo", serif;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.banner p {
    font-weight: 400;
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.banner a{
    margin-top: 20px;
    color: white;
    padding: 3px 6px;
    font-weight: 700;
    font-size: 1.2em;
    transition: background 0.3s ease;
}

.banner a:hover{
    color: #61c19e;
}

/* Mitolyn */

section.mitolyn {
    background-color: #FAFAFA;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.mitolyn h1 {
    color: #3ca584;
    margin-bottom: 15px;
    font-family: "Arvo", serif;
}

section.mitolyn p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1em;
    color: #666;
}

section.mitolyn div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    padding: 30px;
    background: inherit;
    border-radius: 20px;
    z-index: 1;
}

section.mitolyn div::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    filter: blur(0.5px);
    opacity: 0.7;
    border-radius: inherit;

    --border-angle: 0turn;

    background: conic-gradient(
        from var(--border-angle),
        transparent 25%,
        #6EC8A5,
        #F2B28D,
        #E78A7A 99%,
        transparent
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    animation: spin-border 3s linear infinite;

    pointer-events: none;
}

@keyframes spin-border {
    to {
        --border-angle: 1turn;
    }
}

@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}

section.mitolyn div .emoji-urgence{
    font-size: 1.3em;
}

section.mitolyn div p{
    font-weight: 500;
    font-size: 1.3em;
    color: #74C4A7;
}

section.mitolyn div .urgence{
    color: #E88A3C;
}

section.mitolyn div a.botao {
    margin-top: 35px;
    background: linear-gradient(135deg, #61c19e, #3ca584);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

section.mitolyn div a.botao:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Produtos */
section.produtos {
    padding: 20px 0;
    background-color: #F3F4F6;
}

section.produtos .apresentation {
    margin-bottom: 12px;
}

section.produtos .apresentation h2{
    font-size: 2.5em;
    font-weight: bold;
    color: #7bd0b1;
    font-family: "Arvo", serif;
}

section.produtos .apresentation p{
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #666;
    padding: 0 20px;
}

section.produtos .grid-produtos{
    max-width: 1152px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px;
    padding: 0 24px;

}

section.produtos .grid-produtos .produto{
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition-property: all;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

section.produtos .grid-produtos .produto:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

section.produtos .grid-produtos .produto img{
    border-radius: 14px;
    margin-bottom: 10px;
    width: 100%;
    height: 60%;
    object-fit: cover;
}

section.produtos .grid-produtos .produto h3{
    font-size: 1.2em;
    font-family: "Arvo", serif;
    font-weight: 700;
    color: #74C4A7;
    margin-bottom: 5px;
}

section.produtos .grid-produtos .produto p{
    color: #666;
    flex: 1;
}

section.produtos .grid-produtos .produto a{
    margin-top: 10px;
    color: #61c19e;
    font-weight: normal;
}

section.produtos .grid-produtos .produto a:hover{
    text-decoration: underline;
}

/* Depoimentos */
section.depoimentos{
    min-height: 700px;
    height: auto;
    background-color: #F3F4F6;
    padding: 40px 24px;
}

section.depoimentos .glide{
    height: 100%;
    min-height: 600px;
    max-width: 1152px; 
    padding: 40px 24px;
    margin: 0 auto;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

section.depoimentos .glide__track {
    position: relative;
    padding: 20px 0;
    height: 100%;
}

section.depoimentos .glide:hover{
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

section.depoimentos .glide__slides {
    height: 100%;
}

section.depoimentos .glide__slide {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

section.depoimentos .glide__slide .person {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section.depoimentos .glide__slide .person div{
    text-align: center;
}

section.depoimentos .glide__slide .person div img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

section.depoimentos .glide__slide .person div p{
    margin-top: 15px;
    font-size: 1.1em;
    color: #333;
    font-weight: 600;
}

section.depoimentos .glide__slide .opinion {
    width: 70%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.depoimentos .glide__slide .opinion div{
    width: 80%;
}

section.depoimentos .glide__slide .opinion div p{
    font-size: 1.3em;
    color: #666;
}

section.depoimentos .glide__slide .opinion div .opinion-text{
    font-style: italic;
    padding: 20px 0;
    text-align: justify;
    line-height: 1.6;
}

section.depoimentos .glide__arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;  /* Permite clicar "através" da div */
}

section.depoimentos .glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #74C4A7;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    pointer-events: auto; 
}

section.depoimentos .glide__arrow--left {
    left: -70px;
}

section.depoimentos .glide__arrow--right {
    right: -70px;
}

section.depoimentos .glide__arrow:hover {
    background: #5da188;
    transform: translateY(-50%) scale(1.1);
}

/* Bullets */
section.depoimentos .glide__bullets {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

section.depoimentos .glide__bullet {
    background: #ccc;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

section.depoimentos .glide__bullet--active {
    background: #74C4A7;
    width: 30px;
    border-radius: 6px;
}

/* Rodapé */
footer {
    margin-top: auto;
    background-color: #F3F4F6;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}


/*   Página Thank-You   */

.thankyou-box {
    color: #666;
    background: white;
    border-radius: 15px;
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 40%;
    min-width: 700px;
    margin: 30px auto 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.thankyou-box h1 {
    color: #659e89;
    margin-bottom: 10px;
}
.thankyou-box p {
    margin:20px 0 0 0;
    font-size:1em;
    font-weight: 500;
    color:#777;
    line-height: 1.5em;
    max-width: 70%;
}
.thankyou-box .redirect {
    margin-top: 30px;
}
.thankyou-box .redirect a.button {
    background-color: #61c19e;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease;
    font-size: 1.2em;
}
.thankyou-box .redirect a.button:hover {
    background-color: #51a284;
}

.product-box {
    color: #666;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 40%;
    min-width: 700px;
    margin: 20px auto 10px auto;
    display: flex;
    align-items: center;
    height: 40%;
}

.product-box img{
    width: 40%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
}

.product-box div{
    width: 60%;
    height: 80%;
    display: flex;
    flex-direction: column;
    padding: 0 30px;
    justify-content: center;
}

.product-box div h1{
    text-align: left;
    font-size: 1.2em;
    color: #333;
}

.product-box div h2{
    margin-top: 5px;
    text-align: left;
    color: #71bfa2;
    font-size: 1em;
}

.product-box div p{
    margin-top: 10px;
    width: 100%;
    text-align: left;
    font-size: 1em;
    line-height: 1.3em;
}


/*Telas Pequenas*/
@media screen and (min-width: 640px){
    section.produtos .grid-produtos{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop - 3 colunas de produtos */
@media (min-width: 1200px) {
    section.produtos .grid-produtos{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablets e telas médias - Ajustar TUDO junto */
@media (max-width: 1199px) {
    /* Produtos ficam em 2 colunas ou 1 */
    section.produtos .grid-produtos{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Depoimentos em coluna */
    section.depoimentos .glide__arrow--left {
        left: 10px;
    }
    
    section.depoimentos .glide__arrow--right {
        right: 10px;
    }

    section.depoimentos .glide__slide {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
    }
    
    section.depoimentos .glide__slide .person {
        width: 100%;
        height: auto;
    }
    
    section.depoimentos .glide__slide .person div img {
        width: 130px;
        height: 130px;
    }
    
    section.depoimentos .glide__slide .opinion {
        width: 100%;
        height: auto;
    }
    
    section.depoimentos .glide__slide .opinion div p {
        font-size: 1.15em;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Produtos em 1 coluna só */
    section.produtos .grid-produtos{
        grid-template-columns: 1fr;
    }

    .banner h1 {
        padding: 0 20px;
        font-size: 1.5em;
    }

    .banner p {
        padding: 0 30px;
        font-size: 1em;
    }

    section.mitolyn div {
        padding: 20px;
    }

    section.mitolyn div p{
        font-size: 1.1em;
    }

    section.mitolyn div a.botao {
        margin-top: 20px;
    }

    section.depoimentos {
        padding: 20px 16px;
        min-height: auto;
    }
    
    section.depoimentos .glide {
        padding: 30px 20px;
        min-height: auto;
    }
    
    section.depoimentos .glide__slide {
        gap: 25px;
        padding: 20px 0;
    }
    
    section.depoimentos .glide__slide .person div img {
        width: 120px;
        height: 120px;
    }
    
    section.depoimentos .glide__slide .opinion div p {
        font-size: 1.1em;
    }
    
    section.depoimentos .glide__arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    section.depoimentos .glide__bullets {
        bottom: 10px;
    }

    .thankyou-box {
        min-width: auto;
        width: 90%;
    }

    .thankyou-box p {
        margin: 10px 0 0 0;
        max-width: 90%;
    }

    .thankyou-box .redirect a.button {
        font-size: 1em;
        padding: 10px 12px;
    }

    .product-box{
        min-width: auto;
        width: 90%;
        flex-direction: column;
        height: auto;
    }

    .product-box img{
        width: 40%;
    }

    .product-box div{
        height: auto;
        width: 100%;
        align-items: center;
        padding: 0 10px;
    }

    .product-box div h1, .product-box div h2{
        text-align: center;
    }

    .product-box div h1{
        margin-top: 10px;
    }

    .product-box div p{
        font-size: 0.9em;
        text-align: center;
        width: 100%;
        line-height: 1.5em;
    }
}

/* Cell */
@media (max-width: 480px) {
    section.mitolyn div {
        padding: 20px;
    }

    section.mitolyn div p{
        font-size: 1.1em;
    }

    section.mitolyn div a.botao {
        margin-top: 20px;
    }

    section.depoimentos .glide__slide .opinion div p {
        font-size: 1em;
    }
    
    section.depoimentos .glide__slide .opinion div .opinion-text {
        padding: 15px 0;
    }
    
    section.depoimentos .glide__slide .person div img {
        width: 100px;
        height: 100px;
    }

    .thankyou-box {
        min-width: auto;
        width: 90%;
    }

    .thankyou-box p {
        font-size: 0.9em;
        margin: 10px 0 0 0;
        max-width: 98%;
    }

    .thankyou-box .redirect a.button {
        font-size: 80%;
        padding: 10px 12px;
    }

    .product-box{
        min-width: auto;
        width: 90%;
        flex-direction: column;
        height: auto;
    }

    .product-box img{
        width: 40%;
    }

    .product-box div{
        height: auto;
        width: 100%;
        align-items: center;
        padding: 0 10px;
    }

    .product-box div h1, .product-box div h2{
        text-align: center;
    }

    .product-box div h1{
        margin-top: 10px;
    }

    .product-box div p{
        font-size: 0.9em;
        text-align: center;
        width: 100%;
        line-height: 1.5em;
    }
}