/* 
* Styles for the accounting services website
* Colors: 
* - Primary: #4B0082 (indigo)
* - Secondary: #00CED1 (turquoise)
* - Tertiary: #F5F5DC (beige)
* - Dark: #2E2E2E (graphite)
* - Text: #FFFFFF (white)
* - Accent: #39FF14 (neon green)
*/

/* Reset and base styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4B0082;
    --secondary: #00CED1;
    --tertiary: #F5F5DC;
    --dark: #2E2E2E;
    --white: #FFFFFF;
    --accent: #39FF14;
    --shadow: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--shadow);
    display: none; /* Hidden by default */
    opacity: 0; /* For transition */
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
    }
}

/* Header */
.site-header {
    background-color: rgba(75, 0, 130, 0.95); /* slightly transparent indigo */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo svg {
    display: block;
    height: auto;
}

.main-nav {
    flex: 1 0 auto;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list li {
    margin: 0 1rem;
}

.nav-list a {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a:hover {
    color: var(--secondary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: var(--primary);
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition);
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Hero Section */
.hero-section {
    background-color: var(--primary);
    background-image: linear-gradient(rgba(75, 0, 130, 0.85), rgba(75, 0, 130, 0.9)), url('./img/tVuhWP.jpg');
    background-size: cover;
    background-position: center;
    padding: 7rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Sobre Nós Section */
.sobre-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.sobre-text {
    flex: 1;
}

.sobre-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sobre-image img {
    transition: transform 0.5s ease;
}

.sobre-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .sobre-content {
        flex-direction: column;
    }
}

/* Vantagens Section */
.vantagens-section {
    background-color: var(--dark);
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.vantagem-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.vantagem-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.vantagem-icon {
    margin-bottom: 1.5rem;
}

.vantagem-icon svg {
    width: 60px;
    height: 60px;
}

/* Serviços Section */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.servico-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.servico-item h3 {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--dark);
    margin: 0;
}

.servico-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.servico-item ul {
    padding: 1.5rem;
    margin-bottom: 0;
}

.servico-item li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.servico-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.price {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.servico-item .btn {
    margin: 1.5rem;
}

/* Depoimentos Section */
.depoimentos-section {
    background-color: var(--dark);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.depoimento-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.depoimento-content {
    margin-bottom: 1.5rem;
}

.depoimento-content p {
    font-style: italic;
    margin-bottom: 0;
}

.depoimento-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
}

.depoimento-author h4 {
    margin-bottom: 0.25rem;
    color: var(--secondary);
}

.depoimento-author p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 7rem 0;
    background-image: linear-gradient(rgba(75, 0, 130, 0.9), rgba(75, 0, 130, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(0, 206, 209, 0.1)" stroke-width="1"/></svg>');
    background-size: 30px 30px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Contato Section */
.contato-content {
    display: flex;
    gap: 3rem;
}

.contato-info {
    flex: 1;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.contato-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.contato-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contato-form {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #000000;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contato-content {
        flex-direction: column;
    }
    
    .contato-form {
        order: -1; /* Show form first on mobile */
    }
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info p {
    margin-top: 1rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-legal ul {
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        width: 95%;
    }
    
    .vantagens-grid,
    .servicos-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
} 