/*
Theme Name: Vilma Marques Agro
Theme URI: https://vilmamarquesdesousa.site
Author: Vilma Marques de Sousa LTDA
Author URI: https://vilmamarquesdesousa.site
Description: Tema WordPress profissional para agronegócio brasileiro, desenvolvido para VILMA MARQUES DE SOUSA LTDA - cultivo de soja em Goiânia/GO. Design moderno, responsivo, otimizado para SEO local, compatível com Gutenberg e LGPD.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vilma-marques-agro
Tags: agriculture, business, corporate, responsive, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ============ RESET & BASE ============ */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Inter','Segoe UI',Roboto,-apple-system,BlinkMacSystemFont,sans-serif;font-size:16px;line-height:1.6;color:#1f2937;background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:#2E7D32;text-decoration:none;transition:color .2s}
a:hover,a:focus{color:#8BC34A}
h1,h2,h3,h4,h5,h6{font-family:'Poppins','Inter',sans-serif;font-weight:700;line-height:1.2;color:#1b3a1f;margin:0 0 1rem}
h1{font-size:clamp(2rem,5vw,3.5rem)}
h2{font-size:clamp(1.75rem,4vw,2.5rem)}
h3{font-size:1.5rem}
p{margin:0 0 1rem}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 1.25rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip-link{position:absolute;left:-9999px;top:0;background:#2E7D32;color:#fff;padding:.75rem 1rem;z-index:9999}
.skip-link:focus{left:0}

/* ============ BUTTONS ============ */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.75rem;border-radius:8px;font-weight:600;font-size:1rem;border:2px solid transparent;cursor:pointer;transition:all .25s ease;text-align:center;line-height:1}
.btn-primary{background:#2E7D32;color:#fff;border-color:#2E7D32}
.btn-primary:hover,.btn-primary:focus{background:#1b5e20;border-color:#1b5e20;color:#fff;transform:translateY(-2px);box-shadow:0 10px 25px -10px rgba(46,125,50,.55)}
.btn-accent{background:#F9A825;color:#1b3a1f;border-color:#F9A825}
.btn-accent:hover,.btn-accent:focus{background:#f57f17;border-color:#f57f17;color:#fff;transform:translateY(-2px);box-shadow:0 10px 25px -10px rgba(249,168,37,.6)}
.btn-outline{background:transparent;color:#fff;border-color:#fff}
.btn-outline:hover,.btn-outline:focus{background:#fff;color:#2E7D32}

/* ============ HEADER ============ */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);backdrop-filter:blur(10px);border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;gap:1rem}
.site-branding{display:flex;align-items:center;gap:.75rem}
.site-logo{width:48px;height:48px;border-radius:10px;background:linear-gradient(135deg,#2E7D32,#8BC34A);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1.25rem;flex-shrink:0}
.site-title{font-family:'Poppins',sans-serif;font-size:1.05rem;font-weight:700;color:#1b3a1f;line-height:1.15;margin:0}
.site-title a{color:inherit}
.site-tagline{font-size:.75rem;color:#6b7280;margin:0;text-transform:uppercase;letter-spacing:.05em}
.main-nav{display:flex;align-items:center}
.main-nav ul{list-style:none;display:flex;gap:1.75rem;margin:0;padding:0}
.main-nav a{color:#1f2937;font-weight:500;font-size:.95rem;position:relative;padding:.25rem 0}
.main-nav a:hover,.main-nav .current-menu-item>a{color:#2E7D32}
.main-nav a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:#2E7D32;transition:width .25s}
.main-nav a:hover::after,.main-nav .current-menu-item>a::after{width:100%}
.nav-toggle{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;padding:10px;color:#1b3a1f}
.nav-toggle span{display:block;width:24px;height:2px;background:currentColor;margin:5px 0;transition:.3s}
.nav-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ============ HERO ============ */
.hero{position:relative;min-height:88vh;display:flex;align-items:center;color:#fff;overflow:hidden;background:#0d3b12}
.hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,#1b5e20 0%,#2E7D32 50%,#558B2F 100%);z-index:0}
.hero-bg::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 20% 30%,rgba(139,195,74,.35),transparent 40%),radial-gradient(circle at 80% 70%,rgba(249,168,37,.25),transparent 45%);}
.hero-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 100%)}
.hero-pattern{position:absolute;inset:0;opacity:.08;background-image:repeating-linear-gradient(45deg,#fff 0 2px,transparent 2px 40px)}
.hero-inner{position:relative;z-index:2;padding:5rem 0;max-width:800px}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);padding:.4rem 1rem;border-radius:999px;font-size:.85rem;font-weight:600;margin-bottom:1.5rem;backdrop-filter:blur(10px)}
.hero-badge-dot{width:8px;height:8px;border-radius:50%;background:#F9A825;box-shadow:0 0 0 4px rgba(249,168,37,.3)}
.hero h1{color:#fff;margin-bottom:1.25rem}
.hero h1 span{color:#F9A825;display:block}
.hero-desc{font-size:1.15rem;color:rgba(255,255,255,.92);margin-bottom:2rem;max-width:640px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2.5rem}
.hero-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.25rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.2);max-width:640px}
.hero-highlight strong{display:block;font-size:1.75rem;color:#F9A825;font-family:'Poppins',sans-serif}
.hero-highlight span{font-size:.85rem;color:rgba(255,255,255,.85)}

/* ============ SECTIONS ============ */
.section{padding:5rem 0}
.section-alt{background:#f8faf5}
.section-header{text-align:center;max-width:720px;margin:0 auto 3.5rem}
.section-eyebrow{display:inline-block;color:#2E7D32;font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:.8rem;margin-bottom:.75rem}
.section-header p{color:#4b5563;font-size:1.1rem}

/* ============ QUEM SOMOS ============ */
.about-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:3.5rem;align-items:center}
.about-visual{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:4/5;background:linear-gradient(135deg,#2E7D32,#8BC34A);box-shadow:0 30px 60px -30px rgba(46,125,50,.5)}
.about-visual::before{content:'';position:absolute;inset:0;background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.1) 0 1px,transparent 1px 30px),repeating-linear-gradient(0deg,rgba(255,255,255,.1) 0 1px,transparent 1px 30px)}
.about-visual-inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:2rem;color:#fff;background:linear-gradient(180deg,transparent 40%,rgba(13,59,18,.85) 100%)}
.about-visual-inner strong{font-family:'Poppins',sans-serif;font-size:2.5rem;color:#F9A825;display:block;line-height:1}
.about-content p{color:#374151;margin-bottom:1.1rem;font-size:1.02rem}
.about-address{background:#fff;border-left:4px solid #F9A825;padding:1.25rem 1.5rem;border-radius:8px;margin-top:1.5rem;box-shadow:0 4px 12px rgba(0,0,0,.05)}
.about-address strong{color:#1b3a1f;display:block;margin-bottom:.35rem}

/* ============ MISSION ============ */
.mission{background:linear-gradient(135deg,#1b3a1f 0%,#2E7D32 100%);color:#fff;position:relative;overflow:hidden}
.mission::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 15% 20%,rgba(249,168,37,.15),transparent 40%),radial-gradient(circle at 85% 80%,rgba(139,195,74,.2),transparent 45%)}
.mission-inner{position:relative;z-index:2;text-align:center;max-width:820px;margin:0 auto}
.mission h2{color:#fff}
.mission-icon{width:80px;height:80px;border-radius:20px;background:rgba(249,168,37,.2);border:1px solid rgba(249,168,37,.4);display:inline-flex;align-items:center;justify-content:center;margin-bottom:1.5rem;font-size:2rem}
.mission p{color:rgba(255,255,255,.92);font-size:1.15rem;margin-bottom:1.25rem}

/* ============ ATIVIDADES / DIFERENCIAIS ============ */
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.75rem}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:2rem;transition:all .3s ease;position:relative;overflow:hidden}
.card::before{content:'';position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#2E7D32,#8BC34A);transform:scaleX(0);transform-origin:left;transition:transform .3s}
.card:hover{transform:translateY(-6px);box-shadow:0 20px 40px -20px rgba(46,125,50,.25);border-color:#8BC34A}
.card:hover::before{transform:scaleX(1)}
.card-icon{width:56px;height:56px;border-radius:12px;background:linear-gradient(135deg,#e8f5e9,#c8e6c9);color:#2E7D32;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:1.25rem;font-weight:700}
.card h3{color:#1b3a1f;font-size:1.2rem;margin-bottom:.5rem}
.card p{color:#4b5563;font-size:.95rem;margin:0}

.diferenciais .card-icon{background:linear-gradient(135deg,#fff8e1,#ffecb3);color:#F9A825}

/* ============ CONTATO ============ */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.contact-info{background:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 10px 30px -15px rgba(0,0,0,.1);border:1px solid #e5e7eb}
.contact-info h3{color:#1b3a1f;margin-bottom:1.5rem;font-size:1.4rem}
.contact-item{display:flex;gap:1rem;padding:1rem 0;border-bottom:1px solid #f3f4f6}
.contact-item:last-child{border-bottom:0}
.contact-item-icon{width:44px;height:44px;border-radius:10px;background:#e8f5e9;color:#2E7D32;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0;font-weight:700}
.contact-item-label{font-size:.8rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.contact-item-value{color:#1b3a1f;font-weight:600;word-break:break-word}
.contact-item-value a{color:inherit}
.contact-form{background:linear-gradient(135deg,#f8faf5,#fff);border-radius:16px;padding:2.5rem;border:1px solid #e5e7eb}
.form-row{margin-bottom:1.25rem}
.form-row label{display:block;font-weight:600;color:#1b3a1f;margin-bottom:.4rem;font-size:.9rem}
.form-row input,.form-row textarea,.form-row select{width:100%;padding:.85rem 1rem;border:1px solid #d1d5db;border-radius:8px;font-family:inherit;font-size:1rem;background:#fff;transition:all .2s}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{outline:0;border-color:#2E7D32;box-shadow:0 0 0 3px rgba(46,125,50,.15)}
.form-row textarea{resize:vertical;min-height:120px}
.form-consent{display:flex;gap:.5rem;align-items:flex-start;font-size:.85rem;color:#4b5563;margin-bottom:1.25rem}
.form-consent input{width:auto;margin-top:.2rem}

/* ============ MAPA ============ */
.map-wrap{border-radius:20px;overflow:hidden;box-shadow:0 20px 50px -20px rgba(0,0,0,.15);border:1px solid #e5e7eb;background:#e8f5e9;min-height:420px;display:flex;align-items:center;justify-content:center;position:relative;background-image:repeating-linear-gradient(45deg,#e8f5e9 0 20px,#f1f8e9 20px 40px)}
.map-placeholder{text-align:center;padding:2rem;background:rgba(255,255,255,.95);border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.1);max-width:400px}
.map-placeholder .icon{font-size:3rem;color:#2E7D32;margin-bottom:1rem}
.map-placeholder h3{color:#1b3a1f;margin-bottom:.5rem}
.map-placeholder p{color:#4b5563;margin:0;font-size:.95rem}

/* ============ FOOTER ============ */
.site-footer{background:#0d3b12;color:#d1e7d3;padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem;padding-bottom:3rem}
.footer-widget h4{color:#fff;font-size:1rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1.25rem;font-family:'Poppins',sans-serif}
.footer-widget p,.footer-widget li{color:#a7c9ac;font-size:.9rem;line-height:1.75}
.footer-widget ul{list-style:none;padding:0;margin:0}
.footer-widget a{color:#a7c9ac}
.footer-widget a:hover{color:#F9A825}
.footer-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.footer-brand .site-title{color:#fff;font-size:1.1rem}
.footer-social{display:flex;gap:.75rem;margin-top:1.25rem}
.footer-social a{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;transition:all .25s;font-size:.85rem}
.footer-social a:hover{background:#F9A825;color:#1b3a1f;transform:translateY(-2px)}
.footer-info dt{color:#F9A825;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;margin-top:.75rem}
.footer-info dd{margin:.25rem 0 0;color:#fff;font-size:.9rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1.5rem 0;text-align:center;font-size:.85rem;color:#8faf95}
.footer-bottom a{color:#F9A825}

/* ============ WHATSAPP FLOAT ============ */
.wa-float{position:fixed;bottom:24px;right:24px;width:60px;height:60px;background:#25D366;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(37,211,102,.5);z-index:99;transition:all .3s;text-decoration:none}
.wa-float:hover{transform:scale(1.08);background:#128C7E;color:#fff;box-shadow:0 15px 40px rgba(37,211,102,.6)}
.wa-float svg{width:32px;height:32px;fill:currentColor}
.wa-float::before{content:'';position:absolute;inset:-4px;border-radius:50%;border:2px solid #25D366;opacity:.6;animation:waPulse 2s infinite}
@keyframes waPulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.4);opacity:0}}

/* ============ PAGE / POST ============ */
.page-hero{background:linear-gradient(135deg,#1b3a1f,#2E7D32);color:#fff;padding:4rem 0 3rem;text-align:center}
.page-hero h1{color:#fff}
.breadcrumbs{font-size:.9rem;color:rgba(255,255,255,.8);margin-top:.5rem}
.breadcrumbs a{color:#F9A825}
.entry-content{max-width:820px;margin:0 auto;padding:3rem 1.25rem}
.entry-content h2,.entry-content h3{margin-top:2rem}
.entry-content ul,.entry-content ol{padding-left:1.5rem;margin-bottom:1rem}
.entry-content blockquote{border-left:4px solid #2E7D32;padding:1rem 1.5rem;background:#f8faf5;font-style:italic;margin:1.5rem 0;border-radius:0 8px 8px 0}
.entry-meta{color:#6b7280;font-size:.9rem;margin-bottom:1.5rem}
.post-thumb{margin:0 0 2rem;border-radius:12px;overflow:hidden}

/* ============ SIDEBAR / WIDGETS ============ */
.with-sidebar{display:grid;grid-template-columns:1fr 320px;gap:3rem;max-width:1200px;margin:0 auto;padding:3rem 1.25rem}
.widget{background:#fff;padding:1.5rem;border-radius:12px;border:1px solid #e5e7eb;margin-bottom:1.5rem}
.widget-title{color:#1b3a1f;font-size:1.05rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #8BC34A}
.widget ul{list-style:none;padding:0;margin:0}
.widget li{padding:.5rem 0;border-bottom:1px solid #f3f4f6}
.widget li:last-child{border-bottom:0}

/* ============ 404 / SEARCH ============ */
.error-404,.no-results{text-align:center;padding:5rem 1.25rem;max-width:600px;margin:0 auto}
.error-404 h1{font-size:6rem;color:#2E7D32;margin-bottom:.5rem}

/* ============ COMMENTS ============ */
.comments-area{max-width:820px;margin:2rem auto;padding:0 1.25rem}
.comment-list{list-style:none;padding:0}
.comment-body{padding:1.25rem;background:#f8faf5;border-radius:10px;margin-bottom:1rem}

/* ============ RESPONSIVE ============ */
@media (max-width:900px){
  .about-grid,.contact-grid,.with-sidebar,.footer-grid{grid-template-columns:1fr;gap:2rem}
  .about-visual{aspect-ratio:16/10;max-height:400px}
}
@media (max-width:768px){
  .nav-toggle{display:block}
  .main-nav{position:fixed;top:0;right:-100%;width:80%;max-width:320px;height:100vh;background:#fff;flex-direction:column;padding:5rem 1.5rem 2rem;box-shadow:-10px 0 30px rgba(0,0,0,.15);transition:right .3s;overflow-y:auto}
  .main-nav.open{right:0}
  .main-nav ul{flex-direction:column;gap:.5rem;width:100%}
  .main-nav li{width:100%;border-bottom:1px solid #f3f4f6}
  .main-nav a{display:block;padding:1rem .5rem}
  .section{padding:3.5rem 0}
  .hero{min-height:auto;padding:2rem 0}
  .hero-inner{padding:3rem 0}
  .wa-float{width:54px;height:54px;bottom:16px;right:16px}
  .wa-float svg{width:28px;height:28px}
}
@media (max-width:480px){
  .hero-ctas{flex-direction:column}
  .btn{width:100%;justify-content:center}
  .card,.contact-info,.contact-form{padding:1.5rem}
}

/* ============ PRINT ============ */
@media print{.site-header,.site-footer,.wa-float,.hero-ctas{display:none}}
