/* Muraux d’Art Lyon – Playful Dynamic CSS Stylesheet */
/* ------------------------------------------------- */
/*---------- CSS RESET & BASE STYLES ---------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #243447;
  background: #FFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #F3F0EC;
  position: relative;
  overflow-x: hidden;
}

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

img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #3491FF;
  text-decoration: none;
  transition: color .20s cubic-bezier(.4,.22,.4,1.1);
}
a:focus {
  outline: 2px solid #FFD64A;
  outline-offset: 2px;
}

/*----------------- PLAYFUL DYNAMIC VARIABLES ---------------*/
:root {
  --primary: #243447;
  --secondary: #8CB4A3;
  --accent: #F3F0EC;
  --brand-yellow: #FFD64A;
  --brand-pink: #F687B0;
  --brand-blue: #3491FF;
  --brand-green: #79E17B;
  --brand-orange: #FFB454;
  /* Fallbacks */
  --btn-shadow: 0 3px 12px rgba(52,145,255,0.12);
  --card-shadow: 0 6px 30px rgba(73,97,140,.16);
  --small-radius: 14px;
  --card-radius: 20px;
}

/* ----------- TYPOGRAPHY: playful & energetic ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  line-height: 1.10;
  color: var(--brand-blue);
  font-family: 'Montserrat', cursive, Arial, sans-serif;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--brand-pink);
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--brand-green);
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary);
}
p, li, span, label, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.2rem;
  color: #111;
  font-family: 'Montserrat', cursive, sans-serif;
  margin-bottom: 24px;
}
strong {
  font-weight: bold;
  color: var(--brand-blue);
}

/* ------------- LAYOUT CONTAINERS ---------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--small-radius);
}
/* Overwrite for hero on index */
.hero {
  background: linear-gradient(-3deg, #8CB4A3 0%, #FFD64A 90%);
  padding-top: 48px;
  padding-bottom: 48px;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 15px 60px 0 rgba(34,115,155,.11);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  animation: heroSplashIn 1200ms cubic-bezier(.52,1.2,.44,1) 1;
}
@keyframes heroSplashIn {
  0% { opacity: 0; transform: translateY(-60px) scale(.93); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/*------------- FLEX PATTERNS - No Grid! ----------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative; /* Only for decorative badge/decors, not main layout */
  background: #FFF;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 22px 22px 28px 22px;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 260px;
  transition: box-shadow .2s, transform .2s;
  will-change: transform, box-shadow;
}
.card:hover {
  box-shadow: 0 10px 36px rgba(52,145,255,0.16);
  transform: translateY(-7px) scale(1.03) rotate(-1deg);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: var(--card-radius);
  box-shadow: 0 3px 16px rgba(52, 145, 255, 0.08);
  margin-bottom: 22px;
  border-left: 7px solid var(--brand-green);
  position: relative;
  animation: floatUp .9s cubic-bezier(.33,1.34,.46,.93) 1;
}
@keyframes floatUp {
  0% { opacity:0; transform: translateY(56px) scale(.97) rotate(1deg); }
  100% { opacity:1; transform: translateY(0) scale(1.02); }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*------------------ HEADER & NAVIGATION -------------------*/
header {
  background: #FFF;
  box-shadow: 0 2px 10px 0 rgba(36,52,71,0.03);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 18px 24px;
}
.logo-link img {
  height: 52px;
  max-width: 110px;
  transition: transform .22s cubic-bezier(.5,1,.54,.92);
}
.logo-link:hover img {
  transform: scale(1.09) rotate(-2deg);
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.02rem;
  color: var(--primary);
  padding: 8px 13px;
  border-radius: 17px;
  transition: background .18s, color .18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}
.main-nav .btn-primary {
  background: var(--brand-pink);
  color: #FFF !important;
  font-weight: bold;
  border-radius: 18px;
  padding: 10px 23px;
  box-shadow: var(--btn-shadow);
  transition: background .15s, box-shadow .22s, color .2s;
}
.main-nav .btn-primary:hover {
  background: var(--brand-blue);
  color: #FFF;
}
.main-nav .btn-primary:active {
  background: var(--primary);
  color: #FFF;
}

/* Mobile nav overrides hidden by default */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-yellow);
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(73,97,140,0.06);
  transition: background .15s, color .15s, transform .16s;
  z-index: 105;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-blue);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; left: 0; height: 100vh;
  background: rgba(36,52,71,0.96);
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.68,-0.2,.31,1.25);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-pink);
  color: #FFF;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 24px 18px 10px 0;
  box-shadow: 0 2px 15px rgba(246,135,176,0.13);
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 34px 40px 34px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.25rem;
  padding: 16px 8px 16px 16px;
  border-radius: 12px;
  background: transparent;
  transition: background .16s, color .16s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

/* Show burger on mobile, hide main nav */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/*--------------- BUTTONS & UI ELEMENTS -----------------*/
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 1.11rem;
  border-radius: 19px;
  cursor: pointer;
  min-height: 45px;
  padding: 10px 25px;
  margin-top: 15px;
  margin-bottom: 10px;
  box-shadow: 0 3px 16px rgba(36,52,71,0.06);
  transition: background .2s, color .2s, transform .18s, box-shadow .25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-blue);
  color: #FFF;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 7px 24px var(--brand-blue, #3491FF, 0.21);
}
.btn-secondary {
  background: var(--brand-yellow);
  color: var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-pink);
  color: #FFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 24px var(--brand-pink, #F687B0, 0.17);
}

/*---------------- LISTS & ICONIC FEATURES -----------------*/
ul, ol {
  list-style: none;
}
.features-list, .services-preview-list, .portfolio-categories, .project-categories, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  margin-bottom: 18px;
}
.features-list li, .services-preview-list li, .services-list li, .project-categories li, .portfolio-categories li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(140,180,163,0.07);
  padding: 11px 17px 11px 14px;
  font-size: 1.08rem;
  color: var(--primary);
  min-width: 180px;
  font-family: 'Montserrat', sans-serif;
}
.features-list img,
.services-preview-list img, .services-list img, .portfolio-categories img, .project-categories img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  filter: drop-shadow(0 2px 4px rgba(36,52,71,0.11));
}
.portfolio-categories li {
  background: var(--brand-green);
  color: var(--primary);
  font-weight: 700;
}

/*------------------- TESTIMONIALS ----------------------*/
.testimonials-preview {
  background: linear-gradient(91deg, #F3F0EC, #FFD64A 30%, #F687B0 110%);
  border-radius: 25px;
  box-shadow: 0 2px 14px rgba(52,145,255,0.08);
}

.testimonial-card {
  background: #FFF;
  border-left: 7px solid var(--brand-green);
  color: #111;
  box-shadow: 0 6px 28px rgba(52,145,255,0.14);
  font-size: 1.06rem;
  position: relative;
  margin-bottom: 30px;
  min-width: 220px;
  max-width: 575px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
}
.testimonial-author {
  font-weight: 600;
  color: var(--brand-blue);
}
.star-rating {
  color: #FFD64A;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.13em;
  filter: drop-shadow(0 2px 6px #ffd64a80);
}

/*-------- FAQ PAGE SPECIFIC ---------*/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #FFF;
  border-radius: var(--small-radius);
  box-shadow: 0 2px 10px rgba(140,180,163,0.08);
  padding: 24px 19px 22px 26px;
  transition: box-shadow .2s, transform .23s;
}
.faq-item:hover {
  box-shadow: 0 7px 24px #F687B040;
  transform: translateY(-4px) scale(1.02) rotate(-2deg);
}

/*-------- CTA / Sectional Styles ---------*/
.cta-section {
  background: linear-gradient( 91deg, #FFD64A, #8CB4A3 81%);
  border-radius: 22px;
  min-height: 140px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 26px rgba(124,180,163,0.12);
  animation: bounceIn 1.2s .12s cubic-bezier(.35,2,.6,1) 1;
}
@keyframes bounceIn {
  0%   { transform: scale(.87) translateY(40px); opacity: 0.3; }
  90%  { transform: scale(1.03) translateY(-13px); }
  100% { transform: scale(1) translateY(0); opacity:1; }
}

.thank-you {
  background: linear-gradient(92deg,#8CB4A33B, #FFF 77%);
  border-radius: 22px;
  box-shadow: 0 6px 25px #F687B012;
  text-align: center;
  animation: floatUp .8s cubic-bezier(.33,1.34,.46,.93) 1;
}

.contact-details-block {
  background: var(--brand-green);
  color: var(--primary);
  border-radius: 16px;
  padding: 16px 22px;
  margin-top: 20px;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-details-block img {
  width: 20px; height: 20px; margin-right: 8px;
}

/*-------------------- FOOTER -------------*/
footer {
  background: #243447;
  color: #FFF;
  margin-top: 38px;
  padding: 32px 0 12px 0;
  font-size: 1.01rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #FFF !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.04rem;
  background: transparent;
  padding: 3px 9px;
  border-radius: 9px;
  transition: background .14s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-yellow);
  color: var(--primary) !important;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #eaeaea;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.12rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
  filter: brightness(90%) contrast(102%);
}
.footer-signature {
  color: #EEE;
  margin-top: 18px;
  font-size: .99rem;
  letter-spacing: .03em;
}

/*-------------------- COOKIE CONSENT BANNER ------------------*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 999;
  background: #FFF;
  color: var(--primary);
  box-shadow: 0 -6px 24px rgba(73,97,140,.08);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 36px;
  border-radius: 21px 21px 0 0;
  font-size: 1.10rem;
  animation: slideUpBanner .6s cubic-bezier(.31,1.19,.44,1) 1;
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  max-width: 640px;
  line-height: 1.45;
  color: var(--primary);
}
.cookie-banner__actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: var(--brand-blue);
  color: #FFF;
  border: none;
  border-radius: 13px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.03rem;
  padding: 9px 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(52,145,255,.08);
  transition: background .16s, color .17s;
}
.cookie-btn--accept {
  background: var(--brand-green);
  color: #1a4727;
  font-weight: 700;
}
.cookie-btn--reject {
  background: var(--brand-pink);
  color: #FFF;
}
.cookie-btn--settings {
  background: var(--brand-yellow);
  color: var(--primary);
}
.cookie-btn:focus {
  outline: 2px dashed var(--brand-blue);
}
.cookie-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-2px) scale(1.03);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(36,52,71,0.68);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay .4s;
}
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }

.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 6px 30px rgba(52,145,255,0.21);
  padding: 36px 32px 24px 32px;
  min-width: 320px;
  max-width: 92vw;
  animation: scaleInModal .5s cubic-bezier(.61,-0.41,.3,1.44);
}
@keyframes scaleInModal { 0% { transform: scale(.82); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.cookie-modal h2 {
  font-size: 1.27rem;
  color: var(--brand-blue);
  margin-bottom:18px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 26px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-blue);
  width: 20px;
  height: 20px;
}
.cookie-category--required label {
  color: #b0b0b0;
  font-style: italic;
  font-size: .98em;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 9px;
}

/*------------------- ANIMATIONS & MICRO-INTERACTIONS -------------------*/
.card, .faq-item {
  transition: box-shadow 0.18s cubic-bezier(.22,.61,.25,1), transform 0.14s cubic-bezier(.21,.95,.53,1.22);
}
.card:hover, .faq-item:hover {
  transform: translateY(-4px) scale(1.025) rotate(-1.5deg);
  box-shadow: 0 14px 30px #F687B030, 0 3px 24px #3491FF1a;
}
.btn-primary, .btn-secondary, .cookie-btn, .main-nav a, .mobile-nav a {
  transition: background .14s, color .12s, transform .15s, box-shadow .22s;
}

/*-------------------- RESPONSIVE DESIGN -----------------*/
@media (max-width: 1100px) {
  .container { max-width: 90vw; }
}
@media (max-width: 920px) {
  .footer-wrapper { flex-direction: column; gap: 20px; }
  .container { max-width: 98vw; padding: 0 12px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section, main > section, .hero { padding: 26px 8px; margin-bottom: 36px; }
  .card-container, .content-grid, .portfolio-categories, .project-categories, .features-list, .services-list, .services-preview-list {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 17px 12px;
    font-size: 1rem;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav { display:none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .container { padding: 0 4px; }
  .footer-wrapper { padding: 0 0 32px 0; }
}

/*----------------- UTILITY CLASSES ---------------------*/
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 22px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 12px !important; }
.mb-2 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }

/* =========== END STYLES =========== */