/*
CTC Separate Stylesheet
Updated: 2026-05-29
*/

/* =============================================
   AU LAC GRANDSON — Custom Theme Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:ital,wght@0,400;0,700;0,900;1,900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ---- Variables ---- */
:root {
  --al-navy:   #0b1f3a;
  --al-gold:   #d9b45b;
  --al-orange: #F47B20;
  --al-yellow: #F9C03A;
  --al-green:  #3DFFA0;
  --al-light:  #FFF8EF;
}

/* ---- Base ---- */
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--al-light);
  color: var(--al-navy);
}

h1, h2, h3, h4, h5, h6, .wp-block-heading {
  font-family: 'Unbounded', sans-serif;
  color: var(--al-navy);
  line-height: 1.05;
}
h1 { font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
h2 { font-weight: 900; }
h3 { font-weight: 700; }

a { color: var(--al-orange); text-decoration: none; }
a:hover { opacity: 0.8; }

/* ---- Boutons WP ---- */
.wp-block-button__link,
.wp-element-button {
  background-color: var(--al-orange) !important;
  color: #fff !important;
  border-radius: 100px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  border: none !important;
  padding: 0.9rem 2rem !important;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
  background-color: var(--al-navy) !important;
  color: var(--al-gold) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--al-navy) !important;
  border: 2px solid var(--al-navy) !important;
}

/* ---- Navigation ---- */
.wp-block-navigation {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.wp-block-navigation a { color: var(--al-navy) !important; opacity: 0.55; }
.wp-block-navigation a:hover { opacity: 1; }

/* ---- Header ---- */
.wp-block-template-part header,
header.wp-block-template-part {
  background: rgba(255, 248, 239, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 180, 91, 0.2);
}

/* ---- Footer ---- */
.wp-block-template-part footer,
footer.wp-block-template-part {
  background: var(--al-navy);
  color: rgba(255,255,255,0.3);
}
.wp-block-template-part footer a,
footer.wp-block-template-part a { color: rgba(255,255,255,0.3); }

/* ---- Utilitaires couleurs ---- */
.has-navy-background-color   { background-color: var(--al-navy) !important; }
.has-gold-background-color   { background-color: var(--al-gold) !important; }
.has-orange-background-color { background-color: var(--al-orange) !important; }
.has-yellow-background-color { background-color: var(--al-yellow) !important; }
.has-green-background-color  { background-color: var(--al-green) !important; }
.has-light-background-color  { background-color: var(--al-light) !important; }
.has-navy-color   { color: var(--al-navy) !important; }
.has-gold-color   { color: var(--al-gold) !important; }
.has-orange-color { color: var(--al-orange) !important; }
.has-green-color  { color: var(--al-green) !important; }

/* ---- Masquer titre page Landing V2 ---- */
.page-id-46 .wp-block-post-title,
.page-id-46 h1.entry-title,
.page-id-46 .entry-header { display: none !important; }

/* =============================================
   HERO
   ============================================= */
.hero-outer,
.alignfull.hero-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  margin-block-start: 0 !important;
}
.hero {
  background: var(--al-light);
  padding: 40px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 0vh;
}
.hero-left {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(40px, 6.5vw, 82px);
  font-weight: 900;
  color: var(--al-navy);
  line-height: .92;
  letter-spacing: -.04em;
  margin: 0;
}
.hero-title em { font-style: italic; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--al-orange);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--al-navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 40px;
  border: 2px solid var(--al-navy);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.btn-secondary:hover { background: rgba(11,31,58,.06); opacity: 1; }
.hero-img {
  order: 2;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img img {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 60px rgba(11,31,58,.12));
}

.hero {
  grid-template-columns: 1fr 1.4fr;
}

/* Fix TwentyTwentyFour layout constraints */
.wp-block-post-content .hero,
.is-layout-constrained .hero {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.hero-left { order: 1 !important; }
.hero-img  { order: 2 !important; }

.wp-block-post-content .hero-outer,
.is-layout-constrained .hero-outer,
.is-layout-constrained .meteo-outer,
.is-layout-constrained .ae-outer,
.is-layout-constrained .part-outer,
.is-layout-constrained .nl-outer {
  max-width: none !important;
  margin-left: -50vw !important;
  left: 50% !important;
  width: 100vw !important;
  position: relative !important;
}

/* Fix spacer TwentyTwentyFour */
.page-id-46 .wp-block-group.has-global-padding:first-child .wp-block-spacer,
.home .wp-block-group.has-global-padding:first-child .wp-block-spacer {
  display: none !important;
}

/* Fix margin-block-start TwentyTwentyFour */
.hero-outer { margin-block-start: 0 !important; }

/* Masquer titres page home */
.home .wp-block-post-title,
.home h1.entry-title,
.home .entry-header { display: none !important; }

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr !important;
    padding: 40px 20px !important;
    min-height: auto !important;
    gap: 24px !important;
  }
  .hero-left {
    order: 2 !important;
    width: 100% !important;
  }
  .hero-img {
    order: 1 !important;
    width: 180px !important;
    max-width: 180px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  .hero-img img {
    width: 100% !important;
    max-width: 180px !important;
  }
  .hero-title {
    font-size: clamp(36px, 10vw, 56px) !important;
  }
  .hero-btns {
    flex-direction: column !important;
  }
  .btn-primary, .btn-secondary {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* =============================================
   METEO
   ============================================= */
.meteo-outer,
.alignfull.meteo-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-block-start: 0 !important;
}
.meteo-wrap {
  background: var(--al-light);
  padding: 0 8vw 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.meteo-card {
  background: var(--al-navy);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 420px;
  width: 70%;
}
.meteo-location {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,248,239,.45);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.meteo-temp {
  font-family: 'Unbounded', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--al-gold);
  line-height: 1;
}
.meteo-unit { font-size: 26px; vertical-align: super; }
.meteo-desc { font-size: 14px; color: rgba(255,248,239,.55); margin-top: 6px; }
.meteo-rows { margin-top: 20px; display: flex; flex-direction: column; }
.meteo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,248,239,.08);
  font-size: 13px;
}
.meteo-row span:first-child { color: rgba(255,248,239,.5); }
.v-green { color: var(--al-green); font-weight: 500; }
.v-gold  { color: var(--al-gold);  font-weight: 500; }
.v-white { color: var(--al-light); font-weight: 500; }
.meteo-source { font-size: 11px; color: rgba(255,248,239,.22); text-align: right; margin-top: 12px; }
.meteo-spin { color: rgba(255,248,239,.35); font-size: 13px; text-align: center; padding: 24px 0; }

@media (max-width: 600px) { .meteo-wrap { padding: 0 24px 48px; } .meteo-card { width: 100%; } }

/* =============================================
   EVENEMENTS
   ============================================= */
.ae-outer,
.alignfull.ae-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-block-start: 0 !important;
}
.ae-wrap {
  background: var(--al-light);
  padding: 40px 8vw;
  max-width: 1400px;
  margin: 0 auto;
}
.ae-head { text-align: center; margin-bottom: 2rem; }
.ae-supra {
  font-size: 13px;
  font-weight: 500;
  color: var(--al-gold);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.ae-h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--al-navy);
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
}
.ae-div { width: 36px; height: 2px; background: var(--al-gold); margin: .6rem auto 0; border-radius: 2px; }
.ae-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
@media (max-width: 480px) { .ae-grid { grid-template-columns: 1fr; } }
.ae-card {
  background: var(--al-navy);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(217,180,91,.15);
  transition: transform .2s, border-color .2s;
  cursor: pointer;
}
.ae-card:hover { transform: translateY(-3px); border-color: rgba(217,180,91,.45); }
.ae-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.ae-img-ph { width: 100%; aspect-ratio: 3/2; background: #0d2a4a; display: flex; align-items: center; justify-content: center; }
.ae-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.ae-dates { display: flex; flex-wrap: wrap; gap: 5px; }
.ae-date-b { display: inline-flex; align-items: center; gap: 4px; background: rgba(217,180,91,.12); border: 1px solid rgba(217,180,91,.25); border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 500; color: var(--al-gold); }
.ae-time-b { display: inline-flex; align-items: center; gap: 4px; background: rgba(249,192,58,.08); border: 1px solid rgba(249,192,58,.2); border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 500; color: var(--al-yellow); }
.ae-multiday { display: inline-flex; align-items: center; gap: 4px; background: rgba(61,255,160,.08); border: 1px solid rgba(61,255,160,.2); border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 500; color: var(--al-green); }
.ae-title { font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 700; color: var(--al-light); line-height: 1.45; margin: 2px 0; }
.ae-desc { font-size: 12px; color: rgba(255,248,239,.58); line-height: 1.6; flex: 1; }
.ae-cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--al-gold); background: none; border: none; padding: 0; cursor: pointer; text-decoration: none; }
.ae-sk { background: var(--al-navy); border-radius: 12px; overflow: hidden; border: 1px solid rgba(217,180,91,.08); }
.ae-sk-img { width: 100%; aspect-ratio: 3/2; background: rgba(255,255,255,.04); animation: aepulse 1.4s infinite; }
.ae-sk-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.ae-sk-l { height: 9px; border-radius: 4px; background: rgba(255,255,255,.06); animation: aepulse 1.4s infinite; }
@keyframes aepulse { 0%,100%{ opacity: .4; } 50%{ opacity: .9; } }
.ae-err { grid-column: 1/-1; text-align: center; padding: 2rem; color: rgba(255,248,239,.45); font-size: 13px; background: var(--al-navy); border-radius: 12px; }

/* =============================================
   PARTENAIRES
   ============================================= */
.part-outer,
.alignfull.part-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-block-start: 0 !important;
}
.part-wrap {
  background: var(--al-navy);
  padding: 60px 8vw;
  max-width: 1400px;
  margin: 0 auto;
}
.part-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,248,239,.4);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}
.part-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.part-grid img { height: 40px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; transition: opacity .2s; }
.part-grid img:hover { opacity: 1; }
@media (max-width: 480px) { .part-grid { gap: 24px 32px; } .part-grid img { height: 28px; } }

/* =============================================
   CONTACT
   ============================================= */
.nl-outer,
.alignfull.nl-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-block-start: 0 !important;
}
.nl-wrap {
  background: var(--al-light);
  padding: 80px 8vw;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 600px) { .nl-wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; } }
.nl-title { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 900; color: var(--al-navy); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 20px; }
.nl-contact-title { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 900; color: var(--al-navy); margin-bottom: 16px; }
.nl-contact-item { font-size: 14px; color: var(--al-navy); margin-bottom: 10px; }
.nl-contact-item a { color: var(--al-navy); text-decoration: none; border-bottom: 1px solid rgba(11,31,58,.25); }
.nl-contact-item a:hover { border-color: var(--al-gold); color: var(--al-gold); }
.nl-social { display: flex; gap: 12px; margin-top: 20px; }
.nl-social a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--al-navy); text-decoration: none; padding: 8px 16px; border-radius: 40px; border: 1px solid rgba(11,31,58,.2); transition: all .15s; }
.nl-social a:hover { background: var(--al-navy); color: var(--al-light); opacity: 1; }

.wp-block-template-part footer h2,
.wp-block-template-part footer h3,
.wp-block-template-part footer p,
footer.wp-block-template-part h2,
footer.wp-block-template-part h3,
footer.wp-block-template-part p {
  color: rgba(255,248,239,.8) !important;
}



.ae-supra {
  font-size: 13px;
  letter-spacing: .15em;
}

.ae-h2 {
  font-size: 28px;
  letter-spacing: -.03em;
}

@media (max-width: 768px) {
  .hero,
  .wp-block-post-content .hero,
  .is-layout-constrained .hero,
  .entry-content .hero {
    grid-template-columns: 1fr !important;
    padding: 40px 20px !important;
    min-height: auto !important;
    gap: 24px !important;
  }
  .hero-left { order: 2 !important; }
  .hero-img {
    order: 1 !important;
    max-width: 200px !important;
    margin: 0 auto !important;
  }
  .hero-title { font-size: clamp(36px, 10vw, 56px) !important; }
  .btn-primary, .btn-secondary { justify-content: center !important; }
}



