/* AlloSociete.com - Main CSS File */

:root{
  --bg:#e9f2f5;--bg-2:#f7fbfc;--ink:#083544;--muted:#5e7884;
  --brand:#0e5a6e;--accent:#d0ac74;--accent-2:#b89156;--line:#cfe0e6;
  --shadow:0 8px 18px rgba(8,53,68,.12);--radius-lg:22px;--maxw:1200px;
  --gutter: clamp(16px, 4vw, 24px);
  --header-h: 72px;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
}

@media (max-width: 959px){ 
  :root{ --header-h:56px; } 
}

/* Base Styles */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding-top:var(--header-h);
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6{color:#0b3e4e;margin:.2em 0}
h1{font-size:clamp(26px,6.2vw,48px);font-weight:800}
h2{font-size:clamp(20px,4.5vw,32px);font-weight:700}
h3{font-size:clamp(18px,3.5vw,24px);font-weight:600}
h4{font-size:clamp(16px,3vw,20px);font-weight:600}

p{margin:0 0 1em;line-height:1.7}
.lead{font-size:1.2em;color:var(--muted);margin-bottom:2em}

a{color:var(--brand);text-decoration:none;transition:color 0.2s ease}
a:hover{color:var(--accent-2)}
a:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:10px}

.container{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}

/* Global centering */
main, .section, .hero, .hero-page, .cta, .faq, footer{ text-align:center }

/* Header / Navigation */
header{
  position:fixed;
  inset:0 0 auto 0;
  height:var(--header-h);
  background:#fff;
  border-bottom:1px solid var(--line);
  z-index:1000;
  backdrop-filter: blur(10px);
}

.bar{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--brand);
  font-size:1.2em;
}

.logo{
  display:inline-flex;
  align-items:baseline;
  gap:4px;
  color:var(--brand);
}

.logo .dot{color:#b99159}

.burger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  transition:all 0.2s ease;
}

.burger:hover{background:var(--bg)}

.burger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--ink);
  position:relative;
  transition:all 0.3s ease;
}

.burger span::before,.burger span::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:var(--ink);
  transition:all 0.3s ease;
}

.burger span::before{top:-6px}
.burger span::after{top:6px}

/* Burger animation */
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{transform:rotate(45deg);top:0}
.burger[aria-expanded="true"] span::after{transform:rotate(-45deg);top:0}

nav{
  position:fixed;
  inset:var(--header-h) 0 auto 0;
  display:none;
  flex-direction:column;
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:8px var(--gutter) 12px;
  box-shadow:0 10px 24px rgba(8,53,68,.08);
}

nav.open{
  display:flex;
  animation:drop .18s ease-out both;
}

nav a{
  padding:12px 14px;
  border-radius:10px;
  color:var(--ink);
  font-weight:600;
  transition:all 0.2s ease;
}

nav a:hover{background:var(--bg);color:var(--brand)}
nav a[aria-current="page"]{background:#eaf4f7;border:1px solid #d7e8ee;color:var(--brand)}

.cta-mini{
  align-self:center;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  padding:10px 16px;
  border-radius:999px;
  color:#1e1202;
  font-weight:800;
  border:1px solid #b99159;
  transition:transform 0.2s ease;
}

.cta-mini:hover{transform:translateY(-2px)}

@keyframes drop{
  from{opacity:0;transform:translateY(-8px)} 
  to{opacity:1;transform:translateY(0)}
}

@media (min-width:960px){
  .burger{display:none}
  nav{
    all:unset;
    display:flex;
    gap:6px;
    align-items:center;
  }
  nav a{padding:10px 12px}
  .cta-mini{margin-left:6px}
}

/* Breadcrumbs */
.breadcrumbs{
  background:var(--bg-2);
  border-bottom:1px solid var(--line);
  padding:12px 0;
  font-size:14px;
}

.breadcrumbs ol{
  display:flex;
  list-style:none;
  margin:0;
  padding:0;
  gap:8px;
}

.breadcrumbs li:not(:last-child)::after{
  content:"›";
  margin-left:8px;
  color:var(--muted);
}

.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--brand)}

/* Hero Sections */
.hero, .hero-page{
  padding:60px 0;
  background:linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
}

.hero-image{
  margin-top:40px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.hero-image img{
  width:100%;
  height:auto;
  display:block;
}

/* Buttons */
.actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin:24px 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  padding:14px 20px;
  border-radius:12px;
  font-weight:700;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  text-decoration:none;
  color:var(--ink);
  transition:all 0.2s ease;
  cursor:pointer;
  font-size:16px;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(8,53,68,.15);
}

.btn-primary{
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#1e1202;
  border:1px solid #b99159;
}

.btn-outline{
  background:transparent;
  border:2px solid var(--brand);
  color:var(--brand);
}

.btn-outline:hover{
  background:var(--brand);
  color:#fff;
}

.btn-full{width:100%}

/* Sections */
.section{
  padding:80px 0;
}

.bg-light{
  background:var(--bg-2);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* Grid System */
.grid{
  display:grid;
  gap:24px;
  margin-top:40px;
}

.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}

@media(min-width:768px){
  .grid-2{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid{grid-template-columns:repeat(2,1fr)}
}

@media(min-width:1024px){
  .grid{grid-template-columns:repeat(4,1fr)}
}

/* Cards */
.card{
  background:var(--bg-2);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow);
  text-align:left;
  transition:all 0.3s ease;
  position:relative;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 32px rgba(8,53,68,.15);
}

.card h3{
  margin-top:0.5em;
  font-size:20px;
  color:var(--brand);
}

.card-badge{
  position:absolute;
  top:-8px;
  right:16px;
  background:var(--accent);
  color:#1e1202;
  padding:4px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.card-link{
  display:inline-flex;
  align-items:center;
  margin-top:16px;
  color:var(--brand);
  font-weight:600;
  text-decoration:none;
}

.card-link:hover{color:var(--accent-2)}

/* Pricing Cards */
.pricing-card{
  text-align:center;
}

.pricing-card.featured{
  border:2px solid var(--accent);
  transform:scale(1.05);
}

.card-header{
  margin-bottom:24px;
}

.price{
  font-size:2.5em;
  font-weight:800;
  color:var(--brand);
  margin:8px 0;
}

.price span{
  font-size:0.4em;
  color:var(--muted);
}

.price-detail{
  color:var(--muted);
  font-size:14px;
}

.price-large{
  font-size:2em;
  font-weight:800;
  color:var(--brand);
  text-align:center;
  margin:16px 0;
}

/* Features Lists */
.features{
  list-style:none;
  padding:0;
  margin:16px 0;
}

.features li{
  padding:8px 0;
  border-bottom:1px solid var(--line);
  color:var(--muted);
}

.features li:last-child{border-bottom:none}

/* Chips */
.chip{
  display:inline-block;
  margin:4px 6px 0 0;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #d6e6eb;
  background:#f8fbfc;
  color:#3a6170;
  font-size:12px;
  font-weight:500;
}

/* Meta badges */
.meta{
  display:flex;
  justify-content:center;
  gap:16px;
  color:#355d6b;
  margin-top:16px;
  flex-wrap:wrap;
  font-size:14px;
}

/* Process Steps */
.process-steps{
  display:grid;
  gap:32px;
  margin-top:40px;
}

.step{
  display:flex;
  align-items:flex-start;
  gap:20px;
  text-align:left;
}

.step-number{
  flex-shrink:0;
  width:48px;
  height:48px;
  background:var(--accent);
  color:#1e1202;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:18px;
}

.step h3{
  margin-top:0;
  color:var(--brand);
}

@media(min-width:768px){
  .process-steps{grid-template-columns:repeat(2,1fr)}
}

@media(min-width:1024px){
  .process-steps{grid-template-columns:repeat(3,1fr)}
}

/* Timeline */
.timeline{
  position:relative;
  max-width:800px;
  margin:40px auto;
}

.timeline::before{
  content:'';
  position:absolute;
  left:24px;
  top:0;
  bottom:0;
  width:2px;
  background:var(--line);
}

.timeline-item{
  position:relative;
  margin-bottom:40px;
  padding-left:80px;
}

.timeline-marker{
  position:absolute;
  left:0;
  top:0;
  width:48px;
  height:48px;
  background:var(--accent);
  color:#1e1202;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  border:4px solid #fff;
  box-shadow:var(--shadow);
}

.timeline-content{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:var(--shadow);
  text-align:left;
}

.timeline-duration{
  color:var(--accent-2);
  font-weight:600;
  font-size:14px;
  margin-top:8px;
}

/* Testimonials */
.testimonials .grid{grid-template-columns:1fr}

@media(min-width:768px){ 
  .testimonials .grid{grid-template-columns:repeat(2,1fr)} 
}

@media(min-width:1024px){ 
  .testimonials .grid{grid-template-columns:repeat(4,1fr)} 
}

.tcard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-align:center;
  transition:transform 0.2s ease;
}

.tcard:hover{transform:translateY(-4px)}

.agg-rating{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:16px 0 32px;
}

.agg-rating .stars{font-size:20px;color:#fbbf24}
.agg-rating .score{font-weight:800;color:#0b3e4e;font-size:18px}
.agg-rating .count{color:var(--muted);font-size:14px}

.stars{font-size:16px;letter-spacing:1px;color:#fbbf24}
.tname{font-weight:800;color:var(--brand)}
.trole{color:#5e7884;font-size:13px;margin-top:-4px}
.tquote{font-style:italic;color:#345a68;line-height:1.5}

/* CTA Section */
.cta{
  background:linear-gradient(135deg, #f6fafc 0%, #eaf4f7 100%);
  padding:60px 0;
  text-align:center;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* FAQ */
.faq{
  padding:80px 0;
  background:#fff;
}

.faq-item{
  max-width:800px;
  margin:0 auto 24px;
  text-align:left;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}

.faq-item h3{
  font-size:18px;
  cursor:pointer;
  position:relative;
  padding:20px 50px 20px 20px;
  margin:0;
  background:var(--bg-2);
  transition:background 0.2s ease;
}

.faq-item h3:hover{background:var(--bg)}

.faq-item h3::after{
  content:'+';
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  font-size:24px;
  color:var(--brand);
  transition:transform 0.2s ease;
}

.faq-item.active h3::after{
  transform:translateY(-50%) rotate(45deg);
}

.faq-item p{
  display:none;
  margin:0;
  padding:20px;
  color:var(--muted);
  border-top:1px solid var(--line);
}

.faq-item.active p{display:block}

.faq-grid{
  display:grid;
  gap:24px;
  margin-top:40px;
}

@media(min-width:768px){
  .faq-grid{grid-template-columns:repeat(2,1fr)}
}

/* Tables */
.pricing-table, .comparison-table{
  overflow-x:auto;
  margin:40px 0;
}

.pricing-table table, .comparison-table table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.pricing-table th, .comparison-table th,
.pricing-table td, .comparison-table td{
  padding:16px;
  text-align:left;
  border-bottom:1px solid var(--line);
}

.pricing-table th, .comparison-table th{
  background:var(--bg-2);
  font-weight:700;
  color:var(--brand);
}

.price-row{
  background:var(--bg-2);
  font-weight:700;
}

/* Forms */
.contact-form{
  background:#fff;
  padding:32px;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  text-align:left;
}

.form-group{
  margin-bottom:20px;
}

.form-row{
  display:grid;
  gap:16px;
  grid-template-columns:1fr;
}

@media(min-width:768px){
  .form-row{grid-template-columns:1fr 1fr}
}

.form-group label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
  color:var(--brand);
}

.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:16px;
  transition:border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(14,90,110,0.1);
}

.checkbox-group{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.checkbox-label{
  display:flex;
  align-items:flex-start;
  gap:8px;
  cursor:pointer;
  font-size:14px;
  line-height:1.5;
}

.checkbox-label input[type="checkbox"]{
  width:auto;
  margin:0;
}

/* Contact Info */
.contact-item{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-bottom:32px;
  text-align:left;
}

.contact-icon{
  font-size:24px;
  width:40px;
  flex-shrink:0;
}

.contact-detail{
  color:var(--muted);
  font-size:14px;
  margin:4px 0 0 0;
}

/* Team */
.team-member{
  text-align:center;
}

.member-photo{
  width:120px;
  height:120px;
  border-radius:50%;
  overflow:hidden;
  margin:0 auto 16px;
  box-shadow:var(--shadow);
}

.member-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.member-role{
  color:var(--accent-2);
  font-weight:600;
  margin:4px 0 12px;
}

.member-bio{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* Stats */
.stats-grid{
  display:grid;
  gap:32px;
  margin-top:40px;
  grid-template-columns:repeat(2,1fr);
}

@media(min-width:768px){
  .stats-grid{grid-template-columns:repeat(4,1fr)}
}

.stat-item{
  text-align:center;
}

.stat-number{
  font-size:3em;
  font-weight:800;
  color:var(--brand);
  display:block;
}

.stat-label{
  color:var(--muted);
  font-weight:600;
  margin-top:8px;
}

/* Advantages */
.advantages-grid{
  display:grid;
  gap:24px;
  margin-top:40px;
}

@media(min-width:768px){
  .advantages-grid{grid-template-columns:repeat(2,1fr)}
}

.advantage-item{
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:var(--shadow);
  text-align:left;
}

.advantage-item h3{
  margin-top:0;
  color:var(--brand);
}

/* Services Grid */
.services-grid{
  display:grid;
  gap:32px;
  margin-top:40px;
  grid-template-columns:repeat(2,1fr);
}

@media(min-width:768px){
  .services-grid{grid-template-columns:repeat(3,1fr)}
}

.service-item{
  text-align:center;
  padding:24px;
}

.service-icon{
  font-size:48px;
  margin-bottom:16px;
  display:block;
}

/* Legal Content */
.legal-content{
  text-align:left;
  max-width:800px;
  margin:0 auto;
}

.legal-content h2{
  color:var(--brand);
  border-bottom:2px solid var(--line);
  padding-bottom:8px;
  margin-top:48px;
}

.legal-content h3{
  color:var(--brand);
  margin-top:32px;
}

.legal-info{
  background:var(--bg-2);
  padding:20px;
  border-radius:8px;
  border-left:4px solid var(--accent);
  margin:16px 0;
}

.contact-legal{
  background:var(--bg-2);
  padding:20px;
  border-radius:8px;
  margin:16px 0;
}

.last-update{
  text-align:center;
  margin-top:48px;
  color:var(--muted);
}

/* Footer */
footer{
  background:#fff;
  border-top:1px solid var(--line);
  padding:48px 0 24px;
  text-align:left;
}

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

@media(min-width:768px){
  .footer-content{grid-template-columns:repeat(3,1fr)}
}

.footer-section h4{
  color:var(--brand);
  margin-bottom:16px;
  font-size:16px;
}

.footer-section ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-section li{
  margin-bottom:8px;
}

.footer-section a{
  color:var(--muted);
  font-size:14px;
  transition:color 0.2s ease;
}

.footer-section a:hover{color:var(--brand)}

.footer-bottom{
  text-align:center;
  padding-top:24px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
}

/* Animations */
@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.animate-fade-in{
  animation:fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .section{padding:60px 0}
  .hero, .hero-page{padding:40px 0}
  .grid{gap:20px}
  .card{padding:20px}
  .actions{flex-direction:column;align-items:center}
  .btn{width:100%;max-width:280px}
  .meta{flex-direction:column;gap:8px}
  .timeline{margin:20px auto}
  .timeline-item{padding-left:60px}
  .timeline-marker{width:40px;height:40px;font-size:14px}
  .process-steps{grid-template-columns:1fr}
  .step{flex-direction:column;text-align:center}
}

/* Print styles */
@media print {
  header, .breadcrumbs, .cta, footer {display: none}
  body {padding-top: 0}
  .section {padding: 20px 0}
  * {box-shadow: none !important}
}

