/* Arena Puissance - gradient_modern CSS Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #133252;
  --color-secondary: #ffffff;
  --color-accent: #1CB48A;
  --color-gradient-start: #1CB48A;
  --color-gradient-end: #133252;
  --color-gradient-bg: linear-gradient(135deg, #1CB48A 0%, #133252 100%);
  --color-gradient-bg-light: linear-gradient(120deg, #e6f7f2 0%, #f5faff 100%);
  --color-bg-section: #f5faff;
  --color-bg-card: #ffffff;
  --color-bg-footer: #133252;
  --color-text-main: #133252;
  --color-text-light: #ffffff;
  --color-text-muted: #6b7a90;
  --color-shadow: 0 4px 24px 0 rgba(19, 50, 82, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --z-cookie-banner: 10000;
  --z-mobile-menu: 9999;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background: var(--color-gradient-bg-light);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Header */
header {
  background: var(--color-gradient-bg);
  color: var(--color-text-light);
  box-shadow: var(--color-shadow);
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-accent);
}

.btn-primary {
  background: linear-gradient(90deg, var(--color-accent) 0%, #19a07b 100%);
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 32px;
  box-shadow: 0 2px 12px 0 rgba(28,180,138,0.10);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  margin-left: 20px;
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #19a07b 0%, var(--color-accent) 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(28,180,138,0.18);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-gradient-bg);
  color: var(--color-text-light);
  z-index: var(--z-mobile-menu);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 0 100vw rgba(19,50,82,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Main Layout & Sections */
main {
  width: 100%;
  margin: 0;
  padding: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}
section:nth-child(even) {
  background: var(--color-bg-section);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin: 0 0 12px 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: 2rem;
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--color-text-main);
  font-size: 1.08rem;
  margin: 0 0 12px 0;
}

ul, ol {
  padding-left: 24px;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* Feature Grid & Cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow);
  padding: 28px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(28,180,138,0.13);
  transform: translateY(-4px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(28,180,138,0.13);
  transform: translateY(-4px) scale(1.025);
}

.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;
}
.text-image-section > div {
  flex: 1 1 260px;
  min-width: 220px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7fafc;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px 0 rgba(19,50,82,0.07);
  margin-bottom: 20px;
  max-width: 600px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  color: #1a2636;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card > div:last-child {
  color: #f5b700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(28,180,138,0.13);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.faq-accordion > div {
  background: var(--color-bg-card);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px 0 rgba(19,50,82,0.07);
  padding: 18px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: 0 8px 32px 0 rgba(28,180,138,0.13);
  transform: translateY(-2px) scale(1.01);
}
.faq-accordion strong {
  font-size: 1.08rem;
  color: var(--color-primary);
}
.faq-accordion p {
  margin-top: 8px;
  color: var(--color-text-muted);
}

input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e7ef;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 18px;
  transition: border-color 0.2s;
}
input[type="text"]:focus {
  border-color: var(--color-accent);
  outline: none;
}

/* Footer */
footer {
  background: var(--color-bg-footer);
  color: var(--color-text-light);
  padding: 40px 0 24px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color 0.2s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-accent);
}
footer p {
  color: #e0e7ef;
  font-size: 0.98rem;
  margin: 0;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #f5faff 60%, #e6f7f2 100%);
  color: var(--color-primary);
  box-shadow: 0 -2px 24px 0 rgba(19,50,82,0.10);
  z-index: var(--z-cookie-banner);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: cookieBannerIn 0.6s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 320px;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  cursor: pointer;
  transition: var(--transition);
  margin: 0;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, var(--color-accent) 0%, #19a07b 100%);
  color: var(--color-text-light);
}
.cookie-btn.accept:hover {
  background: linear-gradient(90deg, #19a07b 0%, var(--color-accent) 100%);
}
.cookie-btn.reject {
  background: #e0e7ef;
  color: var(--color-primary);
}
.cookie-btn.reject:hover {
  background: #d1e7dd;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.cookie-btn.settings:hover {
  background: #e6f7f2;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: calc(var(--z-cookie-banner) + 1);
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,50,82,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px 0 rgba(19,50,82,0.18);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalPop 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-size: 1.08rem;
  color: var(--color-primary);
  font-weight: 500;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-actions .cookie-btn {
  min-width: 120px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .feature-grid {
    gap: 18px;
  }
  .content-wrapper {
    gap: 24px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 20px 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 10px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    min-width: 0;
  }
}

/* Utility Classes */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mt-4 { margin-top: 4px !important; }
.mb-4 { margin-bottom: 4px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }

/* Hide scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Accessibility Focus Styles */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Micro-interactions */
a, button, .btn-primary, .cookie-btn {
  transition: var(--transition);
}

/* Prevent overlapping and ensure spacing */
section, .card, .testimonial-card, .feature-grid > div, .faq-accordion > div {
  margin-bottom: 20px;
}

/* Remove last margin in flex containers */
.feature-grid > div:last-child,
.card-container > .card:last-child,
.testimonial-card:last-child,
.faq-accordion > div:last-child {
  margin-bottom: 0;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* End of Arena Puissance CSS */
