/* www/styles/manutencao.css */

/* --- Variáveis de Tema --- */
:root {
    --primary-orange: #f97316;
    --dark-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --white: #ffffff;
    --background-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #f1f1f1;
    --card-shadow: rgba(0,0,0,0.08);
    --card-shadow-hover: rgba(0,0,0,0.12);
    --border-radius: 15px;
}

/* --- Estilos Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h1, h2, h3 {
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.btn {
    display: inline-block;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #1c3172;
    transform: translateY(-3px);
}

/* --- Cabeçalho e Navegação --- */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--card-shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Lexend Mega', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-decoration: none;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

header nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--primary-orange);
}

.btn-contact {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-contact:hover {
    color: var(--white);
    background-color: #e86a14;
}

/* --- Seção Hero --- */
#hero {
    background: linear-gradient(45deg, var(--primary-orange), #ff8c42);
    color: var(--white);
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-logo {
    width: 100px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* --- Seção de Serviços --- */
#services {
    background-color: var(--background-gray);
}

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

.service-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--card-shadow-hover);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

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

.service-card p {
    line-height: 1.7;
}


/* --- Seção Sobre Nossos Métodos --- */
#methods {
    background: var(--white);
}
.method-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}
.method-item.reverse {
    flex-direction: row-reverse;
}
.method-item:last-child {
    margin-bottom: 0;
}
.method-text {
    flex: 1;
}
.method-text h3 {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}
.method-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}
.method-image {
    flex: 1;
}
.method-image img {
    width: 100%;
    border-radius: 20px;
}
.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--dark-blue);
    color: var(--dark-blue);
    padding: 10px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: var(--dark-blue);
    color: var(--white);
}

/* --- Seção de Planos --- */
#plans {
    background-color: var(--primary-orange);
}

#plans h2 {
    color: var(--white);
}

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

.plan-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 15px var(--card-shadow);
    border: 3px solid transparent;
    transition: transform 0.3s ease;
}

.plan-card.featured {
    border-color: var(--dark-blue);
    transform: scale(1.05);
}

.plan-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.plan-card h3 {
    font-size: 1.8rem;
    color: var(--light-blue);
}

.plan-card .price {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0;
    color: var(--dark-blue);
}

.plan-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.plan-card ul i {
    margin-right: 10px;
}

.fa-check { color: #28a745; }
.fa-times { color: #dc3545; }


/* --- Seção de FAQ --- */
#faq {
    background-color: var(--background-gray);
}
#faq .container {
    max-width: 800px;
}
.faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px var(--card-shadow);
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-dark);
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
    padding: 0 20px 20px;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if answers are longer */
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Seção de Contato --- */
#contact {
    background-color: var(--background-gray);
    padding: 60px 0;
}

#contact .container {
    text-align: center;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

#contact p {
    max-width: 500px;
    margin: 0 auto 30px;
}

/* --- Rodapé --- */
.footer {
    background-color: #111827;
    color: white;
    padding: 2.5rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.footer-col-span-2 {
    grid-column: span 2 / span 2;
}
.footer-logo-container {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1rem;
}
.footer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.footer-text {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}
.social-link span {
    font-size: 0.875rem;
}
.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
}
.contact-icon {
    color: #F97316;
    margin-right: 0.75rem;
    margin-top: 4px;
}
.contact-text-main {
    font-weight: 500;
}
.contact-text-sub {
    color: #9CA3AF;
    font-size: 0.875rem;
}
.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
.footer-bottom-text {
    color: #9CA3AF;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .footer-bottom-text {
        margin-bottom: 0;
    }
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    font-size: 0.875rem;
}
.footer-link {
    color: #9CA3AF;
    transition: color 0.3s;
    text-decoration: none;
}
.footer-link:hover {
    color: white;
}

/* --- Responsividade --- */
@media (max-width: 992px) {
    .hero-content, .method-item, .method-item.reverse {
        flex-direction: column;
        text-align: center;
    }
    .method-item {
        gap: 30px;
    }
    .method-image {
        order: -1;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 10px;
    }
    header nav ul {
        gap: 15px;
    }
    section {
        padding: 60px 0;
    }
    h2 {
        font-size: 2rem;
    }
}