/*==================================
  Fontes e Reset
==================================*/
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poppins:wght@600;700&display=swap');

:root {
    --primary-red: #bf4040;
    --primary-gray: #2a3341;
    --secondary-blue: #a3d9ff;
    --text-color: #444;
    --bg-light-gray: #f0f0f0;
    --border-color: #ccc;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/*==================================
  Componentes Comuns e Animações
==================================*/
.section {
    padding: 100px 0;
}

.bg-light-gray {
    background-color: var(--bg-light-gray);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-gray);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.2rem, 2.5vw, 2.5rem); }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.h2-with-line {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}
.h2-with-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 2px;
}
.h2-with-line.h2-left-aligned { text-align: left; }
.h2-with-line.h2-left-aligned::after {
    left: 0;
    transform: none;
}
.h2-with-line:not(.h2-left-aligned) { text-align: center; }
.h2-with-line:not(.h2-left-aligned)::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: #e06060;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-gray);
    border-color: var(--primary-gray);
}

.btn-secondary:hover {
    background-color: var(--primary-gray);
    color: #fff;
    transform: translateY(-5px);
}

.btn-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-link:hover { text-decoration: underline; }

.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-hero {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}
.animate-1 { animation: fadeInUp 0.8s ease-out 0.5s forwards; }
.animate-2 { animation: fadeInUp 0.8s ease-out 0.8s forwards; }
.animate-3 { animation: fadeInUp 0.8s ease-out 1.1s forwards; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================
  Header e Menu Sanduíche
==================================*/
.header {
    background-color: var(--primary-red);
    padding: 2.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img { 
    height: auto; 
    width: 250px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #fff;
    transition: width 0.3s ease-in-out;
}
.main-nav a:hover::after { width: 100%; }

/*==================================
  Hero (Primeira Dobra)
==================================*/
.hero-full-screen {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding-top: 100px;
}
.hero-full-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 51, 65, 0.7);
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: left;
}
.hero-content h1 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.hero-content h2 {
    font-weight: 400;
    color: #fff;
    margin-bottom: 2rem;
}
.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

/*==================================
  Seção 2: Desafio e Solução
==================================*/
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.split-illustration-left {
    text-align: center;
}
.split-illustration-left img {
    max-width: 100%;
    height: auto;
}
.split-content-right {
    max-width: 500px;
    justify-self: center;
}
.cta-bottom-space {
    margin-top: 30px;
}

/*==================================
  Seção 3: Benefícios
==================================*/
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.card {
    background-color: var(--primary-gray);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRALIZA O CONTEÚDO NO CARD */
    text-align: center;
}
.card:hover { transform: translateY(-10px); }
.card h3 {
    color: var(--primary-red);
    margin-top: 15px;
}
.card ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
}
.card ul li {
    position: relative;
    margin-bottom: 8px;
    text-align: left; /* ALINHA A LISTA À ESQUERDA */
}
.card ul li::before {
    content: '✔';
    color: var(--secondary-blue);
    font-size: 1.2rem;
    position: absolute;
    left: -20px;
    top: -2px;
}
.card img {
    /* NOVO TAMANHO PARA AS IMAGENS */
    width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px; /* ESPAÇAMENTO ABAIXO DA IMAGEM */
}


/*==================================
  Seção 4: Diferencial (Timeline)
==================================*/
.timeline {
    position: relative;
    padding: 50px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #e0e0e0;
    z-index: 1;
    transform: translateX(-50%);
}
.timeline-step {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-icon {
    background-color: #fff;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    padding: 15px;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.timeline-icon img { width: 50px; }

.confidenciality-box {
    text-align: center;
    background-color: var(--primary-gray);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
.confidenciality-box::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

/*==================================
  Seção 5: Depoimentos
==================================*/
.testimonial-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.testimonial-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 5px solid var(--primary-red);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.testimonial-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-gray);
    padding: 0;
    border-left: none;
    position: relative;
}
.blockquote::before {
    content: '“';
    font-size: 5rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: var(--secondary-blue);
    opacity: 0.2;
}
.blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    font-style: normal;
    font-weight: bold;
    color: var(--primary-red);
}

/*==================================
  Seção 6: CTA Final e Formulário
==================================*/
.final-cta {
    background-color: var(--primary-gray);
    position: relative;
    overflow: hidden;
}
.final-cta .container {
    color: #fff;
    text-align: center;
}
.final-cta h2 {
    color: #fff;
}
.final-cta p {
    max-width: 700px;
    margin: 20px auto 40px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}
.form-field {
    position: relative;
}
.form-field input {
    width: 100%;
    padding: 15px;
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 1rem;
    background-color: transparent;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}
.form-field input:focus {
    border-color: var(--secondary-blue);
}
.form-field label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    transition: all 0.3s ease;
    pointer-events: none;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--primary-gray);
    padding: 0 5px;
}

/*==================================
  Footer
==================================*/
.footer {
    background-color: var(--primary-gray);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 5px solid var(--secondary-blue);
}
.footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}
.footer a:hover {
    color: var(--secondary-blue);
}
.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.footer-contact {
    margin-bottom: 20px;
}
.copyright {
    opacity: 0.7;
}
.psmarketing-footer-info {
    /* Adiciona margem acima para separar do bloco de contato */
    margin-top: 10px; 
    /* Adiciona borda abaixo para separar do copyright */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-bottom: 15px;
    margin-bottom: 15px; 
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.9;
}

.ps-marketing-logo-small {
    /* Ajusta o tamanho da imagem da PS Marketing */
    width: 280px; 
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.psmarketing-footer-info p {
    margin: 0;
}

.psmarketing-footer-info a {
    color: #fff;
    font-weight: 400;
}
/*==================================
  Responsividade
==================================*/
@media (max-width: 768px) {
    .menu-toggle { display: block; z-index: 1100; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: rgba(42, 51, 65, 0.98);
        padding-top: 100px;
        transition: right 0.4s ease-in-out;
        z-index: 1050;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; text-align: left; padding: 20px; }
    .main-nav a { padding: 15px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .main-nav a::after { display: none; }
    .hamburger.active { transform: rotate(45deg); }
    .hamburger.active::before { top: 0; transform: rotate(90deg); }
    .hamburger.active::after { top: 0; transform: rotate(90deg); opacity: 0; }

    .header .container { justify-content: space-between; }
    .hero-content { text-align: center; padding: 40px 20px; }
    .cta-group { justify-content: center; }
    .split-layout { grid-template-columns: 1fr; }
    .split-illustration-left { margin-top: 40px; }
    .timeline::before { left: 50px; top: 20px; width: 3px; height: calc(100% - 40px); transform: none; }
    .timeline-step { text-align: left; padding-left: 80px; }
    .testimonial-box { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .testimonial-photo-wrapper { margin: 0 auto; }
    .blockquote { border-left: 5px solid var(--secondary-blue); padding-left: 20px; }
    .blockquote::before { left: 20px; }
    .footer-nav ul { flex-direction: column; gap: 10px; }
}