/* ========================================
   RESET E VARIÁVEIS GLOBAIS
   ======================================== */

:root {
    /* Paleta de Cores */
    --primary-color: #282b41;      /* Azul-acinzentado escuro */
    --secondary-color: #e1b052;    /* Dourado suave */
    --accent-color: #dbe3f3;       /* Azul claro acinzentado */
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f7fa;
    --gray-medium: #8892a6;
    --gray-dark: #3d4152;
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Tamanhos */
    --max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(40, 43, 65, 0.08);
    --shadow-md: 0 4px 16px rgba(40, 43, 65, 0.12);
    --shadow-lg: 0 8px 32px rgba(40, 43, 65, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Container extra para depoimentos em mobile */
.depoimentos .container {
    padding: 0 20px;
    overflow: hidden;
}

.highlight {
    color: var(--secondary-color);
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #d4a042;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   HEADER / NAVEGAÇÃO
   ======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar {
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1f2235 50%, #363a54 100%);
    padding-top: 80px;
    overflow: hidden;
    animation: gradient-shift 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(225, 176, 82, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(219, 227, 243, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse-radial 8s ease-in-out infinite;
}

@keyframes pulse-radial {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text {
    color: var(--white);
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(225, 176, 82, 0.25);
    border: 1px solid rgba(225, 176, 82, 0.5);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 4px 16px rgba(225, 176, 82, 0.2);
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    font-weight: 800;
}

.hero-title .highlight {
    display: inline-block;
    color: var(--secondary-color);
    text-shadow: 0 0 30px rgba(225, 176, 82, 0.4),
                 0 0 60px rgba(225, 176, 82, 0.2);
    position: relative;
}

.hero-title .contabilidade-text {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 40px rgba(255, 255, 255, 0.5),
                 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 40px;
    color: var(--accent-color);
    animation: fadeInUp 0.8s ease 0.4s both;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
    margin-bottom: 16px;
}

.hero-buttons .btn {
    font-size: 1.125rem;
    padding: 16px 36px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.hero-buttons .btn-primary:hover {
    background: #d4a042;
    border-color: #d4a042;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(225, 176, 82, 0.4);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    font-size: 1.125rem;
    color: var(--white);
    animation: fadeInUp 0.8s ease 0.8s both;
    padding: 14px 24px;
    background: rgba(225, 176, 82, 0.2);
    border-radius: 50px;
    border: 1px solid rgba(225, 176, 82, 0.4);
    width: fit-content;
}

.hero-location i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.hero-image {
    animation: fadeInRight 1s ease 0.4s both;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(225, 176, 82, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--secondary-color);
    font-size: 2rem;
    opacity: 1;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.scroll-indicator a:hover {
    transform: translateY(4px);
    color: var(--white);
}

/* Elementos Flutuantes Decorativos */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.float-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(225, 176, 82, 0.2) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation: float-up-down 8s ease-in-out infinite;
}

.float-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(219, 227, 243, 0.15) 0%, transparent 70%);
    bottom: 15%;
    left: 5%;
    animation: float-diagonal 10s ease-in-out infinite;
}

.float-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(225, 176, 82, 0.15) 0%, transparent 70%);
    top: 60%;
    right: 30%;
    animation: float-rotate 12s linear infinite;
}

.float-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(219, 227, 243, 0.1) 0%, transparent 70%);
    top: 30%;
    left: 15%;
    animation: float-up-down 9s ease-in-out infinite reverse;
}

@keyframes float-up-down {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-40px) scale(1.05);
    }
}

@keyframes float-diagonal {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(40px, 0);
    }
    75% {
        transform: translate(20px, 20px);
    }
}

@keyframes float-rotate {
    0% {
        transform: rotate(0deg) translateX(30px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(30px) rotate(-360deg);
    }
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SOBRE
   ======================================== */

.sobre {
    background: var(--gray-light);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.sobre-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sobre-image:hover img {
    transform: scale(1.05);
}

.sobre-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.sobre-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.sobre-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.valores {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.valor-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.valor-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.valor-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #d4a042);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.valor-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.valor-content p {
    font-size: 0.9375rem;
    color: var(--gray-medium);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   SERVIÇOS
   ======================================== */

.servicos {
    background: var(--white);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.servico-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.servico-card.featured {
    background: linear-gradient(135deg, var(--primary-color), #363a54);
    color: var(--white);
    border-color: var(--secondary-color);
}

.servico-card.featured h3,
.servico-card.featured p {
    color: var(--white);
}

.servico-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.servico-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #d4a042);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.servico-card:hover .servico-icon {
    transform: rotateY(360deg);
}

.servico-card h3 {
    font-size: 1.375rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.servico-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.servico-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.servico-lista li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
}

.servico-lista i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.servico-card.featured .servico-lista i {
    color: var(--secondary-color);
}

/* ========================================
   DIFERENCIAIS
   ======================================== */

.diferenciais {
    background: var(--primary-color);
    padding: 60px 0;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.diferencial-item {
    text-align: center;
    color: var(--white);
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.diferencial-item:hover .diferencial-icon {
    transform: scale(1.1) rotate(5deg);
}

.diferencial-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
}

.diferencial-item p {
    font-size: 0.9375rem;
    color: var(--accent-color);
}

/* ========================================
   DEPOIMENTOS
   ======================================== */

.depoimentos {
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.depoimentos-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    transition: var(--transition);
    width: 100%;
}

.depoimento-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.depoimento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.depoimento-aspas {
    color: var(--secondary-color);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.3;
}

.depoimento-texto {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 24px;
    font-style: italic;
    word-break: break-word;
    hyphens: auto;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.autor-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.autor-info {
    flex: 1;
    min-width: 0;
}

.autor-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    word-break: break-word;
}

.autor-info p {
    font-size: 0.875rem;
    color: var(--gray-medium);
    word-break: break-word;
}

.depoimento-rating {
    display: flex;
    gap: 4px;
    color: var(--secondary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: transparent;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: none; /* Oculto inicialmente, ativado pelo JS em mobile */
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   CONTATO
   ======================================== */

.contato {
    background: var(--white);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contato-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contato-info > p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-item:hover {
    background: var(--accent-color);
    transform: translateX(8px);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.info-content p,
.info-content a {
    font-size: 0.9375rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--secondary-color);
}

.copy-btn {
    margin-top: 8px;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.copy-btn.copied {
    background: #4caf50;
    color: var(--white);
    border-color: #4caf50;
}

/* Formulário */
.contato-form {
    background: var(--gray-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--primary-color);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(225, 176, 82, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.char-counter.valid {
    color: #28a745;
}

.char-counter.invalid {
    color: #dc3545;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-4px);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 4px 0;
}

.footer-bottom i {
    color: #ff6b6b;
}

/* ========================================
   BOTÕES FLUTUANTES
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    background: #d4a042;
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons .btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
    
    .floating-elements .float-element {
        opacity: 0.3;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .depoimentos-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .depoimento-card {
        padding: 30px 24px;
    }
    
    .slider-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-location {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .hero-buttons .btn {
        padding: 14px 24px;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    .scroll-indicator a {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .depoimentos-slider {
        grid-template-columns: 1fr;
        gap: 20px;
        transform: none !important;
        display: flex;
        flex-direction: column;
    }
    
    .depoimento-card {
        padding: 30px 20px;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .slider-controls {
        display: none;
    }
    
    .depoimento-aspas {
        font-size: 2.5rem;
    }
    
    .slider-controls {
        margin-top: 30px;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .floating-elements {
        display: none;
    }
    
    .depoimento-card {
        padding: 24px 16px;
    }
    
    .depoimento-texto {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .depoimento-aspas {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .autor-info h4 {
        font-size: 0.95rem;
    }
    
    .autor-info p {
        font-size: 0.8rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contato-form {
        padding: 30px 20px;
    }
}

/* Media query extra para telas muito pequenas */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }
    
    .depoimentos .container {
        padding: 0 15px;
    }
    
    .depoimentos-slider {
        gap: 15px;
    }
    
    .depoimento-card {
        padding: 20px 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
}
