@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --font-base: 'Jost', sans-serif;
    --font-title: 'Jost', serif;

    --color-text: #222;
    --color-soft: #777;
    --primary: #115b66;
}

/*HEADER*/
.header-espelhos {
    background-image: url('../assets/espelhos/header/header.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 700px;
    padding: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-espelhos .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.575);
}

.header-espelhos .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.header-espelhos h1 {
    text-align: center;
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    font-family: var(--font-title);
}

.header-espelhos h3{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 40px;
    font-weight: 200;
    color: white;
    font-family: var(--font-base);
}

/*ESPELHOS*/
.container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 80px;
}

.container img {
    width: 480px;
    border-radius: 8px;
}

.tabela p {
    font-size: 22px;
    color: var(--color-text);
    max-width: 650px;
    text-align: justify;
    margin-top: 40px;
    line-height: 1.6;
    font-family: var(--font-base);
}

/*BENEFICIOS*/
.beneficios {
    padding: 60px 80px;
}

.beneficios h1 {
    font-family: var(--font-title);
    font-size: 42px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
    color: var(--primary);
}

.beneficios ul {
    max-width: 800px;
    margin: auto;
    list-style: none;
    padding: 0;
}

.beneficios li {
    font-size: 22px;
    color: #5f5f5f;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.beneficios li::before {
    content: "•";
    font-size: 28px;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: -4px;
}

/*SOBRE ESPELHOS*/
.sobre-espelhos {
    padding: 60px 80px;
}

.sobre-espelhos h1 {
    font-family: var(--font-title);
    font-size: 42px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
    font-weight: 400;
}

.sobre-espelhos p {
    font-size: 22px;
    color: #5f5f5f;
    max-width: 900px;
    margin: 20px auto;
    text-align: justify;
    line-height: 1.6;
}

/* 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;
}

/*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;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 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;
}

/*FADE-IN*/

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: all .7s ease-out;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/*RESPONSIVIDADE*/

/*1024px*/
@media (max-width: 1024px) {

    .header-espelhos {
        height: 580px;
        padding: 50px;
    }

    .header-espelhos h1 {
        font-size: 48px;
    }

    .header-espelhos h3 {
        font-size: 28px;
        max-width: 600px;
    }

    .container {
        padding: 60px;
        gap: 30px;
    }

    .container img {
        width: 360px;
    }

    .tabela p {
        font-size: 20px;
        max-width: 520px;
    }

    .beneficios,
    .sobre-espelhos {
        padding: 50px 60px;
    }

    .beneficios h1,
    .sobre-espelhos h1 {
        font-size: 36px;
    }
}

/*768px*/
@media (max-width: 768px) {

    .header-espelhos {
        height: 500px;
        padding: 40px 20px;
    }

    .header-espelhos h1 {
        font-size: 38px;
    }

    .header-espelhos h3 {
        font-size: 22px;
        max-width: 90%;
    }

    .container {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        text-align: center;
    }

    .container img {
        width: 50%;
    }

    .tabela p {
        font-size: 18px;
        margin-top: 20px;
        max-width: 100%;
    }

    .beneficios,
    .sobre-espelhos {
        padding: 50px 20px;
    }

    .beneficios h1,
    .sobre-espelhos h1 {
        font-size: 32px;
    }

    .beneficios li,
    .sobre-espelhos p {
        font-size: 18px;
    }
}

/*480px*/
@media (max-width: 480px) {

    .header-espelhos {
        height: 420px;
        padding: 30px 10px;
    }

    .header-espelhos h1 {
        font-size: 30px;
    }

    .header-espelhos h3 {
        font-size: 18px;
    }

    .container {
        padding: 30px 10px;
    }

    .container img {
        width: 100%;
    }

    .tabela p {
        font-size: 16px;
    }

    .beneficios h1,
    .sobre-espelhos h1 {
        font-size: 28px;
    }

    .beneficios li,
    .sobre-espelhos p {
        font-size: 16px;
    }

    .catalogo p {
        font-size: 16px;
    }
}

/*360px*/
@media (max-width: 360px) {

    .header-espelhos h1 {
        font-size: 26px;
    }

    .header-espelhos h3 {
        font-size: 16px;
    }

    .container img {
        width: 100%;
    }

    .tabela p {
        font-size: 15px;
    }

    .beneficios h1,
    .sobre-espelhos h1 {
        font-size: 24px;
    }

    .beneficios li,
    .sobre-espelhos p {
        font-size: 15px;
    }

    .catalogo p {
        font-size: 15px;
    }
}