/* ===============================================
   DOMAIN.COM - Contabilidade Profissional
   Aurora Contrast Color Palette
   =============================================== */

:root {
    /* Aurora Contrast Colors */
    --fundo-escuro: #1C1B29;
    --primario: #FF6F61;
    --secundario: #17C3B2;
    --realce: #FEE440;
    --neutro-claro: #F7F8FA;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #FF6F61 0%, #9B5DE5 100%);
    --gradient-cta: linear-gradient(135deg, #17C3B2 0%, #FEE440 100%);
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-h1: 3rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 2rem;
    --font-size-body: 1.1rem;
    
    /* Spacing */
    --container-max-width: 1140px;
    --section-padding: 4rem 0;
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px; /* Отступ для якорей чтобы заголовки были видны */
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--fundo-escuro);
    background-color: var(--neutro-claro);
}

/* Container & Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.section {
    padding: var(--section-padding);
    width: 100%;
}

/* Typography */
h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--fundo-escuro);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

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

.btn-primary:hover {
    background: #E85A4F;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
}

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

.btn-secondary:hover {
    background: #14A085;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 195, 178, 0.3);
}

.btn-accent {
    background: var(--realce);
    color: var(--fundo-escuro);
}

.btn-accent:hover {
    background: #E6CE3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 228, 64, 0.3);
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(28, 27, 41, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primario);
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: var(--fundo-escuro);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.menu-toggle-checkbox {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--fundo-escuro);
    transition: var(--transition);
}

.nav-overlay {
    display: none;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 8rem 0 6rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero.jpg') center/cover;
    mix-blend-mode: overlay;
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--fundo-escuro);
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primario);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(28, 27, 41, 0.1);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(28, 27, 41, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--secundario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* Service Cards with Pure CSS Hover */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(28, 27, 41, 0.1);
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(28, 27, 41, 0.15);
}

.service-content {
    position: relative;
}

.service-brief {
    display: block;
    transition: var(--transition);
}

.service-details {
    display: none;
    transition: var(--transition);
}

.service-card:hover .service-brief {
    display: none;
}

.service-card:hover .service-details {
    display: block;
}

/* Timeline Styles */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.timeline-step p {
    font-size: 0.9rem;
    color: #666;
}

/* Timeline arrows - показывать только на desktop */
.timeline-arrow {
    color: var(--secundario);
    font-size: 2rem;
    display: none;
}

@media (min-width: 769px) {
    .timeline-arrow {
        display: block;
    }
}

.card h3 {
    color: var(--fundo-escuro);
    margin-bottom: 1rem;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* Form Styles */
.form-section {
    background: var(--realce);
    position: relative;
    overflow: hidden;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-content h2 {
    color: var(--fundo-escuro);
    margin-bottom: 1rem;
}

.form-content p {
    color: var(--fundo-escuro);
    margin-bottom: 2rem;
}

.form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(28, 27, 41, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--fundo-escuro);
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primario);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

.form-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-checkbox a {
    color: var(--primario);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--fundo-escuro);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--realce);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #B0B0B0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primario);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #888;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fundo-escuro);
    color: white;
    padding: 1rem;
    z-index: 10000;
    display: none;
    transition: opacity 0.4s ease;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text a {
    color: var(--realce);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--primario);
    color: white;
}

.cookie-accept:hover {
    background: #E85A4F;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid #666;
}

.cookie-decline:hover {
    background: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --section-padding: 3rem 0;
    }
    
    html {
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .section {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .grid {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .card {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        box-sizing: border-box;
    }
    
    img {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 4px 20px rgba(28, 27, 41, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .menu-toggle-checkbox:checked + .nav .nav-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle-checkbox:checked + .nav .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle-checkbox:checked + .nav .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle-checkbox:checked + .nav .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-overlay {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 998;
    }
    
    .menu-toggle-checkbox:checked ~ .nav-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    /* Form adjustments */
    .form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Cookie banner adjustments */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        min-width: auto;
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .form {
        padding: 1.5rem;
    }
} 