/* ----------------------------------------------------------
   ALLIANCE360 — GLOBAL COLORS
----------------------------------------------------------- */
/*
   Bleu principal:                #5A8DC8
   Bleu principal hover:          #507FB8
   Bleu profond titres:           #2C5282
   Bleu secondaire:               #A8C5E8

   Blanc neige:                   #FAFBFC
   Gris doux:                     #F5F7FA
   Gris texte principal:          #4A5568
   Gris texte secondaire:         #A0AEC0
*/


/* ----------------------------------------------------------
   BASE
----------------------------------------------------------- */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #FAFBFC;
    color: #4A5568;
    margin: 0;
    padding: 0;
}

.section {
    padding: 22px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2rem;
    color: #2C5282;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #5A8DC8;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
}


/* ----------------------------------------------------------
   NAVBAR
----------------------------------------------------------- */
.navbar {
    background: #FAFBFC !important;
    border-bottom: 1px solid #E2E8F0;
}

.navbar-brand span {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #2C5282;
}

.nav-link {
    color: #4A5568 !important;
    font-weight: 500;
}

.nav-link:hover {
    color: #2C5282 !important;
}

/* Dropdown langues */
.navbar .dropdown-menu {
    border-radius: 12px;
    padding: 6px 0;
}

.navbar .dropdown-item.active {
    background-color: #A8C5E8;
    color: #2C5282;
    font-weight: 600;
}

.navbar .dropdown-toggle {
    cursor: pointer;
    font-weight: 600;
}


/* ----------------------------------------------------------
   BUTTONS
----------------------------------------------------------- */
.btn-primary {
    background: #F6AD55 !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    border-radius: 10px;
}

.btn-primary:hover {
    background: #507FB8 !important;
}

.btn-outline-primary {
    border-color: #5A8DC8 !important;
    color: #2C5282 !important;
    font-weight: 600;
    border-radius: 10px;
}

.btn-outline-primary:hover {
    background: #A8C5E8 !important;
}


/* ----------------------------------------------------------
   HERO SECTION
----------------------------------------------------------- */
.hero {
    background: #FAFBFC;
    padding: 22px 0 60px;
}

.hero h1 {
    color: #2C5282;
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
}

.hero-image {
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 576px) {
    .hero-image {
        max-width: 85%;
    }
}


/* ----------------------------------------------------------
   GRID FEATURES (4 petites cartes secondaires)
----------------------------------------------------------- */
.feature-grid .feature-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
}

.feature-grid .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.feature-grid h6 {
    font-size: 1rem;
    font-weight: 700;
}

.feature-grid p {
    font-size: 0.95rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #A8C5E8;
    color: #2C5282;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}


/* ----------------------------------------------------------
   AUTRES FONCTIONNALITÉS — TITRE + INTRO
----------------------------------------------------------- */
.feature-other-title {
    font-size: 1.55rem !important;
    font-weight: 700;
    color: #2C5282;
}

.feature-other-intro {
    font-size: 1.15rem !important;
    line-height: 1.6;
    color: #4A5568;
    max-width: 680px;
    margin: 0 auto;
}


/* ----------------------------------------------------------
   FEATURES PRINCIPAUX — CARDS HERO
----------------------------------------------------------- */
.section-features-hero {
    padding-top: 40px;
    padding-bottom: 60px;
}

.feature-hero-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 36px 40px;
    margin-bottom: 40px;
    max-width: 1120px;
    margin: auto;
}

/* Espace vertical entre les cartes des features principaux */
.feature-hero-card {
    margin-bottom: 60px; /* espace plus généreux */
}

/* enlever l’espace sous la dernière carte */
.feature-hero-card:last-child {
    margin-bottom: 20px;
}

.feature-hero-text {
    max-width: 480px;
}

.feature-hero-title {
    color: #2C5282;
    font-weight: 800;
    font-size: 1.7rem;
}

.feature-hero-body {
    font-size: 1.12rem;
    line-height: 1.6;
}

/* Zone visuelle */
.feature-hero-visual {
    position: relative;
    margin-bottom: -20px;
    text-align: center;
    line-height: 0;
}

/* Shape bleue organique */
.feature-shape {
    position: absolute;
    width: 420px;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
    transform: translateX(-50%);
}

/* Téléphones */
.feature-phone-main{
  display: block;
  margin: 0 auto;
  width: min(400px, 100%);   /* <- taille cible (ajuste 420-520 au besoin) */
  height: auto;
  max-width: none;           /* <- on retire le plafond qui peut brider */
}

.feature-phone-secondary {
    position: absolute;
    right: -28px;
    bottom: 0;
    max-width: 150px;
    z-index: 2;
}

/* Icônes flottantes */
.floating-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(168, 197, 232, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #5A8DC8;
    z-index: 3;
}

/* Positions par défaut */
.feature-hero-visual .icon-1 {
    top: 6%;
    left: 8%;
}

.feature-hero-visual .icon-2 {
    bottom: 10%;
    right: 12%;
}

/* Shapes selon features */
.feature-hero-calendar .feature-shape { top: -20px; left: 50%; }
.feature-hero-observations .feature-shape { top: -10px; left: 50%; }
.feature-hero-tasks .feature-shape { top: -10px; left: 40%; }
.feature-hero-location .feature-shape { top: -40px; left: 50%; }


/* ----------------------------------------------------------
   PRICING CARD
----------------------------------------------------------- */
.pricing-card {
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    padding: 32px 28px;
}

/* ----------------------------------------------------------
   CTA / COMMUNITY SIGNUP
----------------------------------------------------------- */
.waitlist-card {
    background: #5A8DC8;
    color: white;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.16);
    padding: 32px 28px;
}

.waitlist-card label {
    color: #EEF3FA;
}

.waitlist-card input[type="email"] {
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}


/* ----------------------------------------------------------
   RESPONSIVE — MOBILE
----------------------------------------------------------- */
@media (max-width: 991px) {
    .feature-phone-secondary {
        display: none !important;
    }

    .feature-hero-card { text-align: center; }

    /* déplacer légèrement l’icône #2 sur mobile */
    .feature-hero-visual .icon-2 {
        bottom: 14%;
        right: 5%;
    }

    .feature-shape {
        width: 300px;
        opacity: 0.8;
    }
}

/* ----------------------------------------------------------
   RESPONSIVE — DESKTOP
----------------------------------------------------------- */
@media (min-width: 992px) {
    /* rapprocher les icônes du téléphone */
    .feature-hero-visual .icon-1 {
        transform: translate(30px, 15px);
    }

    .feature-hero-visual .icon-2 {
        transform: translate(-20px, -10px);
    }
}
