/* =====================================================
   Piloto por Um Dia — Aero Clube de Braga
   Aviation-themed design system
   Brand colors derived from Aeroclube logo:
     Navy   #003c64   Gold #f0b400
   Plus aviation palette: sky, white, silver, deep navy.
   ===================================================== */

:root {
  --navy-900: #021a2e;
  --navy-800: #052744;
  --navy-700: #0b3a5e;
  --navy-600: #0f4878;   /* primary brand */
  --navy-500: #1a5e94;
  --sky-400:  #4aa3d9;
  --sky-300:  #79c2eb;
  --sky-200:  #b9deef;
  --sky-100:  #e8f4fb;
  --gold-500: #f0b400;   /* brand accent */
  --gold-400: #ffc733;
  --gold-100: #fff5d6;
  --silver:   #c9d2da;
  --silver-2: #e6ebf0;
  --bg:       #ffffff;
  --bg-soft:  #f4f8fb;
  --ink:      #0a1726;
  --ink-2:    #2c3e54;
  --muted:    #5a6b7d;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(2,26,46,.08);
  --shadow:    0 14px 40px rgba(2,26,46,.12);
  --shadow-lg: 0 30px 80px rgba(2,26,46,.18);

  --container: 1200px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--gold-500); }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
.center { text-align: center; }
.subtitle { color: var(--muted); max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.light { color: rgba(255,255,255,.85) !important; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.col-text p {
  text-align: justify;
}

.col-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-500);
  padding: 6px 12px;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.kicker.center { display:block; width: max-content; margin: 0 auto 1rem; }
.kicker.light { color: var(--gold-400); border-color: var(--gold-400); }

.inclusoes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-type: disc;
  padding-left: 20px;
}

.features-list {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.features-list ul {
  list-style: disc;
  padding-left: 20px;
  max-width: 370px;
  text-align: justify;
}

@media (max-width: 768px) {
  .features-list {
    flex-direction: column;
    align-items: center;
    text-align: justify;
  }

  .features-list ul {
    width: 100%;
    max-width: 350px;
  }
}

/* ===== Aviation pattern overlay ===== */
.bg-aviation {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(122,194,235,.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(240,180,0,.05), transparent 50%);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  box-shadow: 0 10px 30px rgba(240,180,0,.4);
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
}
.btn-primary:hover { transform: translateY(-2px); color: var(--navy-900); box-shadow: 0 14px 34px rgba(240,180,0,.55); }
.btn-outline {
  background: transparent;
  border-color: var(--navy-600);
  color: var(--navy-600);
}
.btn-outline:hover { background: var(--navy-600); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; color: var(--navy-900); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--silver-2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; }
.nav a {
  font-weight: 500;
  color: var(--navy-800);
  font-size: .95rem;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; background: var(--gold-500); transition: right .3s ease;
}
.nav a:hover::after { right: 0; }
.header-cta { }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); display: block; }

@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 22px 24px;
    border-bottom: 1px solid var(--silver-2);
    box-shadow: var(--shadow-sm);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at top, rgba(2,26,46,.25) 0%, rgba(2,26,46,.7) 60%, rgba(2,26,46,.95) 100%);
}
.hero-content {
  padding: 120px 24px 140px;
  max-width: 880px;
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8rem; letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(240,180,0,.12);
  border: 1px solid rgba(240,180,0,.4);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 640px; margin-top: 16px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; text-align: center;}
.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px; margin-top: 56px; max-width: 560px;
}
.hero-meta div {
  border-left: 2px solid var(--gold-500);
  padding: 4px 0 4px 16px;
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
}
.hero-meta span { color: rgba(255,255,255,.7); font-size: .9rem; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.hero-scroll span {
  display: block; width: 4px; height: 8px; background: var(--gold-400);
  border-radius: 2px; margin: 6px auto 0; animation: scroll 1.6s infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

/* ===== Stats ===== */
.stats {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(240,180,0,.15), transparent 40%);
}
.stats-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--gold-400);
}
.stat-label {
  display: block;
  margin-top: 6px;
  letter-spacing: .15em; text-transform: uppercase; font-size: .8rem;
  color: rgba(255,255,255,.75);
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ===== Sections ===== */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-700));
  color: #fff; 
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .subtitle { color: rgba(255,255,255,.7); }

/* Two-column layout */
.two-col {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

.media-stack {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.media-stack img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover;
}
.media-stack img:nth-child(2) { transform: translateY(36px); }

.narrow-text .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Video ===== */
.video-wrap { max-width: 900px; margin: 0 auto; }
.video-frame {
  position: relative;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.1);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.video-center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-center iframe {
  width: 100% !important;
  max-width: 600px !important;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

.video-center .btn-primary {
  display: inline-block;
}

/* opcional: melhorar em desktop */
@media (min-width: 768px) {
  .video-center iframe {
    max-width: 400px;
  }
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; margin-top: 60px;
  row-gap: 90px;
  column-gap: 50px;
}

.testimonial {
  background: #fff;
  text-align: justify;
  border: 1px solid var(--silver-2);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  color: #111;
  padding: 60px 20px 24px;
  border-radius: 16px;
  text-align: center;
}

.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-500);
  position: absolute; top: 8px; left: 18px; opacity: .35;
}

.testimonial p { margin: 8px 0 16px; color: var(--ink-2); text-align: justify;}
.testimonial footer { color: var(--navy-700); font-size: .9rem; }
@media (max-width: 880px) { .testimonial-grid { grid-template-columns: 1fr; } }

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  display: block;
  margin: 0 auto 14px;
  border: 3px solid var(--gold-500);
  box-shadow: 0 10px 24px rgba(240,180,0,.25);
  top: -50px; 
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Features ===== */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px;
}
.feature {
  background: #fff;
  border: 1px solid var(--silver-2);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold-500); box-shadow: var(--shadow); }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-100), #fff);
  border: 1px solid var(--silver-2);
  display: grid; place-items: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}
@media (max-width: 880px) { .features { grid-template-columns: 1fr; } }

.feature-icon i {
  font-size: 40px;
  color: #00275c;
}

.btn-center {
  text-align: center;
}

td {
  vertical-align: top;
  width: 50%;
}
table {
  border-spacing: 70px;
  width: 90%;
  text-align: justify;
}



/* ===== Instructors ===== */
.instructors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px;
}

@media (max-width: 768px) {
    .instructors {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.instructor {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--silver-2);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.instructor:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.instructor img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.instructor h4 { color: var(--navy-800); margin-bottom: 0px; padding: 20px; border: 0px solid #fff;}
.instructor p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .instructors { grid-template-columns: repeat(2,1fr); } }
.instructor p {
  padding: 20px;
  border: 0px solid #fff;
  margin-top: 0px;
}

/* ===== Pricing ===== */
.pricing {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px;
}
.plan {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--silver-2);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan img { aspect-ratio: 16/9; object-fit: cover; }
.plan-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; color: var(--navy-800) }
.section-dark .plan-body h3 {
  color: var(--navy-700);
}
.plan-tag {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-500); margin: 0;
}
.price {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 700;
  color: var(--navy-800);
  margin-top: auto;
}
.plan-featured {
  border-color: var(--gold-500);
  box-shadow: 0 20px 50px rgba(240,180,0,.18);
}
.plan-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--gold-500); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 700;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.notes {
  margin-top: 28px;
  background: var(--sky-100);
  border-left: 4px solid var(--sky-400);
  padding: 18px 22px;
  border-radius: 8px;
  text-align: justify;
  font-size: .9rem;
  color: var(--ink-2);
}
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img {
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.08); }
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2,1fr); } }

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.carousel-wrapper button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  background: var(--navy-700); /* azul escuro */
  color: #fff;

  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.carousel-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.prev {
  left: -70px;
}

.next {
  right: -70px;
}

@media (max-width: 768px) {
  .carousel-wrapper button {
    display: none;
  }
}

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details {
  background: #fff;
  border: 1px solid var(--silver-2);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy-800);
  font-family: var(--font-display);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--gold-500);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--ink-2); }

/* ===== Contact / Map ===== */

.contact-grid { align-items: stretch; }
.contact-info {
  display: flex; flex-direction: column; gap: 8px;
  margin: 20px 0;
  font-size: 1.1rem;
}

.contact-info a { color: var(--gold-400); }
.contact-info a:hover { color: #fff; }
.ready {
  font-family: var(--font-display); color: var(--gold-400);
  margin: 24px 0 12px; font-size: 1.6rem;
}

.map-wrap {
  border-radius: var(--radius-lg); 
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  height: 402px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.fa-brands {
  font-size: 26px;
  margin-right: 12px;
  color: var(--gold-500);
  transition: transform .2s ease, color .2s ease;
}

.fa-brands:hover {
  transform: translateY(-3px);
  color: #fff;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 40px 0;
  text-align: center;
}
.footer-logo { height: 56px; margin: 0 auto 16px; filter: brightness(1.05); }
.site-footer p { margin: 4px 0; font-size: .9rem; }
.muted { color: rgba(255,255,255,.4); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 100;
  background: var(--navy-900); color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 720px; margin: 0 auto;
}
.cookie-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px;
}
.cookie-inner p { margin: 0; font-size: .9rem; flex: 1; }
@media (max-width: 600px) { .cookie-inner { flex-direction: column; align-items: flex-start; } }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
