/* ==========================================================================
   Portail des Salles des Fetes - Ville de Kinshasa
   Feuille de style principale.

   Organisation :
     1. Variables de la charte graphique
     2. Reset et bases
     3. Utilitaires de grille (compatibles Bootstrap 5 / Odoo)
     4. Composants reutilisables (boutons, cartes, badges...)
     5. Sections de la page d'accueil
     6. Responsive

   NOTE ODOO : les classes de la partie 3 (container, row, col-*, d-flex,
   text-center...) portent volontairement les memes noms que Bootstrap 5,
   deja fourni par le module website. Lors de la migration vers Odoo, cette
   partie peut etre supprimee telle quelle : le markup reste valide.
   ========================================================================== */

/* ==========================================================================
   1. Variables - charte graphique de la Ville de Kinshasa
   ========================================================================== */

:root {
  /* Typographies */
  --fontFamily-heading: 'Cooper Hewitt', sans-serif;
  --fontFamily-body: 'Poppins', sans-serif;
  --fontFamily-accent: 'Great Vibes', cursive;

  /* Couleurs principales */
  --mainColor: #104293;        /* Bleu primaire */
  --mainColorDark: #0A3D7E;    /* Bleu primaire assombri - survols */
  --secondaryColor: #0095C9;   /* Bleu secondaire */
  --accentColor: #DB3832;      /* Rouge */
  --highlightColor: #FFF248;   /* Jaune */

  /* Couleurs secondaires */
  --orange: #ED7016;
  --green: #65832E;
  --darkBlue: #17418A;
  --deepTeal: #09242E;
  --darkGreen: #088832;
  --brown: #894B1E;
  --darkGray: #2A2A2A;
  --slateBlue: #3A4A5E;
  --darkRed: #872025;

  /* Neutres */
  --whiteColor: #ffffff;
  --blackColor: #1f2428;
  --paragraphColor: #555555;

  /* Tailles de police */
  --card-title-fontSize: 22px;
  --fontSize: 16px;

  /* Autres */
  --boxShadow: rgba(80, 79, 79, 0.1) 0px 0px 16px;
  --transition: 0.5s;

  /* Derives - propres a cette maquette */
  --surface: #ffffff;
  --surfaceMuted: #f5f7fb;
  --borderColor: #e4e9f2;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
}

/* ==========================================================================
   2. Reset et bases
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fontFamily-body);
  font-size: var(--fontSize);
  font-weight: 400;
  line-height: 1.7;
  color: var(--paragraphColor);
  background-color: var(--whiteColor);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fontFamily-heading);
  color: var(--blackColor);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 { font-size: 52px; }
h2 { font-size: 38px; }
h3 { font-size: var(--card-title-fontSize); }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--mainColor);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--secondaryColor); }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--secondaryColor);
  outline-offset: 3px;
}

.script { font-family: var(--fontFamily-accent); font-weight: 400; }

/* ==========================================================================
   3. Utilitaires de grille - compatibles Bootstrap 5 (supprimables sous Odoo)
   ========================================================================== */

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}

.row > [class^="col-"],
.row > [class*=" col-"] {
  padding-inline: 12px;
  width: 100%;
  margin-bottom: 24px;
}

.col-lg-3 { flex: 0 0 25%;     max-width: 25%; }
.col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-lg-5 { flex: 0 0 41.6666%; max-width: 41.6666%; }
.col-lg-6 { flex: 0 0 50%;     max-width: 50%; }
.col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-lg-8 { flex: 0 0 66.6666%; max-width: 66.6666%; }
.col-lg-12 { flex: 0 0 100%;   max-width: 100%; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }

/* ==========================================================================
   4. Composants
   ========================================================================== */

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fontFamily-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--mainColor);
  border-color: var(--mainColor);
  color: var(--whiteColor);
}
.btn-primary:hover {
  background-color: var(--mainColorDark);
  border-color: var(--mainColorDark);
  color: var(--whiteColor);
}

.btn-accent {
  background-color: var(--accentColor);
  border-color: var(--accentColor);
  color: var(--whiteColor);
}
.btn-accent:hover {
  background-color: var(--darkRed);
  border-color: var(--darkRed);
  color: var(--whiteColor);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--borderColor);
  color: var(--blackColor);
}
.btn-outline:hover {
  border-color: var(--mainColor);
  color: var(--mainColor);
}

.btn-light {
  background-color: var(--whiteColor);
  border-color: var(--whiteColor);
  color: var(--mainColor);
}
.btn-light:hover {
  background-color: var(--highlightColor);
  border-color: var(--highlightColor);
  color: var(--blackColor);
}

/* --- Badge / pastille --- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background-color: rgba(16, 66, 147, 0.08);
  border: 1px solid rgba(16, 66, 147, 0.15);
  color: var(--mainColor);
  font-size: 13px;
  font-weight: 500;
}
.badge-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accentColor);
}

/* --- Entete de section --- */
.section { padding: 90px 0; }
.section--muted { background-color: var(--surfaceMuted); }

.section-head {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-head p { color: var(--paragraphColor); margin-bottom: 0; }

/* --- Icone carree --- */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: rgba(16, 66, 147, 0.08);
  color: var(--mainColor);
  flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box--accent { background-color: rgba(219, 56, 50, 0.1); color: var(--accentColor); }
.icon-box--orange { background-color: rgba(237, 112, 22, 0.12); color: var(--orange); }
.icon-box--teal  { background-color: rgba(0, 149, 201, 0.12); color: var(--secondaryColor); }
.icon-box--green { background-color: rgba(8, 136, 50, 0.12); color: var(--darkGreen); }

/* --- Carte generique --- */
.card {
  background-color: var(--surface);
  border: 1px solid var(--borderColor);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--boxShadow);
  border-color: rgba(16, 66, 147, 0.25);
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; margin-bottom: 0; }

/* --- Carte d'action (hero + CTA) --- */
.action-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--surface);
  border: 1px solid var(--borderColor);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: var(--transition);
}
.action-card:hover {
  border-color: var(--mainColor);
  box-shadow: var(--boxShadow);
  transform: translateY(-2px);
}
.action-card .eyebrow {
  display: block;
  font-size: 12px;
  color: var(--paragraphColor);
  margin-bottom: 2px;
}
.action-card .title {
  display: block;
  font-family: var(--fontFamily-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--blackColor);
  margin-bottom: 6px;
}
.action-card:hover .title { color: var(--mainColor); }
.action-card .desc {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paragraphColor);
}

/* ==========================================================================
   5. Sections
   ========================================================================== */

/* --- 5.1 En-tete --- */
/* Filet aux couleurs nationales, en echo a celui du logo officiel. */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg,
    var(--secondaryColor) 0 33.33%,
    var(--highlightColor) 33.33% 66.66%,
    var(--accentColor) 66.66% 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--borderColor);
  box-shadow: var(--boxShadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

/* Le logo officiel est un lockup horizontal (sceau + "VILLE DE KINSHASA") :
   il se suffit a lui-meme et n'est accompagne d'aucun texte. Il est donc pose
   a une taille qui laisse le sceau lisible. */
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--blackColor);
}
.main-nav a:hover { color: var(--mainColor); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .link-login { font-size: 14px; font-weight: 500; color: var(--blackColor); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--borderColor);
  border-radius: var(--radius-sm);
  background: var(--whiteColor);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--mainColor);
}

/* --- 5.2 Hero --- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(0, 149, 201, 0.16), transparent 65%),
    radial-gradient(700px 380px at 5% 0%, rgba(255, 242, 72, 0.22), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero .row { align-items: center; }
.hero h1 { margin: 22px 0 18px; }
.hero h1 .highlight { color: var(--accentColor); }
.hero .lead { font-size: 16px; max-width: 520px; margin-bottom: 28px; }

.hero-actions { display: grid; gap: 12px; max-width: 520px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--borderColor);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--paragraphColor);
}
.hero-trust svg { width: 15px; height: 15px; color: var(--darkGreen); flex-shrink: 0; }

/* --- 5.3 Apercu du dossier (mockup) --- */
.preview { position: relative; padding: 10px; }

.preview-card {
  position: relative;
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  border-radius: var(--radius-lg);
  box-shadow: rgba(16, 66, 147, 0.14) 0px 24px 60px;
  padding: 26px;
}
.preview-card .eyebrow {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--paragraphColor);
}
.preview-card h3 { font-size: 19px; margin: 6px 0 2px; }
.preview-card .ref { font-size: 12px; color: var(--paragraphColor); }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: rgba(0, 149, 201, 0.12);
  color: var(--mainColor);
  font-size: 11px;
  font-weight: 600;
}
.status-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background-color: var(--secondaryColor);
}

/* Frise d'etapes */
.steps-track { margin: 26px 0 20px; }
.steps-track .bar {
  position: relative;
  height: 3px;
  background-color: var(--borderColor);
  border-radius: 3px;
}
.steps-track .bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background: linear-gradient(90deg, var(--mainColor), var(--secondaryColor));
  border-radius: 3px;
}
.steps-track ol {
  display: flex;
  justify-content: space-between;
  margin-top: -11px;
  padding: 0;
  list-style: none;
}
.steps-track li { text-align: center; flex: 1; }
.steps-track .pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background-color: var(--mainColor);
  color: var(--whiteColor);
  font-size: 10px;
  font-weight: 600;
  border: 3px solid var(--whiteColor);
}
.steps-track li.is-todo .pin { background-color: var(--borderColor); color: var(--paragraphColor); }
.steps-track .label { display: block; font-size: 10px; margin-top: 6px; }

.preview-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--surfaceMuted);
  font-size: 12px;
}
.preview-note svg { width: 15px; height: 15px; color: var(--mainColor); flex-shrink: 0; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  box-shadow: var(--boxShadow);
  font-size: 12px;
  font-weight: 500;
  color: var(--blackColor);
}
.float-chip svg { width: 15px; height: 15px; }
.float-chip--top { top: -14px; left: -10px; color: var(--darkGreen); }
.float-chip--bottom { bottom: -16px; right: 8px; }
.float-chip--bottom svg { color: var(--orange); }

/* --- 5.4 Types de salles --- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  font-size: 14px;
  font-weight: 500;
  color: var(--blackColor);
  transition: var(--transition);
}
.tag:hover { border-color: var(--mainColor); box-shadow: var(--boxShadow); }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background-color: var(--orange); }
.tag:nth-child(2n) .dot { background-color: var(--secondaryColor); }
.tag:nth-child(3n) .dot { background-color: var(--accentColor); }
.tag:nth-child(5n) .dot { background-color: var(--green); }

.note-line {
  text-align: center;
  font-size: 12px;
  color: #9aa4b2;
  margin-top: 34px;
}

/* --- 5.5 Comment ca marche --- */
.step-card {
  position: relative;
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  height: 100%;
  overflow: hidden;
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--boxShadow); border-color: rgba(16, 66, 147, 0.25); }
.step-card .num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--fontFamily-heading);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: rgba(16, 66, 147, 0.07);
}
.step-card h3 { font-size: 17px; margin: 16px 0 8px; }
.step-card p { font-size: 13.5px; margin-bottom: 0; }
.step-card.is-soon { background-color: var(--surfaceMuted); opacity: 0.85; }
.step-card .soon {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--paragraphColor);
}

.info-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 44px;
  padding: 9px 18px;
  border-radius: 999px;
  background-color: rgba(255, 242, 72, 0.4);
  border: 1px solid rgba(237, 112, 22, 0.3);
  font-size: 13px;
  color: var(--brown);
}
.info-strip svg { width: 15px; height: 15px; flex-shrink: 0; }

/* --- 5.6 Avantages --- */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
}
.feature:hover { box-shadow: var(--boxShadow); transform: translateY(-2px); }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; margin-bottom: 0; }

/* --- 5.7 Accompagnement / paiement --- */
.panel {
  background-color: var(--surfaceMuted);
  border: 1px solid var(--borderColor);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.panel .section-head { margin-bottom: 36px; }
.channel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--fontFamily-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--blackColor);
  margin-bottom: 16px;
}
.channel-title svg { width: 17px; height: 17px; color: var(--mainColor); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  font-size: 13px;
  font-weight: 500;
  color: var(--blackColor);
}

/* --- 5.8 Cadre legal et tarifs --- */
.legal-card {
  background-color: var(--whiteColor);
  border: 1px solid var(--borderColor);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}
.legal-card > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 4px;
}
.legal-card > h3 svg { width: 18px; height: 18px; color: var(--mainColor); flex-shrink: 0; }
.legal-card .sub { font-size: 12.5px; margin-bottom: 18px; }

/* Tarifs : une liste de definitions, et non un <table>, pour rester lisible
   sur mobile sans defilement horizontal et rester editable sous Odoo. */
.rate-list { border-top: 1px solid var(--borderColor); }
.rate-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--borderColor);
  font-size: 13.5px;
}
.rate-list .label { color: var(--blackColor); }
.rate-list .label small { display: block; font-size: 11.5px; color: var(--paragraphColor); }
.rate-list .amount {
  flex-shrink: 0;
  font-family: var(--fontFamily-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--mainColor);
  white-space: nowrap;
}
.rate-list .amount span { font-size: 11px; font-weight: 500; color: var(--paragraphColor); }

.legal-ref {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background-color: rgba(16, 66, 147, 0.05);
  border: 1px solid rgba(16, 66, 147, 0.12);
  font-size: 13px;
}
.legal-ref svg { width: 18px; height: 18px; color: var(--mainColor); flex-shrink: 0; margin-top: 3px; }
.legal-ref strong { color: var(--blackColor); }
.legal-ref .disclaimer {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--paragraphColor);
}

/* --- 5.9 Bandeau d'appel a l'action --- */
.cta {
  padding: 80px 0;
  background: linear-gradient(120deg, var(--mainColor) 0%, var(--darkBlue) 45%, var(--secondaryColor) 100%);
  color: var(--whiteColor);
}
.cta .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.cta h2 { color: var(--whiteColor); }
.cta .lead { color: rgba(255, 255, 255, 0.85); max-width: 620px; margin: 0 auto 44px; }

.cta .action-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  text-align: left;
}
.cta .action-card:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: var(--highlightColor);
  box-shadow: none;
}
.cta .action-card .eyebrow { color: rgba(255, 255, 255, 0.7); letter-spacing: 0; text-transform: none; font-size: 12px; margin-bottom: 2px; }
.cta .action-card .title { color: var(--whiteColor); }
.cta .action-card:hover .title { color: var(--highlightColor); }
.cta .action-card .desc { color: rgba(255, 255, 255, 0.78); }
.cta .icon-box { background-color: rgba(255, 255, 255, 0.16); color: var(--whiteColor); }
.cta .action-card--primary { background-color: var(--accentColor); border-color: var(--accentColor); }
.cta .action-card--primary:hover { background-color: var(--darkRed); border-color: var(--highlightColor); }

/* --- 5.10 Pied de page --- */
.site-footer { background-color: var(--whiteColor); padding: 64px 0 0; border-top: 1px solid var(--borderColor); }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand img { height: 54px; }
.site-footer p { font-size: 13.5px; }
.footer-title {
  font-family: var(--fontFamily-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blackColor);
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 13.5px; color: var(--paragraphColor); }
.footer-links a:hover { color: var(--mainColor); }

.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13.5px;
  margin-bottom: 14px;
}
.footer-contact svg { width: 16px; height: 16px; color: var(--mainColor); flex-shrink: 0; margin-top: 4px; }

.footer-bottom {
  margin-top: 44px;
  padding: 22px 0;
  border-top: 1px solid var(--borderColor);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12px;
  color: #9aa4b2;
}

/* --- Animation d'apparition --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   6. Responsive
   ========================================================================== */

@media (max-width: 991px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .section { padding: 70px 0; }

  .col-lg-3, .col-lg-4, .col-lg-5,
  .col-lg-6, .col-lg-7, .col-lg-8 { flex: 0 0 50%; max-width: 50%; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--whiteColor);
    border-top: 1px solid var(--borderColor);
    border-bottom: 1px solid var(--borderColor);
    padding: 16px 20px 20px;
    box-shadow: var(--boxShadow);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }

  .header-actions .link-login { display: none; }

  .hero { padding: 56px 0 72px; }
  .hero .col-lg-5 { flex: 0 0 100%; max-width: 100%; }
  .hero .col-lg-7 { flex: 0 0 100%; max-width: 100%; }
  .preview { margin-top: 34px; }

  .panel { padding: 34px 24px; }
}

@media (max-width: 767px) {
  h1 { font-size: 33px; }
  h2 { font-size: 26px; }
  .section { padding: 56px 0; }

  .col-lg-3, .col-lg-4, .col-lg-5,
  .col-lg-6, .col-lg-7, .col-lg-8 { flex: 0 0 100%; max-width: 100%; }

  .brand img { height: 34px; }
  .site-footer .brand img { height: 44px; }

  .float-chip--top { left: 0; }
  .float-chip--bottom { right: 0; }
  .steps-track .label { font-size: 9px; }
  .cta { padding: 60px 0; }
}
