/* ========================================
   Seguro na Hora - Website Styles
   Cores: Laranja #F5850F | Verde #26D810
======================================== */

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

:root {
    /* Brand Colors */
    --primary-orange: #F5850F;
    --primary-green: #26D810;
    --orange-light: #FEAF52;
    --green-light: #59E84A;
    
    /* Neutral Colors */
    --dark: #1a1a1a;
    --gray-dark: #2d2d2d;
    --gray: #666666;
    --gray-light: #e5e5e5;
    --white: #ffffff;
    
    /* Background Colors */
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

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

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(245, 133, 15, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 133, 15, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 24px;
    font-size: 0.95rem;
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 133, 15, 0.05), rgba(38, 216, 16, 0.05));
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(245, 133, 15, 0.1), rgba(38, 216, 16, 0.1));
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.trust-item i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.hero-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.hero-card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.hero-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.hero-benefits {
    list-style: none;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.hero-benefits i {
    color: var(--primary-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(245, 133, 15, 0.1), rgba(38, 216, 16, 0.1));
    color: var(--primary-orange);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
}

/* === Produtos Section === */
.produtos {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

.produto-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.produto-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--green-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.produto-icon i {
    font-size: 2rem;
    color: var(--white);
}

.produto-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.produto-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.produto-features {
    list-style: none;
    margin-bottom: 25px;
}

.produto-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.produto-features i {
    color: var(--primary-green);
    flex-shrink: 0;
}

/* === Vantagens Section === */
.vantagens {
    padding: var(--section-padding);
    background: var(--white);
}

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

.vantagem-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.vantagem-card:hover {
    background: var(--white);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.vantagem-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(245, 133, 15, 0.15);
}

.vantagem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vantagem-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.vantagem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.vantagem-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.vantagens-cta {
    margin-top: 60px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta-box .btn-primary:hover {
    transform: scale(1.05);
}

/* === Contacto Section === */
.contacto {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contacto-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contacto-detalhes {
    margin-bottom: 40px;
}

.contacto-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contacto-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--green-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-item-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contacto-item-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contacto-item-text a {
    color: var(--primary-orange);
    font-weight: 500;
}

.contacto-item-text a:hover {
    text-decoration: underline;
}

.contacto-item-text p {
    color: var(--gray);
}

.horario-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-orange);
}

.horario-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary-orange);
}

.horario-box p {
    margin-bottom: 8px;
    color: var(--gray-dark);
}

.text-small {
    font-size: 0.85rem;
    color: var(--gray);
}

/* === Contact Form === */
.contacto-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contacto-form h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-orange);
    text-decoration: underline;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === Footer === */
.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 180px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-orange);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-links i {
    margin-right: 8px;
    color: var(--primary-green);
}

/* Footer Legal */
.footer-legal {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-info {
    margin-bottom: 30px;
}

.legal-info h4 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.legal-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-info a {
    color: var(--primary-orange);
    text-decoration: underline;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 133, 15, 0.1);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--primary-orange);
    transition: var(--transition);
}

.legal-links a:hover {
    background: var(--primary-orange);
    color: var(--white);
}

.legal-links i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-credits i {
    color: var(--primary-orange);
}

/* === Floating WhatsApp Button === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--white);
}

/* === Scroll to Top Button === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: scale(1.1);
}

/* === Responsive Design === */

/* Tablet */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .vantagens-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: start;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid var(--gray-light);
        width: 100%;
    }
    
    .nav-menu .btn {
        width: 100%;
        margin-top: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero Mobile */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-card {
        padding: 30px;
    }
    
    /* Buttons Mobile */
    .btn-large {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    /* Produtos Mobile */
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .produto-card {
        padding: 30px;
    }
    
    /* Vantagens Mobile */
    .vantagens-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px 30px;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
    
    /* Contact Mobile */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contacto-form-wrapper {
        padding: 30px 20px;
    }
    
    /* Footer Mobile */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        width: 150px;
    }
    
    .legal-links {
        flex-direction: column;
    }
    
    .legal-links a {
        width: 100%;
        justify-content: center;
    }
    
    /* Floating Buttons Mobile */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.8rem;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 90px;
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}