/*
Theme Name: Ramá Seguros
Theme URI: https://ramaseguros.com.br
Description: Tema WordPress profissional para corretora de planos de saúde - Ramá Seguros
Version: 1.0.0
Author: Ramá Seguros
Author URI: https://ramaseguros.com.br
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rama-seguros
Domain Path: /languages
*/

/* ============================================
   Ramá Seguros - Tema WordPress
   Paleta: Azul Marinho (#001F3F) + Dourado (#D3AF37)
   ============================================ */

:root {
  --primary: #001F3F;
  --primary-foreground: #FFFFFF;
  --secondary: #D3AF37;
  --secondary-foreground: #001F3F;
  --background: #FFFFFF;
  --foreground: #1F2937;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --border: #E5E7EB;
  --input: #F3F4F6;
}

/* ============================================
   Reset e Base
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

/* ============================================
   Container e Layout
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* ============================================
   Header e Navegação
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-branding img {
  width: 40px;
  height: 40px;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.btn-cta {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  box-shadow: 0 4px 12px rgba(211, 175, 55, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(0, 31, 63, 0.9) 100%);
  color: white;
  padding: 5rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/hero-background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(211, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Formulário de Cotação
   ============================================ */

.quote-form {
  background-color: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quote-form h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(211, 175, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  box-shadow: 0 4px 12px rgba(211, 175, 55, 0.4);
  transform: translateY(-2px);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* ============================================
   Seções de Conteúdo
   ============================================ */

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--muted);
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ============================================
   Cards
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(211, 175, 55, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--foreground);
}

.card li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
}

/* ============================================
   Seção Sobre
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--foreground);
  line-height: 1.8;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.about-list li svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.about-list h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-list p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin: 0;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Contato
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background-color: var(--muted);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.contact-card svg {
  width: 32px;
  height: 32px;
  color: var(--secondary);
  margin: 0 auto 1rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card .subtitle {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ============================================
   Responsividade
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }

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