/* Importação da fonte do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Variável de cor do tema */
:root {
    --color-main: #8da813;
    --color-text: #303030;
    --color-background: #f8f4eb;
    --color-secondary: #99aa45;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo geral */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Transição de entrada suave */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.3s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Layout principal */
.main-content {
    flex: 1;
}

/* =======================================
   NAVBAR
   ======================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 0 3rem 0 0rem;
    min-height: 90px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    margin-right: auto;
    height: 110px;
    display: flex;
    align-items: center;
}

.navbar .logo img {
    max-height: 190%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.navbar ul li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem; /* Tamanho maior */
    position: relative;
    transition: color 0.3s ease;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-main);
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* =======================================
   HERO SECTION (COM RAMOS)
   ======================================= */
.hero {
    background-image: url("ImagemLogo/planta.jpg");
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}


.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-text);
    z-index: 2;
    position: relative;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 700px;
    font-weight: 300;
    position: relative;
    z-index: 2;
    margin: 0 auto 3rem auto;
}

/* Botões do Hero (Maiores e mais aesthetic) */
.hero .btn-container {
    z-index: 2;
    position: relative;
}
.hero .btn {
    padding: 16px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero .btn-primary,
.hero .btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 3px solid var(--color-text);
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
    background: #e9e9e9;
    border-color: var(--color-main);
    color: var(--color-main);
}

/* =======================================
   SOBRE NÓS SECTION (COM RAMOS)
   ======================================= */
.sobre {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Estilização dos ramos na seção SOBRE */
.sobre::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: url('https://www.svgrepo.com/show/499820/branch-leaf.svg') no-repeat center/contain;
    opacity: 0.1;
    filter: invert(40%) sepia(20%) saturate(200%) hue-rotate(60deg) brightness(80%) contrast(150%);
    bottom: -40px;
    left: -40px;
    transform: rotate(60deg) scaleX(-1);
    animation: fadeIn 2s ease forwards;
    z-index: 1; 
}
.sobre-container {
    position: relative;
    z-index: 2; /* Garante que o conteúdo fique sobre o ramo */
    max-width: 900px;
    margin: 0 auto;
}

.sobre h2 {
    font-size: 2.8rem;
    color: var(--color-main);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.sobre h2::after {
    content: '';
    width: 80px;
    height: 5px;
    background-color: var(--color-main);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.sobre p {
    font-size: 1.2rem;
    color: #4a4a4a;
}

/* =======================================
   FOOTER (COM RAMOS)
   ======================================= */
.footer {
    background: var(--color-main);
    color: #fff;
    text-align: center;
    padding: 25px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}


.footer p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2; /* Garante que o texto fique sobre o ramo */
}

