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

:root {
    /* Color Palette */
    --color-primary: #ff830f;
    --color-secondary: #004a99;
    --color-bg-dark: #23222d;
    --color-bg-light: #f8f9fa;
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-white: #ffffff;
    --color-accent: #6d6e71;
    --color-blue-accent: #29abe2;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-max-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-white);
}

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

a {
    text-decoration: none;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

p {
    font-weight: 500;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
    border: none;
}

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

.btn-primary:hover {
    background-color: #d15115;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.3);
}

.btn-blue {
    background-color: #70a1ff;
    color: var(--color-white);
}

.btn-blue:hover {
    background-color: #5352ed;
}

/* =====================
   HERO
   ===================== */
.hero {
    position: relative;
    color: var(--color-white);
    padding: var(--spacing-md) 0 var(--spacing-lg);
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-top {
    max-height: 90px;
    max-width: 180px;
    margin-top: 40px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    display: block;
}

.hero-product-img {
    max-width: 340px;
    margin: 0 auto;
}

.hero-product-img img {
    max-height: 480px;
    width: auto;
    max-width: 100%;
}

.hero-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.orange-dash {
    width: 30px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 0;
}

.hero-section-title h1 {
    font-size: 2rem;
    color: var(--color-white);
}

.hero-section-title .hero-codigo {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    margin-top: 0.25rem;
}

/* =====================
   CARACTERÍSTICAS (seção branca)
   ===================== */
.characteristics {
    padding: var(--spacing-md) 0 var(--spacing-md);
}

.characteristics .container {
    position: relative;
    padding-top: 1.5rem;
}

.characteristics .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background-color: var(--color-primary);
}

.char-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: stretch;
}

.char-left {
    display: flex;
    flex-direction: column;
}

.produto-codigo {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-sm);
}

.section-title,
.produto-codigo {
    color: var(--color-text-main);
}

.char-right {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.char-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: none;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    text-align: left;
}

.char-descricao {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.char-descricao p + p {
    margin-top: 0.75rem;
}

/* Tabela de specs (imagem) */
.specs-table-img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: var(--spacing-sm);
}

/* =====================
   BANNER-SECTION (CTA com pessoa)
   ===================== */
.banner-section {
    padding: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    min-height: 300px;
    overflow: visible;
}

.banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
    min-height: 300px;
}

.banner-item-worker {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    align-self: flex-end;
    margin-top: -30px;
    margin-bottom: 0;
    line-height: 0;
}

.worker-img-container {
    border: none;
    background: transparent;
    line-height: 0;
}

.worker-img {
    display: block;
    max-height: 420px;
    margin-bottom: 0;
}

.banner-item-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    z-index: 1;
}

.banner-item-cta h2 {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.banner-item-cta .btn {
    background-color: #103560;
    color: var(--color-white);
}

/* =====================
   FORM SECTION
   ===================== */
.cta-form-section {
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    margin-bottom: 0;
}

.form-wrapper {
    width: 100%;
    max-width: 900px;
    background-color: #383a45;
    padding: 2rem 5rem 1.5rem 5rem;
    border-radius: 15px;
    margin: 2rem auto 0;
    color: var(--color-white);
    position: relative;
}

.form-wrapper::after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    content: '';
    position: absolute;
    background: #ff830f;
    right: -25px;
    z-index: -1;
    bottom: -25px;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 30px;
    height: 8px;
    background-color: #fff;
}

.form-wrapper h3 {
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.2rem;
}

#contact-form {
    max-width: 800px;
    margin: auto;
}

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

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

.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.form-group input {
    height: 35px;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    border: none;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

/* =====================
   FOOTER
   ===================== */
footer {
    padding: var(--spacing-sm) 0 var(--spacing-md);
    background-color: var(--color-white);
    text-align: center;
    font-size: 0.7rem;
    border-top: 1px solid #eee;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: var(--spacing-md);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 992px) {
    .char-grid {
        grid-template-columns: 1fr;
    }

    .char-left {
        grid-column: 1;
    }

    .char-right {
        grid-column: 1;
    }

    .banner-grid {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        padding: var(--spacing-md) 0;
    }

    .banner-item-worker {
        display: none;
    }

    .form-wrapper {
        padding: 2rem;
    }

    .form-wrapper::after,
    .form-wrapper::before {
        display: none;
    }

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

@media (max-width: 768px) {
    .hero-section-title h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}
