/* Grupo O&P - Estilos Profissionais */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #1b5e20;
}

.btn-contact {
    background: #1b5e20;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #145a1a;
}

/* MAIN CONTENT */
main {
    margin-top: 80px;
}

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1b5e20;
    line-height: 1.2;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1b5e20;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #1b5e20;
    color: white;
}

.btn-primary:hover {
    background: #145a1a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #003d82;
    border: 2px solid #003d82;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

.hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 4px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* POSITIONING BLOCK */
.positioning {
    background: #f9f9f9;
    padding: 4rem 2rem;
    margin: 2rem 0;
    border-left: 4px solid #1b5e20;
}

/* OPERATOR BLOCK */
.operator-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.operator-image {
    width: 100%;
    height: 350px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.operator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.operator-quote {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1b5e20;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f0f8f0;
    border-left: 4px solid #1b5e20;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.card:hover {
    border-color: #1b5e20;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.1);
}

.card h3 {
    color: #1b5e20;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    color: #666;
}

/* STEPS */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

/* EFFICIENCY FACTORS */
.factors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.factor {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 4px;
    border-top: 3px solid #1b5e20;
}

.factor h3 {
    color: #1b5e20;
    margin-bottom: 1rem;
}

/* ABOUT SECTION */
.about {
    background: #f9f9f9;
    padding: 4rem 2rem;
}

.about h2 {
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* CTA SECTION */
.cta {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.cta h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.cta .btn {
    margin-top: 2rem;
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #aaa;
    font-size: 0.95rem;
}

.footer-section a {
    color: #1b5e20;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #2e8b57;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 4px;
    width: 90%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

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

/* SCROLL TO TOP */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #1b5e20;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    transition: all 0.3s;
}

.scroll-to-top:hover {
    background: #145a1a;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    nav {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero,
    .operator-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        height: 300px;
    }

    .steps,
    .factors {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
