/* ===================================
   INGRID LEANDRO ADVOGADA - STYLES
   Fundo baseado na cor do estúdio das fotos
   =================================== */

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

:root {
    /* Cor base = fundo do estúdio das fotos da Ingrid */
    --bg: #e8e5e1;
    --bg-light: #edeae6;
    --bg-dark: #dedad6;
    --bg-card: rgba(255, 255, 255, 0.45);
    --bg-card-solid: #f2efec;
    --gold: #c4a265;
    --gold-light: #d4b87a;
    --gold-dark: #a88a4e;
    --green: #5c7a54;
    --green-dark: #4a6741;
    --dark: #2c2c2c;
    --dark-soft: #4a4a4a;
    --gray: #8a8a8a;
    --white: #ffffff;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background-color: var(--bg);
    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;
}

/* ---------- DECORATIVE BACKGROUNDS ---------- */
.bg-ornament {
    position: relative;
}

.bg-ornament::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Folha decorativa com CSS */
.leaf-deco {
    position: absolute;
    width: 120px;
    height: 200px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.leaf-deco::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0 80% 0 80%;
    background: var(--gold-dark);
    transform: rotate(-30deg);
}

.leaf-deco--right {
    right: -20px;
}

.leaf-deco--right::before {
    border-radius: 80% 0 80% 0;
    transform: rotate(30deg);
}

/* ---------- UTILITY ---------- */
.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.section-title--center {
    text-align: center;
}

.section-title__line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-top: 12px;
    border-radius: 2px;
}

.section-title__line--center {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

.btn--whatsapp {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn--whatsapp:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--whatsapp i {
    font-size: 1.2rem;
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn--outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

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

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(232, 229, 225, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.header--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    background: rgba(232, 229, 225, 0.97);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    flex-direction: column;
}

.header__logo-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.1;
}

.header__logo-title {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--green);
    text-transform: uppercase;
}

.header__nav-list {
    display: flex;
    gap: 32px;
}

.header__nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--dark-soft);
    position: relative;
    padding: 4px 0;
}

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

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

.header__nav-link:hover {
    color: var(--dark);
}

/* Hamburger */
.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

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

.header__menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* ========== HERO ========== */
.hero {
    padding-top: 80px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Detalhe decorativo - círculo dourado suave no fundo */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

/* Detalhe decorativo - folha sutil canto inferior esquerdo */
.hero::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -30px;
    width: 150px;
    height: 250px;
    border-radius: 0 75% 0 75%;
    background: rgba(196, 162, 101, 0.04);
    transform: rotate(-20deg);
    pointer-events: none;
}

.hero__container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 85vh;
    position: relative;
    z-index: 1;
}

.hero__content {
    padding: 80px 40px 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__name {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero__subtitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 8px;
    color: var(--green);
    margin-bottom: 24px;
}

.hero__description {
    font-size: 1.05rem;
    color: var(--dark-soft);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Balança da justiça - marca d'água integrada ao fundo da foto */
.hero__image::before {
    content: '';
    position: absolute;
    top: 8%;
    right: 10%;
    width: 280px;
    height: 280px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23b5b0a8' d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.6V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.6c-23.5-10.5-41.2-31.8-46.4-57.6H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zM80 224c-8.5 0-16.6 3.4-22.6 9.4L1.4 289.4c-2 2-1.3 5.1 1.2 5.8C58.4 311.6 96 361.8 96 420.5v3.5c0 26.5-21.5 48-48 48s-48-21.5-48-48v-3.5C0 344.7 46.5 275.6 110.1 246c7.8-3.6 8.1-14.4 1-18.8C106.6 224.5 103.4 224 100 224H80zm380.6 9.4c-6-6-14.1-9.4-22.6-9.4h-20c-3.4 0-6.6 .5-11.1 2.2c-7.1 4.4-6.8 15.2 1 18.8C471.5 275.6 518 344.7 518 420.5v3.5c0 26.5-21.5 48-48 48s-48-21.5-48-48v-3.5c0-58.7 37.6-108.9 93.4-125.3c2.5-.7 3.2-3.8 1.2-5.8l-56-56z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.06;
    filter: blur(1.5px);
    pointer-events: none;
    z-index: 0;
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
}

.hero__image-wrapper img {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    object-position: bottom center;
    position: relative;
    z-index: 1;
}

.hero__image-accent {
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    border-radius: 2px;
    z-index: 2;
}

.hero__divider {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* ========== POSICIONAMENTO ========== */
.posicionamento {
    padding: 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Detalhe decorativo - forma orgânica no canto direito */
.posicionamento::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    width: 200px;
    height: 350px;
    border-radius: 75% 0 75% 0;
    background: rgba(196, 162, 101, 0.04);
    pointer-events: none;
}

.posicionamento__container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    z-index: 1;
}

.posicionamento__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Balança da justiça - marca d'água no fundo da foto sentada */
.posicionamento__image::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 5%;
    width: 220px;
    height: 220px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23b5b0a8' d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.6V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.6c-23.5-10.5-41.2-31.8-46.4-57.6H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zM80 224c-8.5 0-16.6 3.4-22.6 9.4L1.4 289.4c-2 2-1.3 5.1 1.2 5.8C58.4 311.6 96 361.8 96 420.5v3.5c0 26.5-21.5 48-48 48s-48-21.5-48-48v-3.5C0 344.7 46.5 275.6 110.1 246c7.8-3.6 8.1-14.4 1-18.8C106.6 224.5 103.4 224 100 224H80zm380.6 9.4c-6-6-14.1-9.4-22.6-9.4h-20c-3.4 0-6.6 .5-11.1 2.2c-7.1 4.4-6.8 15.2 1 18.8C471.5 275.6 518 344.7 518 420.5v3.5c0 26.5-21.5 48-48 48s-48-21.5-48-48v-3.5c0-58.7 37.6-108.9 93.4-125.3c2.5-.7 3.2-3.8 1.2-5.8l-56-56z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.posicionamento__image img {
    width: 100%;
    max-height: 700px;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 1;
}

.posicionamento__content {
    padding: 60px 60px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.posicionamento__text {
    font-size: 1.05rem;
    color: var(--dark-soft);
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 32px;
}

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

.feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    background: var(--bg-card-solid);
}

.feature-card i {
    font-size: 1.2rem;
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.feature-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

/* ========== SOBRE ========== */
.sobre {
    padding: 80px 0 40px;
    background: var(--bg);
    position: relative;
}

/* Detalhe decorativo - círculos sutis */
.sobre::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.sobre__container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sobre__text {
    font-size: 1.1rem;
    color: var(--dark-soft);
    line-height: 1.8;
    margin-top: 20px;
}

/* ========== ÁREAS DE ATUAÇÃO ========== */
.atuacao {
    padding: 40px 0 80px;
    background: var(--bg);
    position: relative;
}

.atuacao__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.atuacao__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.area-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    backdrop-filter: blur(4px);
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
    background: var(--bg-card-solid);
}

.area-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.area-card__icon i {
    font-size: 1.4rem;
    color: var(--gold);
}

.area-card h3 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

/* ========== DEPOIMENTOS / CARROSSEL ========== */
.depoimentos {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

/* Detalhe decorativo */
.depoimentos::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.depoimentos::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -40px;
    width: 140px;
    height: 230px;
    border-radius: 75% 0 75% 0;
    background: rgba(92, 122, 84, 0.03);
    transform: rotate(15deg);
    pointer-events: none;
}

.depoimentos__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.carrossel {
    margin-top: 40px;
    position: relative;
}

.carrossel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.depoimento-card {
    min-width: calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.depoimento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
    background: var(--bg-card-solid);
}

.depoimento-card__stars {
    display: flex;
    gap: 3px;
}

.depoimento-card__stars i {
    font-size: 0.85rem;
    color: var(--gold);
}

.depoimento-card__text {
    font-size: 0.92rem;
    color: var(--dark-soft);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.depoimento-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bg-dark);
}

.depoimento-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.depoimento-card__author strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
}

.depoimento-card__author span {
    font-size: 0.75rem;
    color: var(--gray);
}

.carrossel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.carrossel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--bg-dark);
    background: var(--bg-card);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.carrossel__btn:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.carrossel__dots {
    display: flex;
    gap: 8px;
}

.carrossel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carrossel__dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .depoimento-card {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .depoimento-card {
        min-width: 100%;
    }
}

/* ========== CONTATO ========== */
.contato {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
}

/* Detalhe decorativo */
.contato::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 122, 84, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.contato__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contato__text {
    font-size: 1.05rem;
    color: var(--dark-soft);
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 32px;
}

.contato__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contato__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contato__item i {
    font-size: 1.4rem;
    color: var(--green);
    width: 24px;
    text-align: center;
}

.contato__item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.contato__item span {
    font-size: 0.9rem;
    color: var(--dark-soft);
}

.contato__social {
    display: flex;
    gap: 12px;
}

.contato__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--dark-soft);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contato__social-link:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    transform: translateY(-2px);
}

/* Form */
.contato__form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.1);
    background: var(--white);
}

/* ========== DECORAÇÕES JURÍDICAS ========== */

/* --- Base de todos os elementos decorativos --- */
.deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* SVGs jurídicos inline como variáveis */

/* --- HERO: Livro aberto no canto inferior esquerdo --- */
.deco--hero-book {
    bottom: 60px;
    left: 30px;
    width: 180px;
    height: 180px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23b8b3ab' d='M249.6 471.5c10.8 3.8 22.4-4.1 22.4-15.5V78.6c0-4.2-1.6-8.4-5-11C247.4 52 202.4 32 144 32C93.5 32 46.3 45.3 18.1 56.1C6.8 60.5 0 71.7 0 83.8V454.1c0 11.9 12.8 20.2 24.1 16.5C55.6 460.1 105.5 448 144 448c33.9 0 79 14 105.6 23.5zm76.8 0C352.9 462 398.1 448 432 448c38.5 0 88.4 12.1 119.9 22.6c11.3 3.8 24.1-4.6 24.1-16.5V83.8c0-12.1-6.8-23.3-18.1-27.6C525.7 45.3 478.5 32 432 32c-58.4 0-103.4 20-123 35.6c-3.3 2.6-5 6.8-5 11V456c0 11.4 11.7 19.3 22.4 15.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    filter: blur(1px);
    transform: rotate(-8deg);
}

/* --- HERO: Coluna grega canto esquerdo --- */
.deco--hero-column {
    top: 120px;
    left: -20px;
    width: 60px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23b8b3ab' d='M0 32C0 14.3 14.3 0 32 0H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 64 0 49.7 0 32zM0 480c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM64 96v32c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32v32H256V384c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32V96H64z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.035;
    filter: blur(0.5px);
}

/* --- HERO: Linha dourada fina decorativa horizontal --- */
.deco--hero-line-top {
    top: 100px;
    left: 60px;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.25;
}

/* --- POSICIONAMENTO: Martelo da justiça --- */
.deco--pos-gavel {
    top: 40px;
    right: 40px;
    width: 140px;
    height: 140px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23b8b3ab' d='M318.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-120 120c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l4-4L325.4 293.4l-4 4c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l120-120c12.5-12.5 12.5-32.8 0-45.3l-16-16c-12.5-12.5-32.8-12.5-45.3 0l-4 4L330.6 74.6l4-4c12.5-12.5 12.5-32.8 0-45.3l-16-16zm-152 288c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l48 48c12.5 12.5 32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-1.4-1.4L274.6 285.4l1.4 1.4-48-48z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    filter: blur(1px);
    transform: rotate(15deg);
}

/* --- POSICIONAMENTO: Linhas douradas decorativas --- */
.deco--pos-lines {
    bottom: 80px;
    right: 60px;
    width: 80px;
    height: 60px;
    opacity: 0.2;
}

.deco--pos-lines::before,
.deco--pos-lines::after {
    content: '';
    position: absolute;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 1px;
}

.deco--pos-lines::before {
    top: 0;
    left: 0;
    width: 80px;
}

.deco--pos-lines::after {
    top: 16px;
    left: 15px;
    width: 50px;
}

/* --- SOBRE: Estante de livros (livros empilhados) --- */
.deco--sobre-books {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23b8b3ab' d='M0 96C0 60.7 28.7 32 64 32H196.1c19.1 0 37.4 7.6 50.9 21.1L289.9 96H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.03;
    filter: blur(1.5px);
}

/* --- SOBRE: Caneta/pena no canto direito --- */
.deco--sobre-pen {
    right: 5%;
    top: 30%;
    width: 100px;
    height: 160px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23b8b3ab' d='M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.035;
    filter: blur(1px);
    transform: rotate(20deg);
}

/* --- DEPOIMENTOS: Aspas grandes decorativas --- */
.deco--depo-quote-left {
    top: 60px;
    left: 5%;
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23c4a265' d='M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H320c-35.3 0-64-28.7-64-64V216z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    filter: blur(0.5px);
}

.deco--depo-quote-right {
    bottom: 80px;
    right: 5%;
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23c4a265' d='M448 296c0 66.3-53.7 120-120 120h-8c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v136zM192 296c0 66.3-53.7 120-120 120H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v136z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
    filter: blur(0.5px);
}

/* --- CONTATO: Textura de papel elegante --- */
.deco--contato-texture {
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(196, 162, 101, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(196, 162, 101, 0.04) 0%, transparent 45%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(196, 162, 101, 0.015) 40px,
            rgba(196, 162, 101, 0.015) 41px
        );
}

/* --- CONTATO: Coluna grega no canto --- */
.deco--contato-column {
    right: 20px;
    bottom: 30px;
    width: 50px;
    height: 260px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23b8b3ab' d='M0 32C0 14.3 14.3 0 32 0H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 64 0 49.7 0 32zM0 480c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM64 96v32c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32v32H256V384c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32V96H64z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.03;
    filter: blur(0.5px);
}

/* --- Textura de parede sofisticada aplicada globalmente --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(196, 162, 101, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(92, 122, 84, 0.02) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Garantir que seções com decos tenham position relative */
.hero, .posicionamento, .sobre, .atuacao, .depoimentos, .contato {
    position: relative;
    overflow: hidden;
}

/* Esconder decorações no mobile para manter limpo */
@media (max-width: 768px) {
    .deco--hero-book,
    .deco--hero-column,
    .deco--sobre-books,
    .deco--sobre-pen,
    .deco--contato-column,
    .deco--depo-quote-right {
        display: none;
    }

    .deco--depo-quote-left {
        width: 80px;
        height: 80px;
        opacity: 0.04;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}

.footer__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.footer__logo-name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
}

.footer__logo-title {
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--gold);
}

.footer__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer__line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero__content {
        padding: 40px 24px;
        order: 1;
    }

    .hero__image {
        order: 0;
    }

    .hero__image-wrapper img {
        max-height: 450px;
    }

    .hero__image-accent {
        display: none;
    }

    .hero__name {
        font-size: 2.8rem;
    }

    .hero__description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

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

    .posicionamento__image img {
        max-height: 450px;
    }

    .posicionamento__content {
        padding: 40px 24px;
    }

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

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        padding: 80px 32px 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .header__nav.open {
        right: 0;
    }

    .header__nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .header__nav-link {
        font-size: 1.1rem;
    }

    .header__menu-btn {
        display: flex;
        z-index: 1001;
    }

    .hero__name {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        letter-spacing: 5px;
        font-size: 0.85rem;
    }

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

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

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

    .contato__form-wrapper {
        padding: 24px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}

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

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .atuacao__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .area-card {
        padding: 24px 12px;
    }
}
