/*
* Clube do Chopp Sorocaba - CSS Personalizado
* Cores principais: 
* - Verde escuro: #0c3c2e
* - Amarelo/dourado: #f4c542
*/

/* ======= Variáveis ======= */
:root {
    --dark-green: #0c3c2e;
    --primary-yellow: #f4c542;
    --light-cream: #fff9e6;
    --wood-brown: #5a4530;
    --text-color: #333333;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --hover-yellow: #e8b52e;
}

/* ======= Estilos Gerais ======= */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--primary-yellow);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

.bg-dark-green {
    background-color: var(--dark-green);
}

.bg-primary-yellow {
    background-color: var(--primary-yellow);
}

.text-primary-yellow {
    color: var(--primary-yellow);
}

.text-dark-green {
    color: var(--dark-green);
}

.btn-primary-yellow {
    background-color: var(--primary-yellow);
    color: var(--dark-green);
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary-yellow:hover {
    background-color: var(--hover-yellow);
    color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(244, 197, 66, 0.3);
}

.btn-outline-yellow {
    background-color: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-outline-yellow:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(244, 197, 66, 0.3);
}

.btn-dark-green {
    background-color: var(--dark-green);
    color: var(--white);
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-dark-green:hover {
    background-color: #0a3226;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(12, 60, 46, 0.3);
}

/* ======= Efeitos e Animações ======= */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.shadow-custom {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wood-texture {
    background-image: url('../images/wooden-bg.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.wood-texture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.wood-texture > * {
    position: relative;
    z-index: 2;
}

.corporate-image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.corporate-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ======= Header & Navegação ======= */
header {
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar {
    padding: 15px 0;
    background-color: var(--dark-green);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .header-logo {
    height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-yellow);
}

/* Estilos para menu mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        border-radius: 10px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1031;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        color: var(--dark-green);
        padding: 12px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: left;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover {
        color: var(--primary-yellow);
        background-color: rgba(12, 60, 46, 0.05);
    }
    
    .navbar-dark .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .navbar-nav .nav-item {
        margin: 2px 0;
    }
    
    .social-icon {
        background-color: var(--dark-green);
        color: var(--white);
        margin: 5px 0;
    }
    
    .navbar-dark .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .navbar-dark .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .header-btn {
        margin-top: 10px;
        display: inline-block;
    }
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    color: var(--primary-yellow);
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
}

.header-btn {
    padding: 8px 20px !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(244, 197, 66, 0.3);
}

/* ======= Hero Section ======= */
#hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0c3c2e 0%, #0e4a38 50%, #0c3c2e 100%);
}

@media (min-width: 992px) {
    #hero {
        min-height: auto;
        height: auto;
        display: block;
    }
}

/* Para garantir que o conteúdo principal não fique sob o navbar fixo */
main {
    padding-top: 80px;
    overflow-x: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-cream);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    text-align: center;
    padding: 20px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 767.98px) {
    #hero {
        background: linear-gradient(rgba(12, 60, 46, 0.85), rgba(12, 60, 46, 0.85)), url('../images/hero-chopp.jpg');
        background-size: cover;
        background-position: center;
        position: relative;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        min-height: 600px;
    }
    
    .hero-content {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-overlay {
        width: 100px;
        height: 100px;
        font-size: 20px;
        bottom: -15px;
        right: -15px;
    }
    
    .about-image-container {
        padding-bottom: 65%;
        margin-top: 30px;
    }
}

/* ======= Seção Sobre ======= */
#sobre {
    position: relative;
    overflow: hidden;
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* Proporção fixa 4:3 */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-green);
    transform: rotate(-15deg);
    animation: pulse 2s infinite;
    z-index: 5;
}

@keyframes pulse {
    0% {
        transform: rotate(-15deg) scale(1);
    }
    50% {
        transform: rotate(-15deg) scale(1.1);
    }
    100% {
        transform: rotate(-15deg) scale(1);
    }
}

/* ======= Seção Chopes ======= */
#chopes {
    background-color: var(--light-gray);
}

.chopp-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.chopp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.chopp-image {
    height: 220px;
    overflow: hidden;
}

.chopp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.chopp-card:hover .chopp-image img {
    transform: scale(1.1);
}

.chopp-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    background-color: var(--primary-yellow);
    color: var(--dark-green);
    font-weight: 700;
    border-radius: 30px;
    font-size: 12px;
    z-index: 1;
}

.chopp-content {
    padding: 25px;
}

.chopp-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-green);
}

.chopp-price {
    color: var(--primary-yellow);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.volume-options {
    margin-top: 15px;
}

.volume-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: var(--light-gray);
    color: var(--dark-green);
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-weight: 500;
}

/* ======= Como Funciona ======= */
.steps-container {
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-cream);
    border-radius: 50%;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon-container {
    background-color: var(--primary-yellow);
    transform: translateY(-10px);
}

.step-icon {
    font-size: 50px;
    color: var(--dark-green);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background-color: var(--dark-green);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.connecting-line {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light-cream);
    z-index: 0;
}

/* ======= Depoimentos ======= */
#depoimentos {
    background-color: var(--light-gray);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: var(--primary-yellow);
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.testimonial-content::before {
    content: '\f10d';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-yellow);
    font-size: 20px;
    opacity: 0.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 5px;
    font-size: 18px;
}

.testimonial-position {
    font-size: 14px;
    color: #777;
    margin-bottom: 0;
}

/* ======= Calculadora ======= */
#calculadora {
    background-color: var(--light-cream);
}

.calculator-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.result-box {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.result-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
}

/* Estilos para os barris */
.barrel-option {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.barrel-icon {
    width: 70px;
    height: 70px;
    background-color: var(--dark-green);
    color: var(--primary-yellow);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    transition: all 0.3s ease;
}

.barrel-icon i {
    font-size: 24px;
    margin-bottom: 2px;
}

.barrel-icon span {
    font-size: 14px;
    font-weight: 700;
}

.barrel-label {
    font-size: 14px;
    font-weight: 500;
}

.barrel-option:hover .barrel-icon {
    transform: translateY(-5px);
    background-color: var(--primary-yellow);
    color: var(--dark-green);
}

/* ======= Contato ======= */
.contact-info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-yellow);
    color: var(--dark-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-green);
}

.contact-form .form-control {
    height: 55px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.25rem rgba(244, 197, 66, 0.25);
}

.contact-form textarea.form-control {
    height: 150px;
    resize: none;
}

.contact-form .btn {
    padding: 12px 30px;
}

/* ======= Footer ======= */
.footer {
    background-color: var(--dark-green);
    position: relative;
}

.footer-heading {
    color: var(--primary-yellow);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-yellow);
    bottom: 0;
    left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 20px;
}

.footer-links a:hover::before {
    left: 5px;
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-green);
    transform: translateY(-5px);
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-yellow);
    font-size: 18px;
    margin-top: 3px;
}

.contact-info span {
    color: var(--white);
}

.footer-logo {
    filter: brightness(1.2);
}

/* ======= WhatsApp Float Button ======= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-button {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark-green);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* ======= Media Queries ======= */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .connecting-line {
        display: none;
    }
}

@media (max-width: 991.98px) {
    #hero {
        padding: 120px 0 120px;
        text-align: center;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-image-container {
        margin-bottom: 30px;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .step-item {
        margin-bottom: 50px;
    }
    
    .testimonial-card {
        margin-bottom: 70px;
    }
}

@media (max-width: 575.98px) {
    .whatsapp-tooltip {
        display: none;
    }
    
    .testimonial-image {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonial-card {
        text-align: center;
        padding-top: 60px;
    }
    
    #hero {
        min-height: 550px;
    }
    
    .hero-content {
        padding: 0 15px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .about-image-container {
        padding-bottom: 70%;
    }
    
    .about-overlay {
        width: 80px;
        height: 80px;
        font-size: 18px;
        bottom: -10px;
        right: -10px;
    }
}

@media (max-width: 767.98px) {
    .corporate-image-container {
        max-width: 320px;
        margin-top: 30px;
    }
} 