:root {
    --color-bg-dark: #0F1113;
    --color-bg-dark-soft: #111827;
    --color-primary: #F57C00; /* doré */
    --color-primary-soft: rgba(245, 124, 0, 0.15);
    --color-text-light: #F9FAFB;
    --color-text-muted: #CBD5E1;
    --color-border-soft: rgba(255, 255, 255, 0.10);
    --color-border-neutral: #E5E7EB;
    --color-bg-card: #FFFFFF;
    --color-text-main: #111827;

    --radius-lg: 1.5rem;
    --radius-md: 0.9rem;

    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.35);

    --glass-bg: rgba(248, 250, 252, 0.82);
    --glass-border: rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--color-text-main);
    background: #fff;
}

/* Container générique */
.container {
    width: min(1120px, 100% - 3rem);
    margin-inline: auto;
}

/* =========================
   TOPBAR (semi-transparente)
   ========================= */
.topbar {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;

    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.topbar-container {
    width: min(1200px, 100% - 3rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

/* Brand */
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-logo img {
    height: 42px;
    display: block;
}

.topbar-title {
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.title-eureka {
    font-size: 1.25rem;
    font-weight: 900;
    color: #2AA6A9;
    text-transform: uppercase;
}
.title-mayotte {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
    letter-spacing: 0.4px;
}

/* Desktop nav */
.topbar-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.topbar-nav a {
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding-bottom: 4px;
}

.topbar-nav a:hover {
    color: #111827;
}

.topbar-nav a.active {
    color: #1F8F92;
    position: relative;
}

.topbar-nav a.active::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #F57C00;
    border-radius: 2px;
}

/* =========================
   Mobile menu (CSS only)
   ========================= */
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* hamburger */
.nav-toggle-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.12);
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.10);
}

.nav-toggle-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: #0f172a;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
}

/* backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 998;
}

/* mobile card menu */
.mobile-nav-card {
    position: fixed;
    right: 1rem;
    top: 4.75rem;
    width: min(360px, calc(100% - 2rem));
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.9rem;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    z-index: 999;
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .35rem .35rem .7rem;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.mobile-nav-titles {
    display: grid;
    line-height: 1.05;
}
.m-eureka {
    font-weight: 900;
    color: #2AA6A9;
    text-transform: uppercase;
    font-size: .95rem;
}
.m-mayotte {
    font-weight: 500;
    color: #475569;
    font-size: .85rem;
}

.mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.12);
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    user-select: none;
}

.mobile-nav-links {
    list-style: none;
    padding: .85rem .35rem .35rem;
    margin: 0;
    display: grid;
    gap: .35rem;
}

.mobile-nav-links a {
    display: block;
    padding: .8rem .85rem;
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(15,23,42,0.08);
}

.mobile-nav-links a:hover {
    background: rgba(255,255,255,0.85);
}

.mobile-nav-links a.active {
    border-color: rgba(212,175,55,0.45);
    box-shadow: 0 14px 30px rgba(212,175,55,0.18);
}

.mobile-nav-cta {
    margin-top: .4rem;
}

/* Quand menu ouvert */
.nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}
.nav-toggle:checked ~ .mobile-nav-card {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* animation hamburger -> X */
.nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked + .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
}
.nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================= HERO CONTACT ================= */
.hero-contact {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    background: linear-gradient(135deg, #0F1113 0%, #111827 45%, #0B1220 100%);
    color: var(--color-text-light);
    overflow: hidden;
}

.hero-contact-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0, rgba(245, 124, 0, 0.18) 0, transparent 50%),
        radial-gradient(circle at 90% 100%, rgba(42, 166, 169, 0.22) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-contact::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245,124,0,0.22) 0%, transparent 70%);
    z-index: 0;
}

.hero-contact-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
    z-index: 1;
}

.hero-contact-text { max-width: 560px; }

.hero-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-contact-title {
    font-size: clamp(2.1rem, 2.7vw + 1.6rem, 2.8rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.hero-contact-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 1.4rem;
}

.hero-contact-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.4rem;
    font-size: 0.98rem;
    color: var(--color-text-light);
}

.hero-contact-points li::before {
    content: "•";
    color: var(--color-primary);
    margin-right: 0.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FDBA74, #F57C00);
    color: #111827;
    box-shadow: 0 16px 30px rgba(245, 124, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(245, 124, 0, 0.45);
}

.btn-block { width: 100%; }

.hero-contact-illustration {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
}

.hero-contact-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hero-contact-illustration:hover .hero-contact-image {
    transform: scale(1.05);
}

/* ================= SECTION CONTACT ================= */
.contact-section {
    padding: 4.5rem 0 4.5rem;
    background: #f3f4f6;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 2.8rem;
    align-items: flex-start;
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-header { margin-bottom: 1.6rem; }

.contact-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.contact-intro {
    font-size: 0.95rem;
    color: #4b5563;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 0.85rem;
    border: 1px solid #d1d5db;
    padding: 0.75rem 0.85rem;
    font-size: 0.94rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    background-color: #F57C00;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2AA6A9;
    box-shadow: 0 0 0 4px rgba(42, 166, 169, 0.16);
    background-color: #f9fafb;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group-inline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.6rem;
}

.form-group-inline input[type="checkbox"] { margin-top: 0.25rem; }

.label-inline {
    font-size: 0.86rem;
    color: #4b5563;
}

.form-helper {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Infos contact */
.contact-infos {
    display: grid;
    gap: 1rem;
}

.contact-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.4rem 1.35rem;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-card-accent {
    background: #0f172a;
    border-color: rgba(245, 124, 0, 0.60);
    color: var(--color-text-light);
}

.contact-card-accent .contact-card-title { color: var(--color-text-light); }
.contact-card-accent .contact-card-text { color: var(--color-text-muted); }

.contact-card-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #111827;
}

.contact-card-text {
    font-size: 0.9rem;
    color: #4b5563;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.contact-label {
    display: block;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 0.1rem;
}

.contact-value { color: #111827; }
.contact-card-accent .contact-label { color: var(--color-text-muted); }

.contact-list a {
    text-decoration: none;
    color: #1F8F92;
}
.contact-list a:hover { text-decoration: underline; }

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: #0F1113;
  color: #F9FAFB;
  padding-top: 60px;
  padding-bottom: 20px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo { width: 120px; margin-bottom: 10px; }
.footer-brand p { color: #CBD5E1; line-height: 1.6; }

.footer-nav h3,
.footer-contact h3 {
  color: #2AA6A9;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li,
.footer-contact ul li { margin: 6px 0; }

.footer-nav a,
.footer-contact a {
  color: #F9FAFB;
  text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover { color: #2AA6A9; }

.site-footer .social-links li a { color: #2AA6A9; }
.site-footer .social-links li a:hover { color: #F57C00; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #94A3B8;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a { color: #2AA6A9; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

.social-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-inline {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

/* Liens footer: gras + petite anim */
.site-footer a{
  font-weight: 600;
  transition: color .25s ease, transform .25s ease;
}
.site-footer a:hover{
  transform: translateX(4px);
  color: #F57C00;
}

/* ================= Responsive ================= */
@media (max-width: 960px) {
    .hero-contact-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-contact-illustration {
        max-width: 460px;
        margin-inline: auto;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    /* show hamburger, hide desktop nav */
    .nav-toggle-btn { display: inline-flex; }
    .topbar-nav { display: none; }
}

@media (max-width: 640px) {
    .hero-contact {
        padding: 4rem 0 3.5rem;
    }

    .contact-section {
        padding: 3.5rem 0 3.5rem;
    }

    .contact-form-wrapper {
        padding: 1.6rem 1.35rem;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .container {
        width: min(100% - 2rem, 100%);
    }
}

/* Footer mobile 1 colonne */
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
  .footer-brand{ order: 1; }
  .footer-nav{ order: 2; }
  .footer-contact{ order: 3; }
  .site-footer{
    padding-top: 40px;
    padding-bottom: 18px;
  }
  .social-inline{
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* =====================================================
   HERO CONTACT – MOBILE : IMAGE EN BACKGROUND
   (ne change pas les couleurs du texte)
===================================================== */
@media (max-width: 960px){

  /* Le conteneur devient le repère */
  .hero-contact-content{
    position: relative;
    grid-template-columns: 1fr;
    overflow: hidden;
    min-height: 520px; /* ajuste si besoin */
  }

  /* L'image passe en arrière-plan */
  .hero-contact-illustration{
    position: absolute;
    inset: 0;
    z-index: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border: 0;
  }

  .hero-contact-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45); /* contraste sans changer le texte */
    transform: none;          /* évite l'effet hover/scale en mobile */
  }

  /* Le texte reste au-dessus */
  .hero-contact-text{
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 28px 0;
  }
}

