/* Syrafin — base, variáveis e layout */
:root {
  --primary: #1F5E7A;
  --primary-dark: #17495F;
  --deep: #0F2E3D;
  --deep-darker: #0B1F29;
  --success: #22C55E;
  --success-dark: #1EA850;
  --white: #FFFFFF;
  --background: #F4F6F8;
  --border: #E7EBEF;
  --text: #374151;
  --text-strong: #1B2A33;
  --text-muted: #4B5563;
  --text-light: #DCE9EE;
  --text-footer: #8FA6AF;
  --star: #F5B301;

  --font-title: 'Manrope', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 40px -16px rgba(31, 94, 122, 0.45);
  --shadow-green: 0 20px 40px -16px rgba(34, 197, 94, 0.4);
  --shadow-form: 0 -14px 34px -12px rgba(0,0,0,0.18), 0 30px 60px -24px rgba(0,0,0,0.35);

  --space-section: clamp(56px, 8vw, 88px);
  --space-inline: clamp(20px, 4vw, 32px);
  --max-width: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--success); }

h1, h2, h3 { font-family: var(--font-title); color: var(--text-strong); text-wrap: pretty; }
p { text-wrap: pretty; }

.container { max-width: var(--max-width); margin: 0 auto; }
.section { padding: var(--space-section) var(--space-inline); }
.section--light { background: var(--background); }
.section--white { background: var(--white); }
.section--deep { background: var(--deep); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head--wide { margin-bottom: 56px; }
.eyebrow {
  font-weight: 600; font-size: 16px; letter-spacing: 0.08em;
  color: var(--success); margin: 0 0 12px;
}
.section-title { font-weight: 700; font-size: clamp(26px, 3vw, 34px); margin: 0 0 14px; }
.section-title--light { color: var(--white); }
.section-lead { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--250 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--primary); border-bottom: 1px solid var(--primary-dark);
}
.site-header__inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 14px var(--space-inline);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 50px; width: auto; display: block; margin-left: -20px; }
.main-nav { display: flex; align-items: center; gap: 32px; font-weight: 500; font-size: 15px; }
.main-nav a, .mobile-nav a { color: var(--white); }
.main-nav a:hover, .mobile-nav a:hover { color: var(--success); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.mobile-nav {
  display: none; flex-direction: column; padding: 8px var(--space-inline) 24px; gap: 16px;
  font-weight: 500; font-size: 16px; border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__cta {
  background: var(--success); color: var(--deep) !important; text-align: center;
  font-weight: 600; padding: 12px; border-radius: var(--radius-pill); margin-top: 4px;
}

/* HERO HOME */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(72px, 11vw, 110px) var(--space-inline) clamp(80px, 12vw, 120px);
}
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,31,41,0.92) 0%, rgba(15,46,61,0.82) 55%, rgba(15,46,61,0.6) 100%);
}
.hero__content { position: relative; max-width: var(--max-width); margin: 0 auto; }
.hero__text { max-width: 620px; }
.hero__title {
  font-weight: 800; font-size: clamp(28px, 6vw, 52px); line-height: 1.15;
  color: var(--white); margin: 0 0 22px;
}
.hero__title span { color: var(--success); }
.hero__lead { font-size: 18px; line-height: 1.6; color: var(--text-light); margin: 0 0 32px; max-width: 480px; }

/* SOBRE */
.about { display: flex; gap: 56px; flex-wrap: wrap; align-items: center; margin-bottom: 64px; }
.about__media { flex: 1 1 380px; min-width: 300px; }
.about__media img {
  width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); display: block;
}
.about__text { flex: 1 1 420px; min-width: 300px; }
.about__text p { font-size: 15.5px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; }
.about__text p:last-child { margin-bottom: 0; }
.values-title { font-weight: 600; font-size: 20px; margin: 0 0 24px; text-align: center; }

/* CONTATO */
.contact { display: flex; gap: 56px; flex-wrap: wrap; align-items: flex-start; }
.contact__info { flex: 1 1 320px; min-width: 280px; }
.contact__title { font-weight: 700; font-size: clamp(26px, 3vw, 32px); color: var(--success); margin: 0 0 20px; }
.contact__label { font-size: 15px; color: #B9CCD3; margin: 0 0 6px; }
.contact__email { color: var(--white); font-weight: 600; font-size: 17px; }
.contact__email:hover { color: var(--success); }
.contact__socials { display: flex; gap: 12px; margin-top: 28px; }

/* FOOTER */
.site-footer { background: var(--deep-darker); padding: clamp(44px, 7vw, 64px) var(--space-inline) 28px; }
.site-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 32px; margin-bottom: 48px;
}
.site-footer img { height: 32px; width: auto; display: block; margin-bottom: 12px; }
.site-footer__tagline { font-size: 14px; color: var(--text-footer); margin: 0 0 18px; }
.site-footer__heading {
  font-family: var(--font-title); font-weight: 600; font-size: 13px; letter-spacing: 0.05em;
  color: var(--white); margin: 0 0 16px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14px; color: var(--text-footer); }
.site-footer a:hover { color: var(--success); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.site-footer__bottom p { font-size: 13px; color: #6E848C; margin: 0; }
.site-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__legal a { font-size: 13px; color: #6E848C; }
