/* ==========================================================================
   FACULDADE DAMAS DA INSTRUÇÃO CRISTÃ (FADIC)
   Landing Page Simplificada - Encerramento das Atividades
   Cores Oficiais: Azul-Petróleo (#213f4a, #1f3b46) e Amarelo Ouro (#f8ab1f)
   ========================================================================== */

:root {
  /* Brand Palette from Official Closure Banner */
  --petrol-main: #213f4a;
  --petrol-dark: #19313a;
  --petrol-deep: #13242b;
  --petrol-hero: #1f3b46;
  --petrol-light: #2b515f;
  --petrol-subtle: #e8eff2;

  --yellow-main: #f8ab1f;
  --yellow-hover: #e59a11;
  --yellow-dark: #cc8400;
  --yellow-light: #fff8eb;

  /* Neutral Tones */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --footer-bg: #1e404c;
  --footer-dark: #141414;

  /* Fonts */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.15);
  --shadow-banner: 0 16px 36px rgba(19, 36, 43, 0.35);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   1. Header Top (White Background with Logo & Cursos Dropdown)
   ========================================================================== */
.top-white-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 0.85rem;
}

.top-white-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.top-cursos-menu {
  position: relative;
}

.top-cursos-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.top-cursos-btn:hover {
  color: var(--petrol-main);
  background-color: var(--gray-100);
}

/* ==========================================================================
   2. Sub-Navigation Bar (Dark Petrol #213f4a)
   ========================================================================== */
.petrol-subnav {
  background-color: var(--petrol-main);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.petrol-subnav .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-block: 0.65rem;
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.subnav-links a {
  color: rgba(255, 255, 255, 0.9);
  padding-block: 0.2rem;
  position: relative;
}

.subnav-links a:hover {
  color: var(--yellow-main);
}

.subnav-academic-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--yellow-main);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.subnav-academic-portal i {
  font-size: 1rem;
}

.subnav-academic-portal:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   3. Main Hero / Centerpiece Focus (Matches the Uploaded Screenshot)
   ========================================================================== */
.hero-closure-section {
  background: radial-gradient(circle at 50% 30%, #284c59 0%, #1f3b46 60%, #162d36 100%);
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.15);
}

/* Decorative subtle waves matching the original Damas banner background */
.hero-closure-section::before,
.hero-closure-section::after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 40%;
  pointer-events: none;
  opacity: 0.08;
}

.hero-closure-section::before {
  top: -150px;
  left: -100px;
  background: linear-gradient(135deg, #fff, transparent);
  transform: rotate(25deg);
}

.hero-closure-section::after {
  bottom: -150px;
  right: -100px;
  background: linear-gradient(135deg, var(--yellow-main), transparent);
  transform: rotate(-35deg);
}

/* The Main Announcement Banner Card */
.closure-banner-card {
  position: relative;
  max-width: 880px;
  width: 100%;
  margin-inline: auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  cursor: pointer;
  background-color: var(--petrol-dark);
}

.closure-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.closure-banner-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Fallback/Hybrid overlay styling */
.closure-card-content {
  position: relative;
  background: #18333e url('assets/images/hero-banner.jpg') center/cover no-repeat;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  border-left: 20px solid var(--yellow-main);
}

.closure-card-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(19, 44, 54, 0.88), rgba(19, 44, 54, 0.88));
  z-index: 1;
}

.closure-card-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.closure-logo {
  height: 38px;
  width: auto;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.closure-title {
  color: var(--white);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.closure-link-cta {
  display: inline-block;
  color: var(--white);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.closure-banner-card:hover .closure-link-cta,
.closure-link-cta:hover {
  color: var(--yellow-main);
  border-bottom-color: var(--yellow-main);
}

/* Banner Slider Dots */
.hero-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background-color: var(--petrol-deep);
  width: 10px;
  height: 10px;
  outline: 2px solid rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   4. Golden Yellow Courses Strip (Matches Screenshot Exactly)
   ========================================================================== */
.yellow-courses-strip {
  background-color: var(--yellow-main);
  padding-block: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.yellow-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.yellow-strip-heading {
  color: var(--petrol-main);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.yellow-strip-heading span {
  display: block;
}

.yellow-strip-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.pill-course-btn {
  background-color: var(--white);
  color: var(--petrol-main);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 2px solid transparent;
}

.pill-course-btn:hover {
  background-color: var(--petrol-main);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   5. Official Closure Information & Essential Services Section
   ========================================================================== */
.closure-info-section {
  padding-block: 4rem;
  background-color: var(--white);
}

.info-section-header {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background-color: var(--yellow-light);
  color: var(--yellow-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.info-section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--petrol-main);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.info-section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
}

/* Service Cards Grid */
.closure-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.service-card {
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--petrol-light);
  box-shadow: var(--shadow-md);
  background-color: var(--white);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--petrol-subtle);
  color: var(--petrol-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--petrol-main);
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.service-card-details {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.service-card-details strong {
  color: var(--petrol-main);
  display: block;
  margin-bottom: 0.25rem;
}

.service-card .btn-card-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--petrol-main);
}

.service-card .btn-card-action:hover {
  color: var(--yellow-dark);
  padding-left: 4px;
}

/* Callout Box for Official Communication */
.official-notice-callout {
  background: linear-gradient(135deg, var(--petrol-main) 0%, var(--petrol-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.notice-callout-text h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--yellow-main);
  margin-bottom: 0.5rem;
}

.notice-callout-text p {
  font-size: 0.95rem;
  color: var(--gray-200);
  max-width: 720px;
}

.btn-contact-wp {
  background-color: #25d366;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-contact-wp:hover {
  background-color: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   6. Original Site Footer (Preserving Exact Original Structure & Content)
   ========================================================================== */
.original-footer {
  background-color: var(--footer-bg);
  color: #a0aec0;
  padding-top: 4rem;
  font-size: 0.88rem;
  border-top: 4px solid var(--yellow-main);
}

.original-footer a {
  color: #a0aec0;
}

.original-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--yellow-main);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-address-block,
.footer-lgpd-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  line-height: 1.5;
}

.footer-contact-highlight {
  color: var(--yellow-main);
  font-weight: 700;
}

.footer-bottom-bar {
  padding-block: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.84rem;
}

.footer-logos-container {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-damas-logo {
  height: 38px;
  width: auto;
}

.footer-rede-logo {
  height: 34px;
  width: auto;
  opacity: 0.85;
}

/* ==========================================================================
   7. Modals (<dialog>) with light-dismiss per Modern Web Guidance
   ========================================================================= */
dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 600px;
  width: 90vw;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  background: var(--white);
  color: var(--gray-800);
  margin: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), overlay 0.25s ease allow-discrete, display 0.25s ease allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}

dialog::backdrop {
  background-color: rgba(19, 36, 43, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease, overlay 0.25s ease allow-discrete, display 0.25s ease allow-discrete;
}

dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog[open]::backdrop {
    opacity: 0;
  }
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--gray-50);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--petrol-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  background-color: var(--gray-200);
  transition: all var(--transition);
}

.modal-close-btn:hover {
  background-color: var(--gray-300);
  color: var(--gray-900);
}

.modal-body {
  padding: 1.75rem;
  max-height: 75vh;
  overflow-y: auto;
}

/* Course List in Modal */
.course-list-modal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-item-box {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  background-color: var(--gray-50);
  transition: all var(--transition);
}

.course-item-box:hover {
  border-color: var(--yellow-main);
  background-color: var(--white);
}

.course-item-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--petrol-main);
  margin-bottom: 0.3rem;
}

.course-item-box p {
  font-size: 0.86rem;
  color: var(--gray-600);
}

/* Forms in Modal */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--petrol-main);
  outline: none;
}

.btn-primary-block {
  width: 100%;
  background-color: var(--petrol-main);
  color: var(--white);
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.btn-primary-block:hover {
  background-color: var(--petrol-dark);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .subnav-links {
    gap: 1rem;
    font-size: 0.82rem;
  }

  .yellow-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .yellow-strip-buttons {
    justify-content: center;
  }

  .official-notice-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .btn-contact-wp {
    justify-content: center;
  }
}

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

  .petrol-subnav .container {
    justify-content: center;
  }

  .closure-card-content {
    padding: 2rem 1.25rem;
    border-left-width: 12px;
  }

  .closure-title {
    font-size: 1.25rem;
  }

  .closure-link-cta {
    font-size: 0.98rem;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
