/*
Theme Name: DCS Theme
Author: Cyril Thueux
Version: 1.0
*/

/* BASE */
:root{
  --navy:#062445;
  --navy2:#001b34;
  --gold:#d7aa45;
  --orange:#f59a23;
  --text:#0b2443;
  --light:#f6f8fb;
  --white:#fff;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--light);
  line-height:1.5;
}

main{
  max-width:1200px;
  margin:0 auto;
  padding:50px 25px;
  background:white;
}

a{text-decoration:none;color:inherit}

/* HEADER */
.topbar{
  background:var(--navy2);
  color:white;
  padding:10px 5%;
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:14px;
}

.navbar{
  height:110px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:0 5%;
  background:white;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  position:relative;
  z-index:50;
}

.logo img{
  max-height:70px;
  width:auto;
}

.logo-dcs img{
  max-height:60px;
  width:auto;
}

/* MENU */
.menu ul{
  display:flex;
  align-items:center;
  gap:25px;
  list-style:none;
  margin:0;
  padding:0;
}

.menu li{list-style:none}

.menu a{
  color:var(--navy2);
  font-size:14px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.3px;
  padding:12px 0;
  display:block;
}

.menu a:hover,
.menu .current-menu-item > a{
  color:var(--gold);
}

.menu .current-menu-item > a{
  border-bottom:3px solid var(--gold);
}

/* DROPDOWN COMPTE */
.account-dropdown a{
  display:block;
  padding:13px 16px;
  color:#111;
  font-weight:600;
}

.account-dropdown a:hover{
  background:var(--light);
  color:var(--gold);
}

.account-menu:hover .account-dropdown{
  display:block;
}

/* ICÔNES COMPTE / PANIER */
.header-right{
  display:flex;
  align-items:center;
  gap:30px;
}

.header-icons{
  display:flex;
  align-items:center;
  gap:20px;
}

.header-icon{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:var(--navy);
  font-size:26px;
  min-width:60px;
  transition:.2s;
}

.header-icon span{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  margin-top:4px;
}

.header-icon:hover{
  color:var(--gold);
  transform:translateY(-2px);
}

/* STRUCTURE */
.container{
  max-width:1180px;
  margin:auto;
  padding:0 24px;
}

.section{
  padding:60px 0;
}

.section.alt{
  background:var(--light);
}

/* HERO */
.hero{
  min-height:560px;
  background:
    linear-gradient(90deg,rgba(0,20,40,.84),rgba(0,20,40,.45),rgba(0,20,40,.10)),
    url('https://distributioncorsedusouvenir.fr/wp-content/uploads/2026/06/e34725cc-6779-41d1-8730-a2b8d62738e9-md.jpeg')
    center/cover no-repeat;
  display:flex;
  align-items:center;
  color:white;
  padding:70px 5%;
  text-align:left;
}

.hero-content{
  max-width:660px;
}

.hero h1{
  font-size:58px;
  line-height:1.02;
  margin:0 0 12px;
  font-weight:900;
  color:white !important;
  text-shadow:0 2px 8px rgba(0,0,0,.5);
}

.hero h2{
  font-size:28px;
  color:var(--gold);
  margin:0 0 20px;
}

.hero p{
  font-size:22px;
  margin:0 0 8px;
}

.hero .since{
  font-weight:900;
  margin-top:14px;
}

/* TITRES */
.title{
  text-align:center;
  margin-bottom:35px;
}

.title h2{
  font-size:34px;
  text-transform:uppercase;
  margin:0;
  color:var(--navy);
}

.title::after{
  content:"";
  width:50px;
  height:3px;
  background:var(--gold);
  display:block;
  margin:12px auto;
}

/* BOUTONS */
.btn,
button,
input[type="submit"]{
  display:inline-block;
  padding:15px 24px;
  border-radius:5px;
  font-weight:700;
  text-transform:uppercase;
  border:0;
  cursor:pointer;
}

.btn.gold,
button,
input[type="submit"]{
  background:var(--gold);
  color:white;
}

.btn.outline{
  border:2px solid white;
  color:white;
  background:transparent;
}

.btn:hover,
button:hover,
input[type="submit"]:hover{
  background:var(--navy);
  color:white;
}

/* CARTES */
.card{
  background:white;
  border:1px solid #e9edf3;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.card img{
  width:100%;
  height:205px;
  object-fit:cover;
}

.card-body{
  padding:22px;
}

.card h3{
  margin:0 0 10px;
  text-transform:uppercase;
  font-size:18px;
  text-align:center;
  color:var(--navy);
}

.card h4{
  margin:0 0 10px;
  color:var(--gold);
  text-align:center;
}

.card ul{
  columns:2;
  padding-left:18px;
  margin:0;
  font-size:14px;
}

/* GRILLES */
.universe-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.products{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.partner-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.partner-card{
  text-align:center;
  padding:25px;
  background:white;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.partner-card img{
  max-width:180px;
  height:auto;
}

/* CTA */
.cta{
  background:linear-gradient(135deg,var(--navy),var(--navy2));
  color:white;
  border-radius:12px;
  padding:34px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}

/* FORMULAIRES */
input,
textarea,
select{
  width:100%;
  max-width:100%;
  padding:14px;
  border:1px solid #ccd3dd;
  border-radius:6px;
  font-size:16px;
}

/* FOOTER */
.dcl-footer{
  background:var(--navy2);
  color:white;
  margin-top:60px;
}

.footer-container{
  max-width:1400px;
  margin:auto;
  padding:60px 40px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:50px;
}

.footer-logo{
  height:70px;
  width:auto;
  margin-bottom:15px;
}

.footer-col h3{
  color:white;
  margin-bottom:20px;
  font-size:18px;
}

.footer-col a{
  display:block;
  color:#d8e2f0;
  margin-bottom:10px;
}

.footer-col a:hover{
  color:var(--gold);
}

.footer-col p{
  color:#d8e2f0;
  line-height:1.6;
}

.footer-bottom{
  text-align:center;
  padding:20px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#bfc9d8;
  font-size:14px;
}

.compteur-visites{
  margin-top:20px;
  font-size:14px;
  color:white;
  opacity:.8;
}

/* MOBILE */
@media(max-width:900px){
  .topbar{
    display:none;
  }

  .navbar{
    height:auto;
    padding:20px;
    display:block;
  }

  .menu ul{
    display:block;
    margin-top:20px;
  }

  .menu li{
    margin:12px 0;
  }

  .header-right,
  .header-icons{
    margin-top:15px;
    justify-content:center;
  }

  .hero{
    min-height:500px;
    padding:45px 25px;
  }

  .hero h1{
    font-size:38px;
  }

  .hero p{
    font-size:18px;
  }

  .universe-grid,
  .products,
  .partner-grid,
  .footer-container{
    grid-template-columns:1fr;
  }

  .cta{
    display:block;
    text-align:center;
  }

  main{
    padding:30px 18px;
  }
}
.mobile-menu-toggle{
  display:none !important;
  background:var(--navy) !important;
  color:white !important;
  border:none;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active{
  background:var(--navy) !important;
  color:white !important;
}

.mobile-menu-toggle.open{
  background:var(--gold) !important;
}

@media(max-width:900px){

  .navbar{
    height:auto;
    padding:12px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
  }

  .logo-dcs img{
    max-height:55px;
  }

  .logo-dcl img{
    max-height:42px;
  }

  .mobile-menu-toggle{
    display:block !important;
    font-size:26px;
    padding:7px 12px;
    border-radius:6px;
    margin-left:auto;
  }

  .header-right{
    width:auto !important;
    margin-top:0 !important;
    display:flex;
    align-items:center;
    gap:10px;
  }

  .header-icons{
    margin-top:0 !important;
    display:flex;
    gap:8px;
  }

  .header-icon{
    font-size:20px;
    min-width:auto;
  }

  .header-icon span{
    font-size:9px;
  }

  .menu{
    display:none;
    width:100%;
    order:5;
    background:white;
    margin-top:10px;
  }

  .menu.active{
    display:block;
  }

  .menu ul{
    display:block;
    margin:0;
    padding:0;
  }

  .menu li{
    margin:0;
    border-bottom:1px solid #eee;
  }

  .menu a{
    padding:14px 5px;
  }
}
.footer-map-box {
    margin: 18px 0 22px;
    max-width: 170px;
    text-align: center;
}

.footer-map-title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 16px;
}

.qrcode-map {
    width: 130px !important;
    height: 130px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    background: #fff;
    padding: 6px;
    border-radius: 6px;
}

.footer-map-link {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-map-box {
        margin-left: auto;
        margin-right: auto;
    }
}