@import url('https://db.onlinewebfonts.com/c/3cc05eb29887891767af19710a02106d?family=Cooper+Black');

/* 2. Define o @font-face para todos os formatos */
@font-face {
  font-family: 'Cooper Black';
  src: url('https://db.onlinewebfonts.com/t/3cc05eb29887891767af19710a02106d.eot');
  src:
    url('https://db.onlinewebfonts.com/t/3cc05eb29887891767af19710a02106d.eot?#iefix') format('embedded-opentype'),
    url('https://db.onlinewebfonts.com/t/3cc05eb29887891767af19710a02106d.woff2') format('woff2'),
    url('https://db.onlinewebfonts.com/t/3cc05eb29887891767af19710a02106d.woff') format('woff'),
    url('https://db.onlinewebfonts.com/t/3cc05eb29887891767af19710a02106d.ttf') format('truetype'),
    url('https://db.onlinewebfonts.com/t/3cc05eb29887891767af19710a02106d.svg#Cooper Black') format('svg');
  font-weight: normal;
  font-style: normal;
} 

:root {
            --gold: #004A7F;      /* mantive as tuas cores */
            --wine: #5BC5ED;
            --neutral-light: #f5f5f5;
            --neutral-medium: #E6E2DB;
            --neutral-dark: #222222;
            --font-serif: 'Playfair Display', serif;
            --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --transition: all 0.22s ease;
            --shadow: 0 6px 24px rgba(0,0,0,0.08);
            --shadow-strong: 0 12px 40px rgba(0,0,0,0.12);
            --radius: 10px;
            --container-width: 1200px;
        }

        /* Reset & base */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-sans);
            color: var(--neutral-dark);
            background-color: var(--neutral-light);
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            min-height: 100vh;
        }

        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; height: auto; }

        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.25rem; }

        /* Header */
          /* Header styles */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(225, 225, 225, 0.8);  
            backdrop-filter: blur(12px);      
            -webkit-backdrop-filter: blur(12px); 
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }
        
        header.scrolled {
            padding: 0.5rem 0;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo span {
            font-family: 'Cooper Black', sans-serif;
            font-size: 2.5rem;        
            font-weight: 700;     
            letter-spacing: 0.02em;  
            color: var(--gold);         
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
        }
        
        .nav-menu li {
            margin-left: 2rem;
        }
        
        .nav-menu a {
            color: var(--neutral-dark);
            font-weight: 600;
            position: relative;
        }
        
        .nav-menu a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--gold);
            transition: var(--transition);
        }
        
        .nav-menu a:hover:after {
            width: 100%;
        }
        
          .nav-menu .active{
            color: #004A7F;
            width: 100%;
        }
        
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--neutral-dark);
        }

        /* Hero */
        .hero {
            margin-top: 86px; 
            margin-bottom: 20px;
            background-image: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.35)), url('<?php echo $hero_image; ?>');
            background-size: cover;
            background-position: center;
            color: #fff;
            padding: 80px 0 64px;
            display:flex;
            align-items:center;
            justify-content:center;
        }
        .hero .hero-card {
            width:100%;
            max-width:1100px;
            background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
            border-radius: 14px;
            padding: 36px;
            box-shadow: 0 18px 60px rgba(0,0,0,0.45);
            backdrop-filter: blur(6px);
            display:grid;
            grid-template-columns: 1fr auto;
            gap: 20px;
            align-items:center;
        }
        .hero .meta {
            display:flex; gap:12px; align-items:center; color:rgba(255,255,255,0.95); font-weight:600; font-size:.95rem;
        }
        .hero h1 { font-family:var(--font-serif); font-size:clamp(1.6rem, 3.6vw, 2.6rem); line-height:1.05; color:white; margin-bottom:8px; }
        .badge { background:var(--wine); color:white; padding:6px 12px; border-radius:999px; font-weight:700; font-size:.9rem; display:inline-block; }

        .hero .author {
            text-align:right; font-size:.95rem; color:rgba(255,255,255,0.9);
        }
        .author img { width:44px; height:44px; border-radius:50%; object-fit:cover; vertical-align:middle; margin-right:8px; }

        /* Layout */
        main { padding: 56px 0; }
        .grid {
            display:grid;
            grid-template-columns: 1fr 340px;
            gap:32px;
            align-items:start;
        }

        /* Post content */
        .post {
            margin-bottom: 20px;
            background:white;
            padding:28px;
            border-radius:12px;
            box-shadow: var(--shadow);
        }
        .post .intro {
            font-size:1.05rem;
            margin-bottom:1.25rem;
            color:var(--neutral-dark);
        }
        .post .post-image {
            border-radius:10px; overflow:hidden; margin:18px 0;
        }
        .post .post-image img { width:100%; height:auto; display:block; }

        .post .content {
            color: #222;
            font-size:1rem;
            line-height:1.8;
        }

        blockquote {
            border-left:4px solid var(--gold);
            padding:16px 18px;
            background: #fbfbfb;
            margin: 18px 0;
            border-radius:8px;
            font-style:italic;
            color:#444;
        }

        .post-tags { display:flex; gap:8px; margin-top:18px; flex-wrap:wrap; }
        .post-tags .tag { background:var(--neutral-medium); color:var(--neutral-dark); padding:6px 10px; border-radius:999px; font-weight:600; font-size:.85rem; }

        .post-actions { display:flex; gap:12px; margin-top:20px; align-items:center; }
        .btn {
            display:inline-flex; align-items:center; gap:8px;
            background:var(--gold); color:white; padding:10px 14px; border-radius:10px; font-weight:700; border:0; cursor:pointer;
            box-shadow: 0 8px 26px rgba(0,74,127,0.12);
        }
        .btn.secondary { background:transparent; color:var(--gold); border:2px solid var(--gold); box-shadow:none; }

        /* Sidebar */
        aside .card {
            background:white; padding:18px; border-radius:12px; box-shadow: var(--shadow);
        }
        .sidebar .widget + .widget { margin-top:18px; }
        .recent-post { display:flex; gap:12px; align-items:center; margin-bottom:12px; }
        .recent-post img { width:72px; height:56px; object-fit:cover; border-radius:8px; }

         /* Footer */
        footer {
            background-color: var(--neutral-dark);
            color: white;
            padding: 4rem 0 2rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .footer-logo img {
            height: 40px;
            margin-bottom: 1rem;
            filter: brightness(0) invert(1);
        }
        
        .footer-heading {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .footer-heading:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--gold);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: var(--neutral-medium);
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: var(--gold);
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background-color: var(--gold);
            transform: translateY(-3px);
        }
        
        .newsletter-form {
            display: flex;
            margin-top: 1rem;
        }
        
        .newsletter-input {
            flex: 1;
            padding: 0.8rem 1rem;
            border: none;
            border-radius: var(--radius) 0 0 var(--radius);
            font-family: var(--font-sans);
        }
        
        .newsletter-btn {
            background-color: var(--gold);
            color: white;
            border: none;
            padding: 0 1rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .newsletter-btn:hover {
            background-color: var(--wine);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--neutral-medium);
            font-size: 0.9rem;
        }
        
        /* WhatsApp floating button */
        .whatsapp-float {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
            z-index: 999;
            transition: var(--transition);
            animation: pulse 2s infinite;
        }
        
        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
        }
        
        .whatsapp-float i {
            font-size: 1.8rem;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }

        /* Mobile Menu Styling */
        .mobile-menu-container {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 400px;
            height: 100vh;
            background: linear-gradient(135deg, var(--neutral-light) 0%, white 100%);
            z-index: 1001;
            padding: 5rem 2rem 2rem;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
            transition: right 0.4s ease;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        
        .mobile-menu-container.active {
            right: 0;
        }
        
        .mobile-menu {
            list-style: none;
            margin-top: 2rem;
        }
        
        .mobile-menu li {
            margin-bottom: 1.5rem;
        }
        
        .mobile-menu a {
            color: var(--neutral-dark);
            font-weight: 600;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.8rem 1rem;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        
        .mobile-menu a:hover {
            background-color: rgba(0, 74, 127, 0.1);
            color: var(--gold);
            transform: translateX(5px);
        }
        
        .mobile-menu a i {
            width: 24px;
            text-align: center;
        }
        
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-social {
            margin-top: auto;
            padding-top: 2rem;
            display: flex;
            justify-content: center;
            gap: 1rem;
        }/* Mobile Menu Styling */
        .mobile-menu-container {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 400px;
            height: 100vh;
            background: linear-gradient(135deg, var(--neutral-light) 0%, white 100%);
            z-index: 1001;
            padding: 5rem 2rem 2rem;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
            transition: right 0.4s ease;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        
        .mobile-menu-container.active {
            right: 0;
        }
        
        .mobile-menu {
            list-style: none;
            margin-top: 2rem;
        }
        
        .mobile-menu li {
            margin-bottom: 1.5rem;
        }
        
        .mobile-menu a {
            color: var(--neutral-dark);
            font-weight: 600;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.8rem 1rem;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        
        .mobile-menu a:hover {
            background-color: rgba(0, 74, 127, 0.1);
            color: var(--gold);
            transform: translateX(5px);
        }
        
        .mobile-menu a i {
            width: 24px;
            text-align: center;
        }
        
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-social {
            margin-top: auto;
            padding-top: 2rem;
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

          #contato{
                background-color: var(--neutral-medium);
            }
         .nav-menu .active{
            color: #004A7F;
            width: 100%;
        }
        /* Responsive */
        @media (max-width: 1000px) {
            .grid { grid-template-columns: 1fr; }
            .hero .hero-card { grid-template-columns: 1fr; text-align:left; }
            .hero .author { text-align:left; margin-top:10px; }
        }
        @media (max-width: 768px) {
            .nav-menu{display: none;}
            nav.primary { display:none; }
            .mobile-toggle { display:block; }
            .content{width: 80%;}
            .hero { padding: 64px 0 44px; }
            header { padding: .6rem 0; }
        }

        /* small helpers */
        .muted { color:#6b6b6b; font-size:0.95rem; }
        .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
   



















        