:root {
    --primary-color: #6f8f7a;      /* Verde sálvia principal */
    --primary-soft: #edf4ef;       /* Verde muito claro */
    --primary-dark: #4f6f5c;       /* Verde escuro para hover */
    --accent-color: #c9a27e;       /* Dourado/bege sofisticado */

    --bg-soft: #faf7f2;            /* Off-white quente */
    --bg-cream: #f4eee6;           /* Bege suave para seções */
    --text-dark: #2f3a34;          /* Verde grafite */
    --text-muted: #6f766f;
    --white: #ffffff;
    --bg-main: #ffffff;

    --hero-bg: linear-gradient(135deg, #ffffff 0%, #faf7f2 50%, #edf4ef 100%);
    --whatsapp-color: #3faa66;
    --whatsapp-hover: #349658;

    --shadow-sm: 0 4px 15px rgba(47, 58, 52, 0.04);
    --shadow-md: 0 10px 30px rgba(47, 58, 52, 0.06);
    --shadow-lg: 0 20px 50px rgba(47, 58, 52, 0.1);

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.8;
    overflow-x: hidden;
}

.bg-white {
    background-color: var(--white) !important;
}

.serif-font {
    font-family: 'Baskervville', serif;
}

.dm-sans-font {
    font-family: 'DM Sans', sans-serif;
}

.playball-font {
    font-family: 'Playball', cursive;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.02);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Baskervville', serif;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.display-4 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.2;
}

.display-5 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.display-6 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.ls-1 { letter-spacing: 0.12em; }

.text-primary {
    color: var(--primary-color) !important;
}

/* Sections */
.section-padding {
    padding: 120px 0;
}

.bg-soft-bg { 
    background-color: var(--bg-soft); 
}

.bg-soft-primary { 
    background-color: var(--primary-soft); 
}

.bg-soft-primary-light { 
    background-color: var(--primary-soft); 
}

/* Icons Animation */
i[class*="bi-"] {
    transition: var(--transition);
}

.area-card:hover i[class*="bi-"],
.help-card:hover i[class*="bi-"] {
    transform: scale(1.15) rotate(5deg);
}

/* Buttons */
.btn {
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    color: var(--white);
    padding: 16px 40px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(111, 143, 122, 0.25);
    color: var(--white);
}

.btn-outline-secondary {
    border-color: #d1d1d1;
    color: var(--text-muted);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: var(--bg-soft);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-4px);
}

.shadow-primary {
    box-shadow: 0 10px 25px rgba(111, 143, 122, 0.15);
}

.brand-name-hero {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.brand-crp-hero {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 120px;
    background: var(--hero-bg);
}

.hero-image-container {
    position: relative;
    padding: 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.hero-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
}

.rounded-custom {
    border-radius: 60px 20px 60px 20px;
    transition: var(--transition);
}

.hero-image:hover, 
.about-image-wrapper img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.italic {
    font-family: 'Baskervville', serif;
    font-style: italic;
}

.floating-card {
    position: absolute;
    bottom: 60px;
    left: -40px;
    min-width: 260px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: floating 4s ease-in-out infinite;
}

.floating-card h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

@keyframes floating {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Help Cards */
.help-card {
    background: var(--white);
    border: 1px solid rgba(47, 58, 52, 0.03);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.help-card h5 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 0;
    transition: var(--transition);
    text-transform: uppercase;
}

.help-card p {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.85rem;
    line-height: 1.6;
}

.help-card:hover {
    border-color: var(--primary-soft);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.help-card:hover h5 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.help-card:hover p {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
}

/* Timeline */
.step-number {
    font-family: 'DM Sans', sans-serif;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(111, 143, 122, 0.2);
}

.timeline-item h5 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.timeline-item {
    transition: var(--transition);
}

.timeline-item:hover {
    transform: scale(1.02);
}

/* Area Cards */
.area-card {
    transition: var(--transition);
    border: 1px solid transparent;
}

.area-card h5 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.border-hover:hover {
    border: 1px solid var(--primary-soft);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background-color: var(--primary-soft);
    color: var(--primary-color);
}

/* Accordion Custom */
.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 20px !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
}

.accordion-button {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 22px 25px;
    text-transform: uppercase;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-soft);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

/* CTA Section */
.cta-section .bg-primary {
    background-color: var(--primary-color) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66 3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm40 24c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM36 35c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM5 1c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm65 37c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM45 63c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-section .btn-light {
    color: var(--primary-color) !important;
    background-color: var(--white);
    border: none;
}

.cta-section .btn-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(63, 170, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    background-color: var(--whatsapp-hover);
}

/* Footer */
.footer {
    background-color: var(--bg-cream);
    border-top: 1px solid rgba(0,0,0,0.02);
}

.footer h2 {
    font-size: 3.5rem;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
    display: inline-block;
}

/* Utility */
.size-14 { width: 14px; height: 14px; }
.size-18 { width: 18px; height: 18px; }
.size-20 { width: 20px; height: 20px; }
.size-24 { width: 24px; height: 24px; }
.size-28 { width: 28px; height: 28px; }
.size-32 { width: 32px; height: 32px; }
.size-64 { width: 64px; height: 64px; }
.max-width-700 { max-width: 700px; }
.opacity-90 { opacity: 0.9; }
.opacity-20 { opacity: 0.2; }
.opacity-10 { opacity: 0.1; }
.z-index-1 { z-index: 1; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-padding { padding: 80px 0; }
    .hero-section { padding-top: 60px; }
    .floating-card { left: 0; bottom: 20px; min-width: 200px; }
    .rounded-custom { border-radius: 40px 15px 40px 15px; }
}

@media (max-width: 767px) {
    .display-4 { font-size: 2.2rem; }
    .btn { padding: 14px 25px; font-size: 0.8rem; }
}
