/* Effe Franchising — estilos do site */
:root {
  --accent: #00e1bb;
  --accent-ink: #10302a;
  --link: #00806b;
  --link-hover: #005e4f;
  --dark: #414142;
  --darker: #2f2f30;
  --text: #2b2b2c;
  --muted: #4a4a4b;
  --soft: #d6d6d6;
  --light: #f2f4f5;
  --border: #c7cbcd;
  --error: #b3261e;
  --radius: 6px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
input, textarea, button { font: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--darker); color: #fff; }
.section--accent { background: var(--accent); color: var(--accent-ink); }
.section-title { font-size: clamp(30px, 4vw, 40px); font-weight: 900; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head--center { text-align: center; align-items: center; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }
.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--text); padding: 12px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #00c9a7; color: var(--accent-ink); }
.btn--outline { border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--darker); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--darker); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Cabeçalho */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 50; }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.logo img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 2px solid #fff; border-radius: 4px;
  color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 28px;
}
.main-nav a {
  color: #fff;
  font-size: 15px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav .btn { padding: 12px 20px; color: var(--accent-ink); }
.main-nav .btn:hover { color: var(--accent-ink); }

/* Dropdown "Seja um franqueado" */
.has-sub { position: relative; }
.has-sub > button {
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 4px; padding: 12px 20px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
}
.has-sub > button::after { content: " ▾"; }
.submenu {
  display: none;
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 220px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 8px 0;
}
.main-nav .submenu { display: none; flex-direction: column; align-items: stretch; gap: 0; }
.main-nav .has-sub.open .submenu { display: flex; }
.submenu a {
  display: block; padding: 12px 20px;
  color: var(--text); text-transform: none; letter-spacing: 0;
}
.submenu a:hover { background: var(--light); color: var(--link); }

/* Hero */
.hero { background: var(--darker); color: #fff; padding: 96px 0; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 900; }
.hero__text > p:not(.eyebrow) { font-size: 19px; line-height: 1.6; color: var(--soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero__badge { flex: 1 1 320px; display: flex; justify-content: center; }
.hero__badge div {
  width: min(340px, 80vw); aspect-ratio: 1;
  border-radius: 50%; background: var(--dark); border: 10px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.hero__badge img { width: 82%; }

.page-hero { background: var(--darker); color: #fff; padding: 64px 0; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 900; margin-top: 8px; }

/* Marcas */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.brand {
  background: #fff; color: var(--text);
  border-radius: 8px; padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 10px 30px rgba(16,48,42,.15);
}
.brand img { width: 220px; align-self: center; }
.brand h3 { font-size: 24px; font-weight: 900; }
.brand p { color: var(--muted); line-height: 1.65; }
.brand__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; }
.brand__links .link { font-weight: 700; padding: 12px 4px; }

/* Sobre */
.split { display: flex; flex-direction: row; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
.split > :first-child { flex: 1 1 320px; }
.split > :last-child { flex: 2 1 520px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: #fff; border-top: 5px solid var(--accent);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.card h3 {
  font-size: 14px; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; color: var(--link);
}
.card p { font-size: 17px; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.brand-story { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.brand-story + .brand-story { margin-top: 72px; }
.brand-story__logo {
  flex: 0 1 300px; background: #fff; border-radius: 8px; padding: 32px;
  display: flex; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.brand-story__logo img { width: 230px; }
.brand-story__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.brand-story__text h2 { font-size: 30px; font-weight: 900; }

/* Contato */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 28px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item svg { flex: none; margin-top: 2px; }
.contact__item strong { display: block; }

.form {
  flex: 1 1 480px; min-width: 0;
  background: var(--light); border-radius: 8px; padding: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.section--light .form { background: #fff; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form textarea {
  padding: 14px; border: 1px solid var(--border); border-radius: 4px;
  background: #fff; color: var(--text); font-size: 16px; font-weight: 400;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(0,225,187,.5); border-color: var(--link); }
.form .full { grid-column: 1 / -1; }
.form [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; font-weight: 400; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; padding: 16px 40px; font-size: 16px; }
.form-status { grid-column: 1 / -1; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--link-hover); }
.form-status.err { color: var(--error); }

/* Rodapé */
.site-footer { background: var(--dark); color: var(--soft); padding: 40px 0; }
.site-footer .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; }
.site-footer a { color: var(--accent); }
.social { display: flex; gap: 12px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--darker);
  display: flex; align-items: center; justify-content: center;
}
.social a:hover { background: var(--accent-ink); }

/* Mobile */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--dark); padding: 8px 24px 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,.25);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { display: block; padding: 14px 0; border-bottom: 1px solid #555; }
  .has-sub { margin-top: 16px; }
  .has-sub > button { width: 100%; text-align: left; }
  .submenu { position: static; box-shadow: none; margin-top: 8px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .form, .brand { padding: 28px; }
}
