@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.header {
    background-color: #100072;
    width: 100%;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    flex-wrap: wrap;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-bottom {
    display: flex;
    align-items: center;
}

.header img {
    width: 140px;
    height: auto;
    margin: 0;
}

.header ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.header ul li {
    display: flex;
    align-items: center;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.header ul li:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.header ul li:active {
    transform: scale(0.99);
}

.header a {
    color: rgb(252, 140, 4);
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
}

.header button {
    background-color: rgb(252, 140, 4);
    color: white;
    border: none;
    font-weight: bold;
    font-size: 18px;
    height: 45px;
    width: 105px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 300ms ease;
}

.header button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 140, 4, 0.3);
}

@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header ul {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }
    
    .header-top img {
        width: 120px;
        height: auto;
    }
    
    .header img {
        width: 120px;
        height: auto;
    }
    
    .header ul {
        gap: 15px;
    }
    
    .header a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
        gap: 0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: auto;
    }
    
    .header-top {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .header-top img {
        width: 80px;
        height: auto;
        flex-shrink: 0;
    }
    
    .header-contact button {
        width: 80px;
        height: 35px;
        font-size: 11px;
        padding: 4px 6px;
    }
    
    .header-bottom {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    
    .header ul {
        gap: 6px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .header ul li {
        display: flex;
        align-items: center;
    }
    
    .header a {
        font-size: 11px;
        padding: 3px 2px;
    }
}

.main1 {
    /* Background will be rendered in ::before so we can blur it */
    background-color: #071033; /* fallback color */
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column; /* empilha h4/h1 verticalmente */
    align-items: center;    /* centra horizontalmente */
    justify-content: center;/* centra verticalmente */
    text-align: center;     /* centraliza o conteúdo de texto */
    gap: 12px;              /* espaço entre h4 e h1 */
    padding: 0 20px;
    overflow: hidden;
}

/* blurred background layer */
.main1::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/img/index/capa4.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    transform: scale(1.06);
    will-change: filter, transform;
    z-index: 0;
}

/* overlay to improve contrast */
.main1::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.375);
    z-index: 1;
}

.main1 > * {
    position: relative;
    z-index: 2;
}

.main1 h1 {
    font-size: 50px;
    color: rgb(255, 255, 255);
    font-family: 'Playfair Display', serif;
}

.main1 img {
    width: 300px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.main1 h2 {
    color: rgb(255, 255, 255);
}

@media (max-width: 1024px) {
    .main1 {
        height: 400px;
    }
    
    .main1 h1 {
        font-size: 40px;
    }
    
    .main1 img {
        width: 250px;
        max-width: 100%;
        height: auto;
    }
    
    .main1 h2 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .main1 {
        height: 350px;
        padding: 0 15px;
    }
    
    .main1 h1 {
        font-size: 32px;
    }
    
    .main1 img {
        width: 180px;
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    
    .main1 h2 {
        font-size: 16px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .main1 {
        height: 280px;
        padding: 0 10px;
    }
    
    .main1 h1 {
        font-size: 24px;
    }
    
    .main1 img {
        width: 150px;
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    
    .main1 h2 {
        font-size: 14px;
    }
}

/* Quem Somos section */
.about {
    background: linear-gradient(180deg, #061434 0%, #071033 100%);
    color: #fff;
    padding: 64px 0;
}
.about-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.about-left {
    flex: 1 1 60%;
}
.about-left h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: #fff;
}
.about-left h4 {
    color: #f3f7fb;
    margin-bottom: 14px;
}
.about-left p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    line-height: 1.6;
}
.about-right {
    flex: 0 0 36%;
    display: flex;
    justify-content: center;
    align-items: center; /* vertical centering */
}
.about-card {
    background: #f6fbff;
    color: #0c243a;
    padding: 28px 26px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(2,6,23,0.38);
    max-width: 420px;
    text-align: center; /* centraliza o conteúdo dentro do cartão */
}
.about-card h3 {
    margin: 0 0 10px 0;
}
.about-card p { margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
    .about-inner { flex-direction: column; align-items: center; }
    .about-right { width: 100%; }
    .about-card { max-width: 92%; }
}

@media (max-width: 768px) {
    .about {
        padding: 40px 0;
    }
    
    .about-inner {
        gap: 25px;
    }
    
    .about-left h2 {
        font-size: 1.5rem;
    }
    
    .about-left p,
    .about-left h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 30px 0;
    }
    
    .about-left h2 {
        font-size: 1.2rem;
    }
    
    .about-card {
        padding: 20px;
    }
}

/* Missão, Visão e Valores cards */
.values {
    background: #0f3b52; /* deep teal background */
    padding: 56px 0 80px;
}
.values-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
}
.values-title {
    font-size: 1.8rem;
    color: #0b2744;
    margin: 0 0 18px 0;
    text-align: center;
}
.values-panel {
    display: flex;
    flex-direction: column; /* title above cards */
    gap: 18px;
    background: #f6f7ff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 0 rgba(43,72,168,0.12);
}

.values-cards {
    display: flex;
    gap: 22px;
    width: 100%;
}

.value-card {
    flex: 1 1 0;
    background: #0b1f66; /* navy card */
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
    transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms ease;
    will-change: transform;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(2,6,23,0.28);
}
.value-icon img {
    width: 36px;
    height: 36px;
}
.value-card h4 {
    margin: 0;
    font-size: 1rem;
}
.value-card p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.92rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .values-panel { flex-direction: column; }
    .values-title { display: block; }
    .values-cards { flex-direction: column; }
}

@media (max-width: 768px) {
    .values {
        padding: 40px 0 60px;
    }
    
    .values-title {
        font-size: 1.4rem;
    }
    
    .values-panel {
        padding: 20px;
        gap: 15px;
    }
    
    .value-card {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .values {
        padding: 30px 0 40px;
    }
    
    .values-title {
        font-size: 1.1rem;
    }
    
    .values-panel {
        padding: 15px;
    }
    
    .value-card {
        padding: 15px;
        gap: 10px;
    }
    
    .value-card h4 {
        font-size: 0.9rem;
    }
    
    .value-card p {
        font-size: 0.8rem;
    }
}

/* Nossos Serviços section */
.services {
    background: #e9edf2;
    padding: 56px 0 80px;
}
.services-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    text-align: center;
}
.services-title {
    font-size: 2rem;
    margin-bottom: 8px;
    color: rgb(10,20,50);
}
.services-sub {
    color: rgb(60,70,90);
    margin-bottom: 20px;
}
.services-panel {
    background: #fff;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(43,72,168,0.06);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 22px;
}
.service-card {
    background: #0b1f66;
    color: #fff;
    padding: 22px;
    border-radius: 10px;
    text-align: center;
    align-items: center; /* centraliza horizontalmente ícone e textos */
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms ease;
    will-change: transform;
    cursor: pointer;
}
.service-icon img { width: 36px; height: 36px; display: block; margin: 0 auto; }
.service-card h4 { margin: 0; font-size: 1rem; }
.service-card p { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.92); line-height: 1.4; }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(2,6,23,0.18);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
    .services {
        padding: 40px 0 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 35px 0 50px;
    }
    
    .services-title {
        font-size: 1.5rem;
    }
    
    .services-sub {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .services-panel {
        padding: 18px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 18px;
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 25px 0 40px;
    }
    
    .services-title {
        font-size: 1.2rem;
    }
    
    .services-panel {
        padding: 12px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-card h4 {
        font-size: 0.9rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
}

/* Loja de Materiais Completos */
.materials {
    background: #e8ddd3;
    padding: 60px 0;
}
.materials-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}
.materials-left {
    flex: 0 0 40%;
}
.materials-left img {
    width: 100%;
    border-radius: 20px;
    display: block;
}
.materials-right {
    flex: 1 1 60%;
}
.materials-right h2 {
    font-size: 1.9rem;
    color: #0c243a;
    margin: 0 0 10px 0;
    font-weight: 600;
}
.materials-right > p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
}
.materials-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.material-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.material-checkbox {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: #0b1f66;
    border-radius: 6px;
    margin-top: 3px;
}
.material-content h4 {
    font-size: 1rem;
    color: #0b1f66;
    margin: 0 0 6px 0;
    font-weight: 600;
}
.material-content p {
    font-size: 0.92rem;
    color: #5a6b7f;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .materials-inner {
        gap: 30px;
    }
    
    .materials-right h2 {
        font-size: 1.6rem;
    }
    /* Reduce materials image size on tablet to improve layout */
    .materials-left img {
        width: 85%;
        max-width: 380px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 950px) {
    .materials {
        padding: 45px 0;
    }
    
    .materials-inner { 
        flex-direction: column; 
    }
    
    .materials-left { 
        flex: 1; 
        width: 100%; 
    }
    
    .materials-right { 
        flex: 1; 
        width: 100%; 
    }
}

@media (max-width: 768px) {
    .materials {
        padding: 35px 0;
    }
    
    .materials-right h2 {
        font-size: 1.3rem;
    }
    
    .materials-right > p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .materials-list {
        gap: 15px;
    }
    
    .material-item {
        gap: 12px;
    }
    
    .material-checkbox {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .materials {
        padding: 25px 0;
    }
    
    .materials-right h2 {
        font-size: 1.1rem;
    }
    
    .material-content h4 {
        font-size: 0.9rem;
    }
    
    .material-content p {
        font-size: 0.8rem;
    }
}

/* Por Que Escolher o GRUPO CAETANO */
.why-choose {
    background-image: url(/img/index/fundo.jpeg);
    background-attachment: fixed;
    background-size: cover;
    background-blend-mode: overlay;
    padding: 80px 0;
    position: relative;
}
.why-choose::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.65);
    z-index: 0;
}
.why-choose-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.why-choose h2 {
    font-size: 2.2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.why-card {
    background: rgba(11, 31, 102, 0.15);
    border: 2px solid #4360f0;
    border-radius: 8px;
    padding: 28px;
    color: #fff;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 300ms ease;
    backdrop-filter: blur(10px);
}
.why-card:hover {
    background: rgba(11, 31, 102, 0.25);
    box-shadow: 0 8px 32px rgba(67, 96, 240, 0.2);
    transform: translateY(-4px);
}
.why-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}
.why-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-choose h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .why-choose-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .why-choose {
        padding: 60px 0;
    }
    
    .why-choose h2 {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .why-choose {
        padding: 45px 0;
    }
    
    .why-choose h2 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .why-card {
        padding: 20px;
    }
    
    .why-card h3 {
        font-size: 1rem;
    }
    
    .why-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .why-choose {
        padding: 35px 0;
    }
    
    .why-choose h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .why-card {
        padding: 15px;
        gap: 8px;
    }
    
    .why-card h3 {
        font-size: 0.9rem;
    }
    
    .why-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Entre em Contato */
.contact {
    background: #d5d9df;
    padding: 80px 0 60px;
}
.contact-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
}
.contact-card {
    background: #0b1f66;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    gap: 80px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.contact-left {
    flex: 1;
}
.contact-left h3 {
    font-size: 1.4rem;
    margin: 0 0 12px 0;
    font-weight: 700;
}
.contact-left > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0 0 24px 0;
    line-height: 1.5;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-item strong {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}
.contact-item a {
    color: #6ca3ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 200ms ease;
}
.contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.hours-section h4,
.budget-section h4 {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}
.hours-section p,
.budget-section p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 6px 0;
    line-height: 1.5;
}
.budget-section p:last-child {
    margin-bottom: 0;
}

.contact-social {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-social p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}
.contact-social strong {
    color: #fff;
    font-weight: 600;
}
.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.social-btn {
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 300ms ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.social-btn.whatsapp {
    background: #25d366;
    color: #fff;
}
.social-btn.whatsapp:hover {
    background: #1fc755;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.social-btn.instagram {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.social-btn.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}
.social-btn.location {
    background: #4360f0;
    color: #fff;
}
.social-btn.location:hover {
    background: #3350d0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 96, 240, 0.3);
}

@media (max-width: 1200px) {
    .contact-card {
        gap: 60px;
        padding: 50px;
    }
}

@media (max-width: 1000px) {
    .contact {
        padding: 60px 0 50px;
    }
    
    .contact-card {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 45px 0 35px;
    }
    
    .contact-card {
        padding: 30px;
        gap: 30px;
    }
    
    .contact-left h3 {
        font-size: 1.2rem;
    }
    
    .contact-left > p,
    .contact-item a,
    .hours-section p,
    .budget-section p {
        font-size: 0.9rem;
    }
    
    .contact-right {
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: 35px 0 30px;
    }
    
    .contact-card {
        padding: 20px;
        gap: 20px;
    }
    
    .contact-left h3 {
        font-size: 1rem;
    }
    
    .contact-right {
        gap: 20px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 25px 0;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .contact-left h3 {
        font-size: 0.9rem;
    }
    
    .contact-item strong {
        font-size: 0.75rem;
    }
    
    .contact-item a {
        font-size: 0.8rem;
    }
}

/* Modals */
.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms ease, visibility 300ms ease;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 300ms ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 200ms ease;
    z-index: 10;
}

.close:hover,
.close:focus {
    color: #0b1f66;
}

.modal-header {
    background: linear-gradient(135deg, #0b1f66 0%, #4360f0 100%);
    color: #fff;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
    position: relative;
}

.modal-header img {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 8px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.modal-body {
    padding: 30px 25px;
    color: #333;
    position: relative;
    min-height: auto;
    max-height: auto;
}

.modal-body.image-viewer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex: 1;
    min-height: 250px;
    padding: 20px;
}

.arrow-btn {
    background: rgba(67, 96, 240, 0.9);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
    flex-shrink: 0;
}

.arrow-btn:hover {
    background: #4360f0;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(67, 96, 240, 0.4);
}

.arrow-btn:active {
    transform: scale(0.95);
}

.modal-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.modal-image {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.modal-body p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

.modal-body ul {
    margin: 15px 0 20px 20px;
    list-style-position: inside;
}

.modal-body li {
    margin: 8px 0;
    color: #555;
    line-height: 1.5;
}

.modal-body strong {
    color: #0b1f66;
    font-weight: 600;
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
}

.modal-btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 300ms ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    background: #4360f0;
    color: #fff;
}

.modal-btn:hover {
    background: #3350d0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 96, 240, 0.3);
}

.modal-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.modal-btn.whatsapp:hover {
    background: #1fc755;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Modal de Contato Específico */
#modal-contact .contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#modal-contact .contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#modal-contact .contact-item strong {
    font-size: 1rem;
    color: #0b1f66;
    font-weight: 600;
}

#modal-contact .contact-item a {
    color: #4360f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 200ms ease;
}

#modal-contact .contact-item a:hover {
    color: #0b1f66;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .modal-content {
        width: 92%;
        max-width: 480px;
        margin: 10% auto;
        max-height: 80vh;
    }
    
    .modal-body {
        padding: 30px 20px;
        min-height: 260px;
        gap: 12px;
    }
    
    .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .modal-image {
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: 480px;
        margin: 15% auto;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-header img {
        width: 55px;
        height: 55px;
    }
    
    .modal-body {
        padding: 25px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 250px;
    }
    
    .arrow-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .modal-image {
        max-height: 220px;
    }
}

@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .close {
        right: 12px;
        top: 12px;
        font-size: 24px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-header img {
        width: 50px;
        height: 50px;
    }
    
    .modal-body {
        padding: 20px 15px;
        gap: 10px;
        min-height: 240px;
    }
    
    .arrow-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .modal-image {
        max-height: 180px;
    }
    
    .modal-footer {
        flex-direction: column;
        padding: 15px 15px 20px;
    }
    
    .modal-btn {
        width: 100%;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 30% auto;
        max-width: 90vw;
    }
    
    .close {
        right: 10px;
        top: 10px;
        font-size: 20px;
    }
    
    .modal-header {
        padding: 15px 12px;
        gap: 10px;
    }
    
    .modal-header h2 {
        font-size: 1rem;
    }
    
    .modal-header img {
        width: 45px;
        height: 45px;
    }
    
    .modal-body {
        padding: 15px 12px;
        min-height: 200px;
        gap: 8px;
    }
    
    .arrow-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .modal-image {
        max-height: 150px;
    }
    
    .modal-footer {
        padding: 12px 12px 15px;
        gap: 8px;
    }
    
    .modal-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Página de Produtos */
.products {
    background: #f5f5f5;
    padding: 80px 0;
}

.products-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.products-inner h1 {
    font-size: 2.5rem;
    color: #0b1f66;
    text-align: center;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.products-intro {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin: 0 0 50px 0;
    line-height: 1.6;
}

/* Filtro de Categorias */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-btn-dropdown {
    padding: 12px 24px;
    border: 2px solid #0b1f66;
    background-color: #fff;
    color: #0b1f66;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 300ms ease;
    white-space: nowrap;
}

.filter-btn-dropdown:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.filter-menu {
    display: none;
    position: absolute;
    background: #fff;
    border: 2px solid #0b1f66;
    border-radius: 12px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(11, 31, 102, 0.2);
    z-index: 100;
    animation: slideDown 250ms ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.filter-option {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #0b1f66;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease;
}

.filter-option:first-child {
    border-radius: 10px 10px 0 0;
}

.filter-option:last-child {
    border-radius: 0 0 10px 10px;
}

.filter-option:hover {
    background-color: #f0f0f0;
}

.filter-option.active {
    background-color: #0b1f66;
    color: #fff;
    font-weight: 600;
}

.product-card.hidden {
    display: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    background: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.excecao {
    scale: (0.95);
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.1rem;
    color: #0b1f66;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.product-category {
    font-size: 0.85rem;
    color: #4360f0;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 auto 0;
    line-height: 1.5;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    gap: 12px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fc8c04;
}

.btn-product {
    padding: 10px 20px;
    background: #4360f0;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 300ms ease;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
}

.btn-product:hover {
    background: #3350d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 96, 240, 0.3);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 1000px) {
    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 22px;
    }
    
    .products-inner h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .products {
        padding: 50px 0;
    }
    
    .products-inner h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .products-intro {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }

    .filter-container {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn-dropdown {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .products {
        padding: 40px 0;
    }
    
    .products-inner h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .products-intro {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-product {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products {
        padding: 30px 0;
    }
    
    .products-inner h1 {
        font-size: 1.2rem;
    }
    
    .products-intro {
        font-size: 0.8rem;
    }

    .filter-container {
        gap: 6px;
        margin-bottom: 20px;
    }

    .filter-btn-dropdown {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h3 {
        font-size: 0.9rem;
    }
    
    .btn-product {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Modal de Imagem Ampliada */
.modal-image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 70%;
    max-width: 600px;
    max-height: 70vh;
    border-radius: 12px;
    padding: 0;
    animation: modalFadeIn 300ms ease;
}

.modal-image-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsivo para tablet */
@media (max-width: 768px) {
    .modal-image-content {
        width: 80%;
        max-width: 500px;
        max-height: 65vh;
    }

    .modal-image-content img {
        max-height: 65vh;
    }
}

/* Responsivo para mobile */
@media (max-width: 480px) {
    .modal-image-content {
        width: 90%;
        max-width: 400px;
        max-height: 60vh;
    }

    .modal-image-content img {
        max-height: 60vh;
    }

    .close {
        right: 10px;
        top: 10px;
        font-size: 24px;
    }
}