@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Roboto+Condensed:wght@400;700&display=swap");

/* =========================
   BASE
========================= */

:root {
  --color-dark: #07000c;
  --color-text: #111;
  --color-light: #fff;
  --color-bg: #f7f5f2;
  --color-purple: #8c159b;
  --color-purple-dark: #14001f;
  --gradient-purple: linear-gradient(90deg, #a70fc9, #d922c4);
  --container-width: 1180px;
  --radius-card: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* =========================
   HERO / HEADER
========================= */

.hero {
  position: relative;
  max-width: var(--container-width);
  min-height: 560px;
  margin: auto;
  overflow: hidden;
  color: var(--color-light);
  background-image: url("../images/header-port.png");
  background-size: cover;
  background-position: center;
}
.hero-home {
  min-height: 560px;
  max-height: 560px;
}

.hero-internal {
  min-height: 180px;
  max-height: 180px;
}
.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 0, 25, 0.58) 0%, rgba(45, 0, 60, 0.25) 40%, rgba(0, 0, 0, 0.05) 100%);
}

.navbar {
  position: relative;
  z-index: 1000;
  height: 115px;
  padding: 24px 38px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo img {
  width: 150px;
}

.menu {
  flex: 1;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  position: relative;
  color: var(--color-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -22px;
  width: 58px;
  height: 4px;
  border-radius: 10px;
  background: #b515d8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.social:hover {
  background: linear-gradient(135deg, #b012d4, #e528c7);
  border-color: transparent;
}

.btn-small {
  padding: 13px 32px;
  border-radius: 999px;
  color: var(--color-light);
  background: linear-gradient(90deg, #b012d4, #e528c7);
  box-shadow: 0 0 20px rgba(210, 20, 220, 0.35);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.burger {
  display: none;
  position: relative;
  z-index: 4000;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-light);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.78);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.menu-backdrop.active {
  visibility: visible;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 38px;
}

.hero-content h1 {
  margin-bottom: 24px;
  color: var(--color-light);
  font-family: "Oswald", sans-serif;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  margin-bottom: 34px;
  color: var(--color-light);
  font-size: 23px;
  line-height: 1.35;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  min-height: 52px;
  padding: 0 30px;
  border-radius: 9px;
  color: var(--color-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient-purple);
  box-shadow: 0 8px 25px rgba(180, 20, 210, 0.4);
}

.btn-primary span {
  margin-left: 10px;
  font-size: 20px;
}

.btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

/* =========================
   SECTIONS / TITRES
========================= */

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

h2 {
  margin-bottom: 24px;
  color: var(--color-purple);
  text-transform: uppercase;
  font-size: 32px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.section-title a {
  color: var(--color-purple);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

/* =========================
   CARTES
========================= */

.featured-grid,
.cards-row {
  display: grid;
  gap: 18px;
}

.featured-grid {
  grid-template-columns: 2fr 1fr 1fr;
}

.cards-row {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 36px;
}

.card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: var(--color-light);
  background-size: cover;
  background-position: center;
}

.card-large {
  grid-row: span 2;
  min-height: 623px;
}

.card-link {
  position: relative;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
  display: block;
}

.card-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.card:hover .card-bg {
  transform: scale(1.18);
}

.card-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  padding: 24px;
  color: var(--color-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2), transparent);
}

.card span {
  color: #d52ee8;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.card h3 {
  margin: 6px 0;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.1;
}

.card p,
.card a {
  margin: 0;
  color: var(--color-light);
  font-size: 14px;
}

.mini,
.news {
  min-height: 300px;
}

/* =========================
   BANDEAU ÉVÉNEMENT
========================= */

.event-banner {
  margin: 32px 0;
  padding: 18px 32px;
  border-radius: 18px;
  color: var(--color-light);
  background: linear-gradient(90deg, #8c159b, #a40eb0);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 28px;
  align-items: center;
}

.event-banner img {
  width: 95px;
  height: 95px;
  border: 3px solid var(--color-light);
  border-radius: 50%;
  object-fit: cover;
}

.event-banner h3 {
  margin: 4px 0;
  text-transform: uppercase;
  font-size: 26px;
}

.banner-info {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.btn {
  padding: 14px 24px;
  border: 1px solid var(--color-light);
  border-radius: 8px;
  color: var(--color-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

/* =========================
   FOOTER DESKTOP
========================= */

.desktop-footer {
  display: block;
}

.mobile-footer {
  display: none;
}

.footer {
  position: relative;
  margin: auto;
  margin-top: 20px;
  overflow: hidden;
  color: var(--color-light);
  background: linear-gradient(90deg, #6b007e, #8f139d, #5a006f);
  max-width: var(--container-width);
}

.footer-wave {
  background: var(--color-bg);
  border-bottom-left-radius: 50% 35px;
  border-bottom-right-radius: 50% 35px;
}

.footer-content {
  max-width: var(--container-width);
  margin: auto;
  padding: 28px 24px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-col {
  min-height: 120px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-col h3 {
  margin-bottom: 14px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col a {
  margin-top: 12px;
  color: var(--color-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
}

.socials {
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
}

.socials a {
  width: 28px;
  height: 28px;
  margin: 0;
  font-size: 15px;
}

.whatsapp {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.weather-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-icon {
  font-size: 34px;
}

.weather strong {
  font-size: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.footer-bottom {
  padding: 0 24px 22px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 13px;
}

.back-top {
  position: absolute;
  right: 28px;
  bottom: 22px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: var(--color-light);
  text-decoration: none;
  font-size: 18px;
  display: grid;
  place-items: center;
}

/* =========================
   FOOTER MOBILE
========================= */

.mobile-footer {
  position: relative;
  min-height: 100vh;
  padding: 42px 28px 110px;
  color: var(--color-light);
  background:
    radial-gradient(circle at 50% 100%, rgba(190, 25, 220, 0.35), transparent 22%),
    linear-gradient(180deg, #31073f 0%, #190621 100%);
}

.mobile-footer .footer-logo {
  margin-bottom: 42px;
}

.footer-menu {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-menu a {
  color: var(--color-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-menu span {
  font-size: 28px;
  line-height: 1;
}

.whatsapp-btn {
  width: 100%;
  height: 54px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  color: var(--color-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-legal {
  margin-top: 52px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.mobile-footer .back-top {
  right: 28px;
  bottom: 112px;
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: 82px;
  padding: 0 12px 8px;
  background: rgba(14, 5, 20, 0.96);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.bottom-nav a {
  color: var(--color-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bottom-nav a span {
  font-size: 22px;
  line-height: 1;
}

.center-logo {
  position: relative;
  top: -18px;
  width: 74px;
  height: 74px;
  margin: auto;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: radial-gradient(circle, #b51ac9 0%, #6b087c 65%);
  box-shadow: 0 0 22px rgba(214, 37, 242, 0.8);
  display: grid !important;
  place-items: center;
}

.center-logo img {
  width: 58px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .hero {
    min-height: 650px;
    background-position: center right;
  }

  .navbar {
    height: auto;
    padding: 22px;
    justify-content: space-between;
    gap: 24px;
  }

  .logo img {
    width: 120px;
  }

  .nav-actions {
    display: none;
  }

  .burger {
    display: block;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 3000;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    padding: 120px 32px 32px;
    background: var(--color-purple-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    transition: right 0.35s ease;
  }

  .menu.open {
    right: 0;
  }

  .hero-content {
    padding: 45px 22px;
  }

  .hero-content p {
    font-size: 19px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-large {
    grid-column: span 2;
    grid-row: auto;
    min-height: 350px;
  }

  .event-banner {
    grid-template-columns: auto 1fr;
  }

  .banner-info,
  .event-banner .btn {
    grid-column: span 2;
  }

  .cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .desktop-footer {
    display: none;
  }

  .mobile-footer {
    display: block;
    padding: 36px 22px 105px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-col {
    padding-right: 0;
    padding-bottom: 22px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    width: 130px;
  }

  .footer-menu a {
    font-size: 15px;
  }

  .whatsapp-btn {
    height: 50px;
    font-size: 13px;
  }

  .bottom-nav {
    height: 76px;
  }

  .bottom-nav a {
    font-size: 9px;
  }

  .bottom-nav a span {
    font-size: 20px;
  }

  .center-logo {
    top: -15px;
    width: 66px;
    height: 66px;
  }

  .center-logo img {
    width: 50px;
  }
}

@media (max-width: 600px) {
  .home-section {
    padding: 28px 16px;
  }

  h2 {
    font-size: 26px;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .featured-grid,
  .cards-row {
    grid-template-columns: 1fr;
  }

  .card-large {
    grid-column: auto;
    min-height: 350px;
  }

  .card h3 {
    font-size: 20px;
  }

  .event-banner {
    grid-template-columns: 1fr;
    padding: 24px;
    text-align: center;
  }

  .event-banner img {
    margin: auto;
  }

  .banner-info,
  .event-banner .btn {
    grid-column: auto;
    padding-left: 0;
    border-left: none;
  }
}
.category-page {
  --bg: #f7f5f2;
  --white: #ffffff;
  --text: #17171d;
  --muted: #66666f;
  --purple: #9c1ea8;

  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  padding: 32px;
  max-width: var(--container-width);
  margin: 0 auto 56px;
}

/* GRID */

.category-page .category-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */

.category-page .category-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.category-page .category-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.category-page .category-card-image {
  height: 220px;
  overflow: hidden;
}

.category-page .category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.category-page .category-card:hover .category-card-image img {
  transform: scale(1.08);
}

.category-page .category-card-content {
  padding: 26px;
  position: relative;
}

.category-page .category-card-content span {
  display: block;
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-page .category-card-content time {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.category-page .category-card-content h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 800;
}

.category-page .category-card-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.category-page .category-card-content strong {
  display: block;
  margin-top: 22px;
  color: var(--purple);
  font-size: 1.6rem;
  text-align: right;
}

/* PAGINATION */

.category-page .category-pagination {
  max-width: 1280px;
  margin: 48px auto 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.category-page .category-pagination a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.category-page .category-pagination a.active {
  background: var(--purple);
  color: white;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .category-page .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .category-page {
    padding: 18px;
  }

  .category-page .category-hero {
    height: 360px;
    margin-bottom: 34px;
  }

  .category-page .category-hero-content {
    left: 26px;
    right: 26px;
    bottom: 32px;
  }

  .category-page .category-hero-content p {
    font-size: 1rem;
  }

  .category-page .category-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-page .category-card-image {
    height: 210px;
  }
}
