@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --font-base: 'Jost', sans-serif;
    --font-title: 'Jost', serif;

    --color-text: #2f2f2f;
    --color-soft: #555;
    --primary: #115b66;
}

/* HEADER */

header {
    background-image: url('../assets/about/header-img.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 800px;
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Overlay */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(1px);
    z-index: 0;
}

header h1, header h3 {
    position: relative;
    z-index: 1;
}

header h1 {
    text-align: center;
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    font-family: var(--font-title);
}

header h3 {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 40px;
    font-weight: 100;
    color: white;
}

/* HISTORY */

.history {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: justify;
    line-height: 1.6;
}

.history h1 {
    font-size: 40px;
    margin: 30px 0;
    font-weight: 600;
    color: var(--primary);
}

.history p {
    font-size: 25px;
    color: var(--color-soft);
}

.history li {
    font-size: 25px;
    margin-left: 40px;
}

.history img {
    width: 30px;
}

/* CARDS */

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding: 20px;
}

.value-item {
    background: #f4f4f4;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    background: white;
}

.value-item h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 30px;
}

.value-item h1 img {
    width: 45px;
}

.value-item p, .value-item ul li {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 10px;
}

.value-item ul {
    list-style: none;
    padding-left: 10px;
}

.value-item ul li::before {
    content: "• ";
    color: var(--primary);
    font-weight: bold;
}

/* ANIMAÇÃO FADE IN */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* CATALOGO */

.catalogo { 
  padding: 28px 0; 
  text-align:center; 
}
.catalogo p { 
  font-size:18px; 
  color:var(--color-soft); 
}

.link-pdf {
    background: none;
    border: none;
    color: #115b66;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.link-pdf:hover {
    opacity: 0.8;
}

.pdf-container {
    display: none;
    margin-top: 20px;
    width: 100%;
    height: 80vh;
    border-radius: 12px;
    overflow: hidden;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.catalogo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.catalogo-modal.active {
    display: flex;
}

.catalogo-box {
    position: relative;
    width: 90%;
    height: 90%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

.catalogo-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-catalogo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*Whatsapp link*/
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    animation: blink 2.3s infinite ease-in-out;
}

/* Keyframe for whats link */
@keyframes blink {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* hover effect */
.whatsapp-float:hover {
    transform: scale(1.2);
    transition: 0.3s;
}

/*Whatsapp link*/
.whatsapp{
    margin: 20px auto;
    text-align: center;
}
.whatsapp-fixed {
    padding: 10px;
    background-color: #25D366;
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    animation: blink 3.3s infinite ease-in-out;
    border-radius: 5px;
}

/* RESPONSIVIDADE */

/*1024px*/
@media (max-width: 1024px) {
    header { 
        height: 600px; 
    }
    header h1 { 
        font-size: 48px; 
    }
    header h3 { 
        font-size: 32px; 
    }
    .history{
        width: 600px;
    }
    .history p, .history li {
        font-size: 22px;
    }
}

/*768px*/
@media (max-width: 768px) {
    header { 
        height: 500px; 
    }
    header h1 { 
        font-size: 38px; 
    }
    header h3 { 
        font-size: 26px; 
    }

    .history p, .history li {
        font-size: 20px;
    }
}

/*480px*/
@media (max-width: 480px) {
    header { 
        height: 420px; 
    }
    header h1 { 
        font-size: 30px; 
    }
    header h3 { 
        font-size: 20px; 
    }
    .history{
        width: 400px;
    }
    .history p, .history li {
        font-size: 18px;
    }
}

/*360px*/
@media (max-width: 360px) {
    header h1 { 
        font-size: 26px; 
    }
    header h3 { 
        font-size: 18px; 
    }
    .history{
        width: 300px;
    }
    .history p, .history li { 
        font-size: 16px; 
    }
}