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

:root {
    --primary-color: #0077cc;
    --secondary-color: #004f8a;
    --accent-color: #00b7ff;
    --dark-color: #222;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    --success-color: #28a745;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
 
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    color: var(--white);
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
    position: relative;
}

.section-description {
    text-align: center;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: var(--primary-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

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

@media (max-width: 768px) {
    .logo img {
       height: 30px;
       width: auto;
    }
}


.navbar.scrolled .logo a {
    color: var(--primary-color);
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-menu a {
    color: var(--dark-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--white);
}

.navbar.scrolled .bar {
    background-color: var(--dark-color);
}

/* Hero Section */
.hero {
    background-image: url('../img/back4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Quando a tela for menor que 768px, altera a imagem */
@media (max-width: 768px) {
    .hero {
        background-image: url('../img/back7.webp');
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 15px;
    align-self: flex-start;
    margin-top: 90px;
    
}

.hero img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 3.9rem;
    color: var(--primary-color);
    margin-top: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.5);
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    color: var(--dark-color);
}

/* Produtos Section */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.produto-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
       text-align: center;
    align-items: center;
}

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

.produto-img {
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .produto-img img {
        width: 70%;
        height: auto;
    }
}

.produto-card:hover .produto-img img {
    transform: scale(1.05);
}

.produto-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.4rem;
    color: var(--dark-color);
}

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

.produto-card .btn {
    margin: 0 20px 20px;
}

/* Como Funciona Section */
.como-funciona-section {
    background-color: var(--light-color);
}

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

.step-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.step-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 119, 204, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;

    display: flex;              /* ativa o flexbox */
    align-items: center;        /* centraliza verticalmente */
    justify-content: center;    /* centraliza horizontalmente */
}

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

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--gray-color);
}

/* Galeria Section */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.galeria-item {
    height: 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.galeria-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Depoimentos Section */
.depoimentos-section {
    background-color: var(--light-color);
}

.depoimentos-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.depoimento {
    text-align: center;
    padding: 30px 20px;
}

.depoimento-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.depoimento-content p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cliente-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.cliente-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-style: normal;
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0 15px;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--secondary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Mapa Section */
.mapa-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Contato Section */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contato-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 30px;
}

.contato-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

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

.redes-sociais h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contato-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.2);
}

.contato-form .btn {
    width: 100%;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

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

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

.cta-section small {
    display: block;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h3,
.footer-contato h3,
.footer-horario h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contato h3::after,
.footer-horario h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links a {
    color: var(--light-color);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contato p,
.footer-horario p {
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-contato i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* Back to Top & WhatsApp Float */
.back-to-top,
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.0rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: var(--transition);
}

.back-to-top {
    right: 20px;
    bottom: 80px;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float {
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
}

.back-to-top:hover,
.whatsapp-float:hover {
    transform: translateY(-5px);
}

