/* ========================================
   ALFA LOCAÇÕES - ESTILOS CSS
   Design System e Landing Page
   ======================================== */

/* ===== CSS Variables / Design Tokens ===== */
:root {
    /* Brand Colors */
    --primary: #006622;
    --primary-light: #008c2e;
    --primary-dark: #00290e;
    --primary-foreground: #ffffff;

    /* Background Colors */
    --background: #ffffff;
    --background-alt: #f0f0f0;
    --background-card: #f7f7f8;

    /* Text Colors */
    --foreground: #00290e;
    --muted-foreground: #5a6b5f;

    /* Border Colors */
    --border: #d9e5dc;

    /* Accent Colors */
    --green-accent: #59D265;

    /* Shadows */
    --shadow-soft: 0 4px 20px -4px rgba(0, 41, 14, 0.1);
    --shadow-medium: 0 8px 30px -6px rgba(0, 41, 14, 0.15);
    --shadow-strong: 0 12px 40px -8px rgba(0, 41, 14, 0.2);

    /* Border Radius */
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.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;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(0, 102, 34, 0.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

@media (min-width: 640px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
}

.hero-image-container {
    width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Overlay preto */
.hero-black-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.5rem;
}

/* Hero Logo */
.hero-logo {
    position: absolute;
    top: 1rem;
    left: 44%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    height: 2rem;
    width: auto;
    display: block;
}

/* Hero Title */
.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.05em;
    position: absolute;
    top: 4rem;
    padding: 0 0.5rem;
    font-size: 1.5rem;
}

.text-green {
    color: #56D062;
}

/* Hero Subtitle with Lines */
.hero-subtitle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    width: 100%;
    max-width: 280px;
    padding: 0 0.5rem;
    position: absolute;
    top: 7rem;
}

.hero-line {
    width: 100%;
    height: 2px;
    background-color: white;
}

.hero-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    font-size: 0.875rem;
}

/* Hero Button */
.btn-hero {
    background-color: transparent;
    color: #00A859;
    border: 2px solid #00A859;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 0.65rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: rgba(0, 168, 89, 0.1);
}

.btn-hero-icon {
    height: 1.5rem;
    width: auto;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.hero-feature-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #56D062;
    border-radius: 50%;
}

.hero-feature span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* Responsive - SM (640px) */
@media (min-width: 640px) {
    .hero-overlay {
        gap: 1rem;
        padding: 1rem;
    }

    .hero-logo {
        top: 2rem;
    }

    .hero-logo img {
        height: 3rem;
    }

    .hero-title {
        font-size: 1.875rem;
        top: 6rem;
        padding: 0 1rem;
    }

    .hero-subtitle-container {
        gap: 0.15rem;
        max-width: 28rem;
        top: 10rem;
        padding: 0 1rem;
    }

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

    .btn-hero {
        border-width: 3px;
        font-size: 1.125rem;
        padding: 1rem 2rem;
        margin-bottom: 0.75rem;
        gap: 0.75rem;
    }

    .btn-hero-icon {
        height: 2rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-feature {
        gap: 0.5rem;
    }

    .hero-feature-dot {
        width: 0.5rem;
        height: 0.5rem;
    }

    .hero-feature span {
        font-size: 1rem;
    }
}

/* Responsive - MD (768px) */
@media (min-width: 768px) {
    .hero-overlay {
        gap: 1.5rem;
    }

    .hero-logo {
        top: 3rem;
    }

    .hero-logo img {
        height: 4rem;
    }

    .hero-title {
        font-size: 3.75rem;
        top: 9rem;
    }

    .hero-subtitle-container {
        gap: 0.2rem;
        max-width: 42rem;
        top: 14rem;
    }

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

    .btn-hero {
        border-width: 4px;
        font-size: 1.5rem;
        padding: 1.5rem 3rem;
        border-radius: 1rem;
        margin-bottom: 1rem;
    }

    .btn-hero-icon {
        height: 2.5rem;
    }

    .hero-features {
        gap: 2rem;
    }

    .hero-feature-dot {
        width: 0.625rem;
        height: 0.625rem;
    }

    .hero-feature span {
        font-size: 1.5rem;
    }
}

/* Responsive - LG (1024px) */
@media (min-width: 1024px) {
    .hero-logo img {
        height: 5rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle-container {
        max-width: 48rem;
    }

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

    .hero-features {
        gap: 3rem;
    }

    .hero-feature span {
        font-size: 1.875rem;
    }
}

/* Responsive - Mobile (max-width: 639px) */
@media (max-width: 639px) {
    .hero-black-overlay {
        background-color: rgba(0, 0, 0, 0.45);
    }

    .hero-overlay {
        align-items: flex-start;
        padding: 1.5rem;
        justify-content: flex-start;
        gap: 0.2rem;
    }

    .hero-logo {
        left: -0.7rem;
        transform: none;
        position: relative;
        top: auto;
    }

    .hero-title {
        text-align: left;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        padding: 0;
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle-container {
        align-items: flex-start;
        padding: 0;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-bottom: 0.5rem;
    }

    .hero-line {
        display: none;
    }

    .hero-subtitle {
        text-align: left;
        white-space: normal;
        font-size: 1.1rem;
    }

    .btn-hero {
        align-self: flex-start;
        margin-bottom: 0.5rem;
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
        border-radius: 0.4rem;
    }

    .btn-hero-icon {
        height: 1rem;
    }

    .hero-features {
        align-self: center;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }

    .hero-feature {
        gap: 0.25rem;
    }

    .hero-feature-dot {
        width: 0.3rem;
        height: 0.3rem;
        flex-shrink: 0;
    }

    .hero-feature span {
        font-size: 0.7rem;
        white-space: nowrap;
    }
}

/* ===== EQUIPAMENTOS SECTION ===== */
.equipamentos {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5faf6 100%);
}

.equipment-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

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

.equipment-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.equipment-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

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

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

.equipment-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.equipment-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.equipment-content p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.equipment-footer {
    text-align: center;
}

.equipment-footer p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* ===== SOBRE SECTION ===== */
.sobre {
    padding: 5rem 0;
}

.sobre-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

.sobre-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    height: 400px;
}

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

.sobre-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sobre-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
}

@media (min-width: 640px) {
    .sobre-content h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .sobre-content h2 {
        font-size: 3rem;
    }
}

.sobre-content > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.sobre-highlight {
    background-color: rgba(0, 102, 34, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.sobre-highlight p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

/* ===== DIFERENCIAIS SECTION ===== */
.diferenciais {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.benefits-grid-center {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

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

.benefit-card {
    background: var(--background-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 41, 14, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-dark);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: rgba(0, 41, 14, 0.8);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.cta-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--background), rgba(255,255,255,0.95), rgba(255,255,255,0.9));
}

.cta .container {
    position: relative;
    z-index: 10;
}

.cta-card {
    max-width: 56rem;
    margin: 0 auto;
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-strong);
}

.cta-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cta-card h2 {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .cta-card h2 {
        font-size: 2.25rem;
    }
}

.cta-card > p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* ===== CONTATO SECTION ===== */
.contato {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5faf6 100%);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

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

.contact-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    background-color: rgba(0, 102, 34, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.contact-info h3 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contact-info p {
    color: var(--muted-foreground);
}

.contact-info a {
    color: var(--muted-foreground);
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--background-alt);
    color: var(--foreground);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    max-height: 5rem;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: var(--muted-foreground);
    max-width: 28rem;
}

.footer-contact {
    text-align: left;
}

@media (min-width: 768px) {
    .footer-contact {
        text-align: right;
    }
}

.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .footer-link {
        justify-content: flex-end;
    }
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-foreground);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: var(--shadow-strong);
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 4rem;
    height: 4rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .equipamentos,
    .sobre,
    .diferenciais,
    .cta,
    .contato {
        padding: 3rem 0;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .contact-grid {
        padding: 0 1.5rem;
    }

    .contact-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .contact-icon {
        padding: 0.5rem;
    }

    .contact-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .contact-info h3 {
        font-size: 0.9rem;
    }

    .contact-info p,
    .contact-info a {
        font-size: 0.85rem;
    }
}
