/* =========================================================
   AMONGIA — style.css
   Base desktop / visual design
========================================================= */

:root{
  --navy:#032E25;
  --navy-2:#030E25;
  --blue:#0b61d8;
  --gold:#f2a500;
  --gold-2:#ffb31a;
  --white:#fff;
  --card:#f5f5f2;
  --text:#0b1b40;
  --muted:#d8e0ec;
  --green:#16874d;
  --purple:#3720a5;
  --radius:14px;
  --shadow:0 8px 24px rgba(0,0,0,.18);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:#071B44;
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.5;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.section{padding:34px 0}

.site-header{
  position:absolute;
  z-index:20;
  inset:0 0 auto;
  background:linear-gradient(180deg,rgba(1,10,27,.72),rgba(1,10,27,0));
}
.header-container{
  min-height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}
.logo{flex:0 0 auto}
.logo img{width:210px;height:70px;object-fit:contain}
.main-navigation{margin-left:auto}
.main-navigation ul{
  list-style:none;
  display:flex;
  gap:48px;
  padding:0;
  margin:0;
  align-items:center;
}
.main-navigation a{
  position:relative;
  color:#fff;
  text-transform:uppercase;
  font-size:15px;
  font-weight:700;
  padding:15px 0;
}
.main-navigation a.active,
.main-navigation a:hover{color:var(--gold-2)}
.main-navigation a.active:after{
  content:"";
  position:absolute;
  height:3px;
  left:0;right:0;bottom:1px;
  background:var(--gold);
}
.hero{
  min-height:440px;
  position:relative;
  overflow:hidden;
  background:#061a3d url("/images/hero.webp") center right/cover no-repeat;
}
@media (min-width:1100px){
  .hero{
    background-image:url("/images/hero-large.webp?v=3");
  }
}
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(3,15,39,.82) 0%,rgba(3,15,39,.42) 42%,rgba(3,15,39,.03) 75%);
}
.hero-container{position:relative;z-index:2;min-height:440px;display:flex;align-items:center}
.hero-content{padding-top:62px;max-width:570px;color:#fff}
.hero h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:60px;
  line-height:1.02;
  letter-spacing:-1.5px;
}
.hero h1 span{display:block}
.hero h1 strong{
  display:block;
  color:var(--gold-2);
  font-weight:700;
}
.gold-divider{
  margin:27px 0 14px;
  display:flex;
  align-items:center;
  gap:11px;
  color:var(--gold);
}
.gold-divider span{width:32px;height:2px;background:var(--gold)}
.gold-divider b{font-size:16px}
.hero p{font-size:18px;line-height:1.55;margin:0;color:#fff}

.featured-products{background:var(--navy-2);padding-top:0}
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.product-card{
  margin-top:-2px;
  background:var(--card);
  border-radius:14px;
  overflow:hidden;
  padding:0 14px 15px;
  text-align:center;
  box-shadow:0 7px 18px rgba(0,0,0,.2);
}
.product-image{
  height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.product-image img{width:100%;height:100%;object-fit:contain}
.product-card h2{
  min-height:49px;
  margin:5px 0 3px;
  font-size:20px;
  line-height:1.15;
}
.product-card p{margin:0 0 13px;color:#555;font-size:15px}
.blue-text{color:#0b42b6!important}
.button{
  min-height:42px;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:9px;
  color:#fff;
  font-weight:700;
  font-size:13px;
  padding:9px 12px;
  transition:transform .18s ease,filter .18s ease;
}
.button:hover{transform:translateY(-2px);filter:brightness(1.06)}
.shop-button{background:#e89400}
.play-button{background:linear-gradient(90deg,#3d1aa0,#291285)}
.web-button{background:var(--green)}

.google-play{background:var(--navy-2);padding-top:20px}
.google-play-banner{
  position:relative;
  min-height:112px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:13px;
  display:flex;
  align-items:center;
  padding:17px 24px;
  overflow:hidden;
  background:linear-gradient(90deg,rgba(6,26,61,.95),rgba(6,34,78,.82));
}
.google-play-content{display:flex;align-items:center;gap:18px;max-width:720px}
.google-play-content img{width:60px;height:60px}
.google-play-content h2{
  margin:0 0 4px;
  color:#fff;
  font-size:18px;
}
.google-play-content h2 span{color:#fff}
.google-play-content p{margin:0;color:#d9e1ef;font-size:14px}
.play-banner-button{
  margin-left:auto;
  margin-right:260px;
  white-space:nowrap;
  background:#2e1697;
}
.phone{
  position:absolute;
  right:-8px;
  bottom:-86px;
  width:260px;
  height:auto;
  filter:drop-shadow(0 8px 8px rgba(0,0,0,.35));
}

.coming-soon{background:var(--navy-2);padding-top:22px}
.section-heading{
  display:flex;
  align-items:center;
  gap:13px;
  justify-content:center;
  margin:0 0 14px;
}
.section-heading span{
  width:70px;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--gold));
}
.section-heading span:last-child{background:linear-gradient(90deg,var(--gold),transparent)}
.section-heading h2{margin:0;color:var(--gold-2);font-size:16px;letter-spacing:.5px}
.future-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:12px}
.future-card{
  background:var(--card);
  border-radius:14px;
  padding:14px;
  min-height:250px;
  position:relative;
}
.future-title{display:flex;align-items:center;gap:9px;min-height:29px}
.future-title h2{font-size:16px;margin:0;color:#1b2b4a}
.future-icon{color:#e89400;font-size:25px}
.status,.dev-status{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  border-radius:10px;
  padding:4px 8px;
  margin-top:5px;
  background:#ffe3ba;
  color:#e47d00;
}
.dev-status{margin:0 0 0 auto;background:#ddd9fb;color:#4b3cc0}
.future-body{
  display:grid;
  grid-template-columns:145px 1fr;
  gap:14px;
  align-items:center;
  margin-top:10px;
}
.future-body img{width:145px;height:145px;object-fit:cover;border-radius:9px}
.ilapolis-card .future-body img{
  height:145px;
  object-fit:contain;
}
/*
.ilapolis-card .future-body img{
  height:auto;
  object-fit:contain;
}
.ilapolis-card{
  display:flex;
  flex-direction:column;
}
.ilapolis-card .text-link{
  margin-top:auto;
}*/
.future-body p{font-size:13px;margin:0 0 10px}
.future-body ul{list-style:none;margin:0;padding:0;font-size:12px}
.future-body li{margin:7px 0}
.future-body li:before{content:"✓";color:#e89400;font-weight:700;margin-right:7px}
.catalogue-copy{padding:8px 0}
.text-link{
  display:inline-block;
  margin-top:10px;
  color:#e89400;
  font-size:12px;
  font-weight:700;
}
.purple-link{color:#3420aa}

.social-links{background:var(--navy-2);padding-top:15px;padding-bottom:20px}
.social-layout{display:flex;align-items:center;gap:25px}
.social-icons{
  flex:1;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}
.social-icons a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  color:#fff;
  font-size:12px;
}
.social-icons img{
  width:58px;
  height:58px;
  object-fit:contain;
}
.information-card{
  width:245px;
  min-height:84px;
  background:var(--card);
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:13px 16px;
  color:var(--text);
}
.info-symbol{
  font-family:Georgia,serif;
  font-size:46px;
  line-height:1;
  color:#e69a00;
  font-style:italic;
}
.information-card strong{display:block;font-size:14px}
.information-card small{display:block;font-size:12px;margin-top:4px}
.information-card .arrow{margin-left:auto;color:#e69a00;font-size:23px}

.information{
  background:linear-gradient(180deg,#061b3d,#04152f);
  color:#fff;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
}
.information h2{margin:0 0 7px}
.information p{margin:0 auto 15px;color:#d7dfeb}
.button-primary{background:#d98a00;display:inline-flex;padding-inline:20px}

.site-footer{
  color:#fff;
  background:#02022a;
  border-top:1px solid rgba(255,255,255,.08);
  padding:25px 0 10px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr .75fr 1.15fr 1fr .8fr;
  gap:26px;
}
.footer-logo img{width:190px;height:auto}
.footer-brand p,.site-footer p{font-size:12px;color:#d6deeb}
.site-footer h3{font-size:12px;margin:5px 0 13px;color:#fff}
.site-footer> .container:not(.footer-grid) a,
.footer-grid>div>a{display:block;font-size:12px;margin:8px 0;color:#eef2f8}
.footer-grid>div>a.footer-language{
  display:flex;
  align-items:center;
  gap:8px;
}
.footer-language .language-flag{width:24px;height:16px}
.footer-social{display:flex;gap:7px;margin-top:10px}
.footer-social a{
  width:24px;height:24px;border:1px solid rgba(255,255,255,.35);
  border-radius:50%;display:flex!important;align-items:center;justify-content:center;
  font-size:11px!important;margin:0!important;
}
.footer-contact{
  display:inline-block!important;
  border:1px solid #d88b00;
  border-radius:7px;
  color:#f3a500!important;
  padding:7px 12px;
  margin-top:6px!important;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:16px;
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#d0d9e6;
  font-size:11px;
}


/* --- Affichage uniforme des images des cartes --- */
.product-card .product-image{
  height:220px;
  padding:12px 8px 0;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  overflow:hidden;
}
.product-card .product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center top;
}

/* --- Logo AMONGIA : sceau + nom, sans dépendre d'un SVG manquant --- */
.brand-lockup{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-lockup > img{
  width:58px;
  height:58px;
  object-fit:contain;
  flex:0 0 58px;
}
.brand-wordmark{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-wordmark strong{
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  letter-spacing:.4px;
}
.brand-wordmark small{
  color:#f2a500;
  font-size:9px;
  font-weight:700;
  margin-top:6px;
  letter-spacing:.2px;
}
.footer-logo.brand-lockup > img{width:48px;height:48px;flex-basis:48px}
.footer-logo .brand-wordmark strong{font-size:24px}
.footer-logo .brand-wordmark small{font-size:8px}

/* Mobile language dropdown */
@media (max-width:760px){
  .language-selector.open .language-menu{display:block}
  .brand-lockup > img{width:72px;height:72px;flex-basis:72px}
  .brand-wordmark strong{font-size:25px}
  .brand-wordmark small{font-size:8px}
}

@media (max-width:360px){
  .brand-lockup > img{width:56px;height:56px;flex-basis:56px}
}
.language-selector{
  position:relative;
  z-index:30;
}

.language-current{
  color:#fff;
  border:1px solid rgba(255,255,255,.5);
  border-radius:9px;
  padding:9px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

.chevron{
  font-size:16px;
  margin-left:2px;
}
.language-menu{
  display:none;
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  min-width:175px;
  padding:6px;
  border-radius:8px;
  background:#071a39;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:var(--shadow);
  z-index:40;
}
.language-menu a{
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
  padding:9px;
  border-radius:5px;
  white-space:nowrap;
}

.language-menu a:hover{
  background:rgba(255,255,255,.1);
}
.language-flag{
  width:32px;
  height:21px;
  object-fit:cover;
  flex:0 0 auto;
  border-radius:1px;
  transform:perspective(80px) rotateY(-10deg) skewY(-2deg);
  box-shadow:2px 2px 3px rgba(0,0,0,.25);
}
.language-selector{
  position:relative;
  z-index:30;
}

.language-current{
  color:#fff;
  border:1px solid rgba(255,255,255,.5);
  border-radius:9px;
  padding:9px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  cursor:pointer;
}

.chevron{
  font-size:16px;
  margin-left:2px;
}
.language-menu{
  display:none;
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  min-width:175px;
  padding:6px;
  border-radius:8px;
  background:#071a39;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:var(--shadow);
  z-index:40;
}
.language-menu a{
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
  padding:9px;
  border-radius:5px;
  white-space:nowrap;
}

.language-menu a:hover{
  background:rgba(255,255,255,.1);
}
.language-selector::after{
  content:"";
  position:absolute;
  top:100%;
  right:0;
  width:100%;
  height:8px;
}
.language-selector:hover .language-menu{
  display:block;
}
.language-selector.open .language-menu{
  display:block;
}

/* Smaller flags keep the mobile header compact. */
@media (max-width:760px){
  .language-flag{
    width:24px;
    height:16px;
  }
}
