/* ============================================
   MARCOLINO SIMÃO - CONSTRUCTION COMPANY WEBSITE
   Bold Construction Confidence Design System
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */

* {
    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;
    overflow-x: hidden;
}

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

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

a {
    color: #0A2540;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #D97706;
}

/* ============================================
   2. UTILITY CLASSES
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.w-full {
    width: 100%;
}

/* ============================================
   3. BUTTONS
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.2);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: #D97706;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #B85E00;
}

.btn-outline {
    border: 2px solid #0A2540;
    color: #0A2540;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #0A2540;
    color: #FFFFFF;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #0A2540 0%, #D97706 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1rem;
}

.logo-text {
    font-weight: bold;
    color: #0A2540;
    font-size: 0.875rem;
    display: none;
}

.logo-extra {
    width: 80px;   /* ajuste conforme necessário */
    margin-right: 50px;
}

@media (min-width: 640px) {
    .logo-text {
        display: inline;
    }
}

.nav-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #4B5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #D97706;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions .btn-primary {
    display: none;
}

@media (min-width: 640px) {
    .header-actions .btn-primary {
        display: inline-flex;
    }
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #0A2540;
    width: 2rem;
    height: 2rem;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid #E5E7EB;
    background-color: #FFFFFF;
}

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

/* ============================================
   5. HERO SECTION
   ============================================ */

.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 10rem;
        padding-bottom: 8rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-title {
    color: #0A2540;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.7s ease-out;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #4B5563;
    margin-bottom: 2rem;
    max-width: 500px;
    animation: slideInLeft 0.7s ease-out 0.1s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideInLeft 0.7s ease-out 0.2s both;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-image {
    position: relative;
    height: 24rem;
    animation: slideInRight 0.7s ease-out;
}

@media (min-width: 768px) {
    .hero-image {
        height: 100%;
        min-height: 500px;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.2), transparent);
    border-radius: 0.5rem;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    color: #D97706;
    stroke-width: 2;
}

/* ============================================
   6. ABOUT SECTION
   ============================================ */

.about {
    padding: 5rem 0;
    background-color: #F3F4F6;
}

@media (min-width: 768px) {
    .about {
        padding: 8rem 0;
    }
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    color: #0A2540;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4B5563;
    max-width: 500px;
}

.section-header.white-text .section-title {
    color: #FFFFFF;
}

.section-header.white-text .section-subtitle {
    color: #E5E7EB;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h3 {
    color: #0A2540;
    margin-bottom: 2rem;
    font-size: 1.875rem;
}

.value-item {
    margin-bottom: 2rem;
}

.value-item h4 {
    color: #D97706;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #4B5563;
}

.about-image {
    position: relative;
    height: 24rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #D97706;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #4B5563;
    font-weight: 500;
}

/* ============================================
   7. SERVICES SECTION
   ============================================ */

.services {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

@media (min-width: 768px) {
    .services {
        padding: 8rem 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #FFFFFF;
    border: 2px solid #E5E7EB;
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #D97706;
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.15);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #D97706, #B85E00);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: #0A2540;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #4B5563;
    font-size: 0.95rem;
}

/* ============================================
   8. PROJECTS SECTION
   ============================================ */

.projects {
    padding: 5rem 0;
    background-color: #F3F4F6;
}

@media (min-width: 768px) {
    .projects {
        padding: 8rem 0;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-15px);
}

.project-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .project-image {
        height: 20rem;
    }
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.project-overlay p {
    color: #E5E7EB;
    font-size: 0.875rem;
}

.project-info {
    margin-top: 1rem;
}

.project-category {
    display: inline-block;
    background-color: #D97706;
    color: #FFFFFF;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-info h3 {
    color: #0A2540;
    font-size: 1.25rem;
}

/* ============================================
   9. TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

@media (min-width: 768px) {
    .testimonials {
        padding: 8rem 0;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: #F3F4F6;
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid #D97706;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #D97706;
    font-size: 1.125rem;
}

.testimonial-quote {
    color: #4B5563;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
}

.author-name {
    font-weight: bold;
    color: #0A2540;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: #4B5563;
}

.author-company {
    font-size: 0.875rem;
    color: #4B5563;
}

/* ============================================
   10. CONTACT SECTION
   ============================================ */

.contact {
    padding: 5rem 0;
    background-color: #0A2540;
    color: #FFFFFF;
}

@media (min-width: 768px) {
    .contact {
        padding: 8rem 0;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideInLeft 0.7s ease-out;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D97706;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slideInRight 0.7s ease-out;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: #D97706;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: #FFFFFF;
}

.contact-item h4 {
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #E5E7EB;
}

/* ============================================
   11. FOOTER
   ============================================ */

.footer {
    background-color: rgba(10, 37, 64, 0.95);
    color: #A0AEC0;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-grid h4 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

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

.footer-grid ul li {
    margin-bottom: 0.5rem;
}

.footer-grid a {
    color: #A0AEC0;
    transition: color 0.3s ease;
}

.footer-grid a:hover {
    color: #D97706;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #D97706;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFFFFF;
}

/* ============================================
   12. FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 40;
    animation: scaleIn 0.3s ease-out;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

/* ============================================
   13. ANIMATIONS
   ============================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   14. RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        text-align: justify;
        width: 80%;        /* ocupa 80% da área cinzenta */
        margin: 0 auto;    /* centraliza o bloco */
    }
}

/* Smooth transitions for all interactive elements */
button, a, input, textarea {
    transition: all 0.3s ease;
}
