/*
Theme Name: Clima Branca
Theme URI: https://climabranca.com.br
Author: Clima Branca
Author URI: https://climabranca.com.br
Description: Tema customizado para Clima Branca - Franquia de Refrigeração e Linha Branca
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clima-branca
Tags: landing-page, responsive, mobile-friendly, custom-colors
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Cores da marca */
:root {
    --color-blue: #2563eb;
    --color-blue-dark: #1e40af;
    --color-green: #10b981;
    --color-green-dark: #059669;
    --color-gray-light: #f9fafb;
    --color-gray: #6b7280;
    --color-gray-dark: #1f2937;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header fixo */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.site-header .logo img {
    height: 60px;
}

.site-header .menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.site-header .menu a {
    text-decoration: none;
    color: var(--color-gray-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.site-header .menu a:hover {
    color: var(--color-blue);
}

.site-header .social-icons {
    display: flex;
    gap: 1rem;
}

.site-header .social-icons a {
    color: var(--color-gray);
    transition: color 0.3s;
}

.site-header .social-icons a:hover {
    color: var(--color-blue);
}

/* Botão do menu mobile (hamburguer) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-gray-dark);
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Botão CTA */
.btn-primary {
    background: var(--color-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--color-blue-dark);
}

.btn-success {
    background: var(--color-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s;
}

.btn-success:hover {
    background: var(--color-green-dark);
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #eff6ff 0%, #d1fae5 100%);
}

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

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.hero-content .text-blue {
    color: var(--color-blue);
}

.hero-content .text-green {
    color: var(--color-green);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Seções */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-gray-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--color-gray);
}

/* Grid de Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.card p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--color-gray-dark);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-content h3 {
    margin-bottom: 1rem;
}

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

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

.footer-content a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Formulários */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

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

/* Botão flutuante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 1100;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.6); }
    70% { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 30px;
        right: 16px;
        bottom: 16px;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .site-header nav {
        flex-wrap: wrap;
    }

    .site-header .menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
        padding: 1rem 0 0.5rem;
    }

    .site-header .menu.is-open {
        display: flex;
    }

    .site-header .menu .btn-primary {
        width: 100%;
        text-align: center;
    }

    .site-header .social-icons {
        margin-top: 0.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .form-row,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}