/* =============================================
   GABRIELE JUSTINO - ADVOCACIA FAMILIAR
   Paleta: Creme, Terracota, Verde Sage, Blush
   ============================================= */

:root {
    --cream: #FAF6F1;
    --cream-dark: #F0EAE0;
    --blush: #E8D5CC;
    --blush-light: #F5EDE8;
    --terracotta: #C08B6E;
    --terracotta-dark: #A5715A;
    --terracotta-light: #D4A68E;
    --green-sage: #8B9B7A;
    --green-dark: #6B7D5E;
    --gold: #C4A96A;
    --gold-light: #D4BE8A;
    --text-dark: #3A302A;
    --text-medium: #6B5D52;
    --text-light: #9B8E83;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(58, 48, 42, 0.06);
    --shadow-md: 0 4px 20px rgba(58, 48, 42, 0.08);
    --shadow-lg: 0 8px 40px rgba(58, 48, 42, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 24px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    background: rgba(250, 246, 241, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(250, 246, 241, 0.18);
    border-radius: 300px;
    padding: 4px 28px;
    transition: var(--transition);
}

.header.scrolled .header-content {
    background: rgba(250, 246, 241, 0.92);
    border-color: rgba(232, 213, 204, 0.4);
    box-shadow: 0 4px 24px rgba(58, 48, 42, 0.08);
}

.header.scrolled .logo img {
    filter: brightness(0.75) saturate(1.1) drop-shadow(0 2px 10px rgba(196, 169, 106, 0.3));
}

.header.scrolled .logo img:hover {
    filter: brightness(0.7) saturate(1.2) drop-shadow(0 4px 16px rgba(196, 169, 106, 0.45));
}

/* Nav links white on hero, dark after scroll */
.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.header.scrolled .nav-link {
    color: var(--text-medium) !important;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--terracotta) !important;
}

/* Instagram icon adapts too */
.instagram-icon {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.85);
}

.header.scrolled .instagram-icon {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.logo {
    position: relative;
    z-index: 10;
}

.logo img {
    height: 130px;
    width: auto;
    margin: -24px 0;
    filter: brightness(1.3) drop-shadow(0 2px 14px rgba(196, 169, 106, 0.5)) drop-shadow(0 0 24px rgba(196, 169, 106, 0.2));
    transition: var(--transition);
}

.logo img:hover {
    filter: brightness(1.4) drop-shadow(0 4px 22px rgba(196, 169, 106, 0.65)) drop-shadow(0 0 34px rgba(196, 169, 106, 0.3));
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

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

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

.header-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.instagram-icon {
    background: transparent;
    color: var(--terracotta);
    border: 1.5px solid var(--terracotta);
}

.instagram-icon:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: scale(1.1);
}

.instagram-icon:hover {
    transform: scale(1.1);
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--text-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(58, 48, 42, 0.85) 0%,
        rgba(58, 48, 42, 0.6) 40%,
        rgba(58, 48, 42, 0.2) 70%,
        transparent 100%
    );
    z-index: 2;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 25%;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 120px 24px 80px;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 139, 110, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* =============================================
   SOBRE
   ============================================= */
.sobre {
    padding: 70px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.sobre-image {
    position: relative;
}

.sobre-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center 20%;
}

.sobre-image::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 70%;
    height: 70%;
    border: 2px solid var(--terracotta-light);
    border-radius: var(--radius);
    z-index: -1;
}

.sobre-text .section-tag {
    display: block;
}

.sobre-text .section-title {
    margin-bottom: 24px;
}

.sobre-text p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.sobre-text p:last-of-type {
    margin-bottom: 32px;
}

.sobre-text strong {
    color: var(--terracotta);
    font-weight: 600;
}

/* =============================================
   ÁREAS DE ATUAÇÃO
   ============================================= */
.atuacao {
    padding: 70px 0;
    background: var(--cream);
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.atuacao-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--cream-dark);
}

.atuacao-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terracotta-light);
}

.atuacao-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--terracotta);
}

.atuacao-icon svg {
    width: 100%;
    height: 100%;
}

.atuacao-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.atuacao-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
.diferenciais {
    padding: 70px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diferencial-card {
    padding: 36px 30px;
    border-radius: var(--radius);
    background: var(--blush-light);
    border: 1px solid var(--blush);
    transition: var(--transition);
}

.diferencial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.diferencial-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--terracotta-light);
    margin-bottom: 12px;
    line-height: 1;
}

.diferencial-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.diferencial-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* =============================================
   DEPOIMENTOS
   ============================================= */
.depoimentos {
    padding: 70px 0;
    background: var(--cream);
}

.depoimentos-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.depoimentos-track {
    display: flex;
    gap: 24px;
    animation: scrollDepoimentos 30s linear infinite;
    width: max-content;
}

.depoimentos-track:hover {
    animation-play-state: paused;
}

@keyframes scrollDepoimentos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.depoimento-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--cream-dark);
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
}

.depoimento-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.depoimento-stars svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.depoimento-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.depoimento-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--terracotta);
    font-weight: 600;
}

.depoimento-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.depoimento-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* =============================================
   FAQ
   ============================================= */
.faq {
    padding: 70px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--cream-dark);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--terracotta);
}

.faq-chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--terracotta);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 22px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--terracotta);
}

/* =============================================
   BLOG
   ============================================= */
.blog {
    padding: 70px 0;
    background: var(--cream);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--cream-dark);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform 0.5s ease;
}

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

.blog-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
}

.blog-body {
    padding: 24px;
}

.blog-body h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: var(--transition);
}

.blog-card:hover .blog-body h3 {
    color: var(--terracotta);
}

.blog-body p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 12px;
    line-height: 1.6;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   CONTATO
   ============================================= */
.contato {
    padding: 70px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contato-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blush-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-icon svg {
    width: 22px;
    height: 22px;
    color: var(--terracotta);
}

.contato-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.contato-item a,
.contato-item span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.contato-item a:hover {
    color: var(--terracotta);
}

.contato-detail {
    display: block;
    font-size: 0.8rem !important;
    color: var(--text-light) !important;
    margin-top: 2px;
}

/* Form */
.contato-form {
    background: var(--blush-light);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--blush);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contato-form input,
.contato-form select,
.contato-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
    color: var(--text-light);
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(192, 139, 110, 0.1);
}

.contato-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239B8E83' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    cursor: pointer;
}

.contato-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contato-form .btn {
    margin-top: 8px;
    font-size: 1rem;
    padding: 16px;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 16px;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 246, 241, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    z-index: 10;
    animation: fadeInOverlay 0.4s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.form-success-content {
    text-align: center;
    padding: 40px 30px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--green-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.form-success-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-success-content p {
    color: var(--text-medium);
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-success-close {
    padding: 12px 32px;
    font-size: 0.9rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 180px;
    width: auto;
    margin-bottom: 24px;
    filter: brightness(1.6) drop-shadow(0 2px 16px rgba(196, 169, 106, 0.4));
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--terracotta-light);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.82rem;
}

.footer-bottom p {
    margin-bottom: 4px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   WHATSAPP FLUTUANTE
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    background: #1fb855;
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .atuacao-grid,
    .diferenciais-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 16px;
    }

    .header-content {
        padding: 6px 20px;
    }

    .logo img {
        height: 90px;
        margin: -18px 0;
    }

    .header-social {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s ease;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--cream-dark);
    }

    .hero {
        min-height: 100svh;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(58, 48, 42, 0.7) 0%,
            rgba(58, 48, 42, 0.85) 100%
        );
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-image::after {
        display: none;
    }

    .atuacao-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .depoimento-card {
        min-width: 300px;
        max-width: 300px;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contato-form {
        padding: 28px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .sobre,
    .atuacao,
    .diferenciais,
    .depoimentos,
    .faq,
    .blog,
    .contato {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .atuacao-card {
        padding: 30px 20px;
    }

    .diferencial-card {
        padding: 28px 20px;
    }
}
