/* ===================================================
   CSOTE Consultoria - Folha de Estilos
   =================================================== */

:root {
    --primary: #1a365d;
    --secondary:#c85536;
    --accent: #e53e3e;
    --dark: #1a202c;
    --light: #f7fafc;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

.logo span {
    color: #c85536;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content h1 span {
    color: #ca5b3d;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background:  #ca5b3d;
    color: var(--dark);
}

.btn-primary:hover {
    background:  #ca5b3d;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color:  #ca5b3d;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Section Styles */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 20px auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: 20px;
    z-index: -1;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-bottom-color: var(--secondary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #2c5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary);
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
    background: var(--light);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 280px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

/* Itens de vídeo: cursor normal e overlay que não bloqueia os controlos */
.portfolio-item.video-item {
    cursor: default;
}
.portfolio-item.video-item .portfolio-overlay {
    pointer-events: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 25px;
    line-height: 1.8;
    padding-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    color: var(--primary);
    font-size: 1.1rem;
}

.testimonial-author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stars {
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary), #2c5282);
    color: var(--white);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--white);
}

.contact .section-header .line {
    background: var(--secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
}

.contact-item div h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item div p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-item div a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item div a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   Questionário de Opinião dos Clientes
   =================================================== */
.feedback-wrapper {
    max-width: 720px;
    margin: 70px auto 0;
    padding: 0 20px;
}

.feedback-card {
    background: var(--white);
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 20px 50px rgba(26, 54, 93, 0.12);
    border-top: 5px solid var(--secondary);
}

.feedback-header {
    text-align: center;
    margin-bottom: 32px;
}

.feedback-header i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feedback-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.feedback-header p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.6;
}

.feedback-question {
    margin-bottom: 28px;
}

.feedback-label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 1.02rem;
    line-height: 1.5;
}

/* Avaliação por estrelas */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 8px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #d8dee9;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--secondary);
}

.star-rating label:hover {
    transform: scale(1.15);
}

/* Caixa de opinião */
.feedback-card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    resize: vertical;
    transition: var(--transition);
}

.feedback-card textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(200, 85, 54, 0.12);
}

/* Botão de envio */
.btn-feedback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-feedback:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.2);
}

@media (max-width: 768px) {
    .feedback-card {
        padding: 35px 22px;
    }
    .star-rating label {
        font-size: 1.7rem;
    }
}

/* ===================================================
   Página de Produtos
   =================================================== */
.produtos-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #122844 100%);
    color: #fff;
    text-align: center;
    padding: 70px 20px 60px;
}
.produtos-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 14px;
}
.produtos-hero h1 span { color: var(--secondary); }
.produtos-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}
.produtos-section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.produtos-section .cat-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.7rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.produtos-section .cat-title i { color: var(--secondary); }
.produtos-section .cat-sub { color: var(--text-light); margin-bottom: 32px; }
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 20px;
}
.produto-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26,54,93,0.08);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid #eef2f7;
}
.produto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(26,54,93,0.15);
}
.produto-img {
    background: #f4f6fa;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.produto-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.produto-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.produto-tag {
    align-self: flex-start;
    background: rgba(200,85,54,0.12);
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 11px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.produto-body h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.18rem;
    margin-bottom: 10px;
    line-height: 1.35;
}
.produto-body p { color: var(--text-light); line-height: 1.7; font-size: 0.95rem; margin-bottom: 20px; flex: 1; }
.produto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
}
.produto-btn:hover { background: var(--primary); }

@media (max-width: 768px) {
    .produtos-hero h1 { font-size: 1.8rem; }
    .produtos-hero { margin-top: 70px; }
}

/* ===================================================
   Página Nossos Serviços (detalhada)
   =================================================== */
.serv-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #122844 100%);
    color: #fff;
    text-align: center;
    padding: 70px 20px 60px;
}
.serv-hero h1 { font-family: 'Montserrat', sans-serif; font-size: 2.4rem; margin-bottom: 14px; }
.serv-hero h1 span { color: var(--secondary); }
.serv-hero p { max-width: 700px; margin: 0 auto; color: rgba(255,255,255,0.82); line-height: 1.7; }

.serv-wrap { max-width: 1150px; margin: 0 auto; padding: 60px 20px; }

/* Serviço em destaque (bloco alternado imagem/texto) */
.serv-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border-radius: 18px;
    padding: 45px;
    margin-bottom: 40px;
    box-shadow: 0 12px 40px rgba(26,54,93,0.10);
    border: 1px solid #eef2f7;
}
.serv-feature.invertido .serv-feature-media { order: 2; }
.serv-feature-media {
    border-radius: 14px;
    overflow: hidden;
    background: #f4f6fa;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.serv-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.serv-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,85,54,0.12);
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.serv-feature h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.3;
}
.serv-feature p { color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.serv-feature .destaques { list-style: none; margin: 0 0 26px; padding: 0; }
.serv-feature .destaques li { padding: 6px 0 6px 28px; position: relative; color: var(--text); }
.serv-feature .destaques li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
}
.serv-cta {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(200,85,54,0.25);
}
.serv-cta:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26,54,93,0.25); }
.serv-cta.alt { background: var(--primary); box-shadow: 0 8px 20px rgba(26,54,93,0.25); }
.serv-cta.alt:hover { background: var(--secondary); }

/* Grelha dos restantes serviços */
.serv-others-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.6rem;
    text-align: center;
    margin: 20px 0 8px;
}
.serv-others-sub { text-align: center; color: var(--text-light); margin-bottom: 36px; }
.serv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 26px; }
.serv-detail-card {
    background: var(--white);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(26,54,93,0.07);
    border-top: 4px solid var(--secondary);
    transition: var(--transition);
}
.serv-detail-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26,54,93,0.13); }
.serv-detail-card .ico {
    width: 60px; height: 60px;
    background: rgba(26,54,93,0.07);
    color: var(--secondary);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 18px;
}
.serv-detail-card h3 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-size: 1.2rem; margin-bottom: 12px; }
.serv-detail-card p { color: var(--text-light); line-height: 1.7; font-size: 0.95rem; }

@media (max-width: 768px) {
    .serv-feature { grid-template-columns: 1fr; padding: 28px; gap: 26px; }
    .serv-feature.invertido .serv-feature-media { order: 0; }
    .serv-feature-media { min-height: 220px; }
    .serv-hero h1 { font-size: 1.8rem; }
    .serv-feature h2 { font-size: 1.5rem; }
}

/* ===================================================
   Página Sobre
   =================================================== */
.sobre-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #122844 100%);
    color: #fff; text-align: center; padding: 70px 20px 60px;
}
.sobre-hero h1 { font-family: 'Montserrat', sans-serif; font-size: 2.4rem; margin-bottom: 14px; }
.sobre-hero h1 span { color: var(--secondary); }
.sobre-hero p { max-width: 700px; margin: 0 auto; color: rgba(255,255,255,0.82); line-height: 1.7; }

.sobre-wrap { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }

.historia { display: grid; grid-template-columns: 1.4fr 1fr; gap: 45px; align-items: start; margin-bottom: 30px; }
.historia h2 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-size: 1.9rem; margin-bottom: 18px; }
.historia h2 span { color: var(--secondary); }
.historia p { color: var(--text); line-height: 1.9; margin-bottom: 16px; }

.factos { background: var(--white); border-radius: 16px; padding: 30px; box-shadow: 0 12px 40px rgba(26,54,93,0.10); border-top: 4px solid var(--secondary); }
.facto { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eef2f7; }
.facto:last-child { border-bottom: none; }
.facto .fic { width: 50px; height: 50px; flex-shrink: 0; background: rgba(200,85,54,0.12); color: var(--secondary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.facto .ftxt .l { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.facto .ftxt .v { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); font-size: 1.05rem; }

/* Missão / Visão / Valores */
.mvv { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; margin: 20px 0 10px; }
.mvv-card { background: var(--white); border-radius: 14px; padding: 30px 26px; box-shadow: 0 8px 30px rgba(26,54,93,0.07); }
.mvv-card .ic { font-size: 1.8rem; color: var(--secondary); margin-bottom: 14px; }
.mvv-card h3 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; }
.mvv-card p { color: var(--text-light); line-height: 1.7; font-size: 0.95rem; }

/* Equipa */
.equipa-sec { background: var(--light); padding: 60px 20px; }
.equipa-inner { max-width: 1100px; margin: 0 auto; }
.equipa-sec h2 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-size: 1.9rem; text-align: center; margin-bottom: 8px; }
.equipa-sec h2 span { color: var(--secondary); }
.equipa-sub { text-align: center; color: var(--text-light); margin-bottom: 40px; }
.equipa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 30px; }
.membro {
    background: var(--white); border-radius: 16px; overflow: hidden; text-align: center;
    box-shadow: 0 8px 30px rgba(26,54,93,0.08); transition: var(--transition); padding-bottom: 28px;
}
.membro:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(26,54,93,0.15); }
.membro-foto { width: 100%; aspect-ratio: 1; overflow: hidden; }
.membro-foto img { width: 100%; height: 100%; object-fit: cover; }
.membro h3 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-size: 1.25rem; margin: 24px 20px 4px; }
.membro .cargo { color: var(--secondary); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 14px; }
.membro p { color: var(--text-light); line-height: 1.65; font-size: 0.92rem; padding: 0 26px; }

@media (max-width: 768px) {
    .historia { grid-template-columns: 1fr; gap: 30px; }
    .sobre-hero h1 { font-size: 1.8rem; }
}


.pf-hero {
            margin-top: 80px;
            background: linear-gradient(135deg, var(--primary) 0%, #122844 100%);
            color: #fff; text-align: center; padding: 70px 20px 60px;
        }
.pf-hero h1 { 
        font-family: 'Montserrat', sans-serif; font-size: 2.4rem; margin-bottom: 14px; }
        .pf-hero h1 span { color: var(--secondary); }
        .pf-hero p { max-width: 700px; margin: 0 auto; color: rgba(255,255,255,0.82); line-height: 1.7; }

        .pf-section { max-width: 1150px; margin: 0 auto; padding: 60px 20px; }
        .pf-section .cat-title {
            font-family: 'Montserrat', sans-serif; color: var(--primary);
            font-size: 1.7rem; margin-bottom: 6px; display: flex; align-items: center; gap: 12px;
        }
        .pf-section .cat-title i { color: var(--secondary); }
        .pf-section .cat-sub { color: var(--text-light); margin-bottom: 34px; }

        .pf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 28px; }
        .pf-card {
            background: var(--white); border-radius: 14px; overflow: hidden;
            box-shadow: 0 8px 30px rgba(26,54,93,0.08); border: 1px solid #eef2f7;
            transition: var(--transition);
        }
        .pf-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(26,54,93,0.15); }
        .pf-media { width: 100%; aspect-ratio: 16 / 10; background: #0f1f38; overflow: hidden; }
        .pf-media img, .pf-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
        .pf-body { padding: 20px 22px 24px; }
        .pf-tag {
            display: inline-block; background: rgba(200,85,54,0.12); color: var(--secondary);
            font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
            padding: 4px 11px; border-radius: 20px; margin-bottom: 10px;
        }
        .pf-body h3 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-size: 1.15rem; margin-bottom: 8px; }
        .pf-body p { color: var(--text-light); line-height: 1.65; font-size: 0.93rem; }

        @media (max-width: 768px) { .pf-hero h1 { font-size: 1.8rem; } }